iis

Are you using Virtual Machine as your primary development enviroment?

Recently I have purchased a notebook that cames with Windows Home Basic (that don't have with ASP.Net/IIS. I thought in upgrade the Windows version to one with ASP.Net/IIS, but I thought in another possibility: I have an Hard Disk Case with a 360Gb HD. I thought in create a virtual machine with Windows Ultimate (installing too ASP.Net, ...

How do I setup IIS 6 with anonymous access for local asp.net webforms development ?

When I setup IIS6 to develop projects locally I have to enable "Integrated Windows Authentication" under directory security in order for my CSS & Images to show up. (Note: I have double checked that network service has rights to all directories in my web application) However this often causes my browser to prompt me for windows login us...

Can I use a single BIN folder for several ASP.NET applications?

Keep in mind that I don't want to use the GAC since my assemblies are frequently updated and I do not wish to register them after each update. ...

Is there a way to dump IIS's virtual SMTP server's correspondance to a file?

I only need the outbound communication to be dumped for analyzing. ...

Time as a determining value

Hello, I have a section of code that is being used to determine if a certain event should happen. The code looks like this. If (Date.Now.Ticks Mod 100) < 4 Then Return True Else Return False End If The idea here is that this event should happen 4 time out of 100, or 4%. However, in prod...

Paste an image from clipboard doesnt work when web application is configured thro IIS

Hi All, Am creating a web based application using ASP.NET v2.0. I have an urgent requirement in my project - to have a control in my web page that would allow the users to enter text or copy paste image from the clipboard (say a snapshot). In order to achieve the same i have tried using the windows clipboard class in web forms and ret...

IIS & ASP.NET blocking file

Hi I have an ASP.NET app running in IIS that is hosting files all great but it blocks all *.upd files and says http 404. If I turn directory listing on it lists the file just great but I cant download it any way... Is there any way to fix this? ...

What are the pros and cons of running IIS as 32bit vs 64bit on a 64bit OS?

Possibly better suited for "Rack Overflow", but from a developer's point of view, what are the advantages and disadvantages of running IIS (serving both legacy classic ASP and .NET) as a 32bit process instead of a 64bit process on a 64bit windows host? The main advantage of 32/64 (iis/server) over 32/32 seems to be the ability to go up...

Custom authentication at the URL level, use ISAPI still with .NET or is there a new way?

Is there a non-IIS way of authenticating users that is not with HTML? I know I can create my own ISAPI filter for IIS, but I want to achieve the same thing, with .NET code and not integrate it with IIS. Is there a way to do this now, with the latest .NET, or is ISAPI still the way to go? ...

showing content on the blank screen after downloading a file

I've observed that under certain circumstances, a web browser will navigate to a blank page and then prompt the user to download a file. In my current situation, it's navigating to a URL that generates an Excel file. The download of the file works perfectly, but the user is now stranded on a blank page. There are two things I would li...

Is there a way to always require or force the 'www' subdomain on a site?

I want to prevent users from going to say example.com and only go to www.example.com, we are using IIS 6. So say they go to example.com it could tack on the www.example.com, etc. Is this a setting somewhere or will I have to code it to check for the subdomain when they land and redirect accordingly? EDIT: I know the best way is to move...

how to get the application pool name for a specific website IIS6 programaticaly? C#

how to get the application pool name for a specific website IIS 6 programmatic using C# EDIT : I already used the methods of DirectoryServices namespace but the application pool name isn't retrieved correctly unless it was explicitly set by using the same code. Which means if u add a website manually using the iis manager and set an ap...

ISAPI Rewrite 3 rule syntax

I'm installing ISAPI Rewrite 3. I'd like to do the following with it: The box serving HTTP documents with ISAPI Rewrite 3 has a hypothetical URL of http://www.foo.com. I want a rule that will point http://www.foo.com/blog to http://blog.foo.com. I don't want a physical redirection. I prefer a proxy so that it doesn't look like we're ev...

Can ClickOnce deployed application setup be compressed?

I publish Windows Forms application using ClickOnce. The installation is quite big considering the overall size of this app. It's something over 15 MB. If I compress locally built application it is squeezed to 2.5 MB. Can ClickOnce deployment be compressed somehow? If not, is anyone using IIS compression to speed up transfers? Would t...

Deploying an ASP.net application

What is the correct proceedure when deploying an ASP.net MVC application? I am using the built in forms based authentication and deploying using the publish function in VS2008 but when deploying it doesn't seem to deploy the ASPNETDB to the server and I end up with errors like An error occurred during the execution of the SQL file 'Ins...

Where does an uploaded file in ASP.Net 2 go?

I'm building a portal that will allow users to upload files. I need to make sure that these files do not contain viruses. My ideal solution would be to have the host OS AV keep a watch on temporary folders and scan any incoming files. When a file is uploaded in ASP.Net 2, does it get written to disk in a temp folder, or is it persiste...

How to save a copy of outbound messages in IIS's SMTP server?

I'm needing to keep a copy of messages that has been sent by IIS's SMTP server. I've been unsuccessfully trying to find the option within its management console, plus I've had similar luck searching the feature on the official documentation. Any idea or workaround would be much appreciated. The operating system is Windows 2000 and I'm no...

IIS email blocked by anti virus

I have being having trouble with the web server used for our intranet. It has some antivirus software on it that stops mass emailing. So I wrote a quick C# winforms app, ran it on the server to try and send an email, and it failed. It was being blocked by antivirus on the server, I added the exe to the allowed list and it worked fine. ...

Web Service and Report Manager don't load (Sql Server Express 2008 with Reporting Services)

I've just installed Microsoft SQL Server Express 2008 (with Reporting Services). My installation is side by side with SQL Server 2005. So far creating reports and testing them in the development environment has worked fine, however I can't get the web server or report manager working. In the Reporting Services Configuration Manager, i...

Cannot authorize with different server name

Hi all I have a web service running in IIS 6.0 on Windows 2003. It's authentication mode is Integrated Windows security (anonymous disabled), and authorization is done with Authorization Manager and an XML authorization store. My test user is a domain user (admin, actually) with membership in an authorized role. I am testing this (for ...