Questions tagged [iis-6]

IIS (Internet Information Services) is a web server application and a set of feature extension modules created by Microsoft as part of Windows. IIS version 6 is shipped with Windows Server 2003 and Windows XP Professional x64 Edition. Both Windows XP and Windows Server 2003 are end of life, so migration to newer releases must be done.

Internet Information Services (IIS) is a web server and a set of feature extension modules created by Microsoft as part of Windows.

IIS version 6 is shipped with Windows Server 2003 and Windows XP Professional x64 Edition.

Both Windows XP and Windows Server 2003 are end of life, so migration to newer Windows releases must be done.

Some IIS Links:

See for more information.

2905 questions
45
votes
9 answers

ASP.net HTTP 404 - File not found instead of MaxRequestLength exception

I have a file upload control on my webpage. The maximum request length is set to 8 MB (maxRequestLength = 8192). I also have server validation that throws an error if the file is more than 4MB. The reason that its 8MB in the config is the leverage…
Divi
  • 7,621
  • 13
  • 47
  • 63
44
votes
6 answers

How do you work out the IIS Virtual Path for an application?

When I try to change the ASP.NET version to v4 on IIS 6, I receive the following warning: Changing the Framework version requires a restart of the W3SVC service. Alternatively, you can change the Framework version without restarting the W3SVC…
joshcomley
  • 28,099
  • 24
  • 107
  • 147
43
votes
6 answers

Programmatically create a web site in IIS using C# and set port number

We have been able to create a web site. We did this using the information in this link: https://msdn.microsoft.com/en-us/library/ms525598.aspx However, we would like to use a port number other that port 80. How do we do this? We are using IIS 6
Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
42
votes
4 answers

Display custom error page when file upload exceeds allowed size in ASP.NET MVC

My main issue is that I want to display an custom error page when an uploaded file exceeds allowed size (maxRequestLength in web.config). When the big file is uploaded an HttpException is thrown before my upload action method in the controller is…
Marcus
  • 2,470
  • 1
  • 22
  • 29
38
votes
3 answers

How can I programmatically stop or start a website in IIS (6.0 and 7.0) using MsBuild?

I have Windows Server 2003 (IIS 6.0) and Windows Server 2008 (IIS 7.0) servers, and I use MSBuild for deploying web applications. I need to do a safe deploy, and do this: Stop a website in IIS 6 (or an Application in IIS 7), not stop AppPool. Check…
Kiquenet
  • 14,494
  • 35
  • 148
  • 243
36
votes
11 answers

What causes an HTTP 405 "invalid method (HTTP verb)" error when POSTing a form to PHP on IIS?

I have one form in a PHP (5.2.9-1) application that causes IIS (Microsoft-IIS/6.0) to throw the following error when POSTed: The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access. It's an…
drewm
  • 2,003
  • 1
  • 16
  • 22
35
votes
3 answers

How do I deploy a Flask application in IIS?

Can anyone help me get a Flask application running on IIS 6? I have tried to use isapi-wsgi, but when I visit the Virtual Directory address I get a page that says "The specified module could not be found." Are there other options for this? Below…
James
  • 522
  • 1
  • 6
  • 7
35
votes
5 answers

IIS 6.0 wildcard mapping benchmarks?

I'm quickly falling in love with ASP.NET MVC beta, and one of the things I've decided I won't sacrifice in deploying to my IIS 6 hosting environment is the extensionless URL. Therefore, I'm weighing the consideration of adding a wildcard mapping,…
Chris
  • 27,596
  • 25
  • 124
  • 225
34
votes
1 answer

ASP.NET IIS - when are requests queued?

The following article by Thomas Marquardt describes how IIS handles ASP.Net requests, the max/min CLR worker threads/Managed IO threads that can be configured to run, the various requests queues involved and their default sizes. Now as per the…
coder_bro
  • 10,503
  • 13
  • 56
  • 88
33
votes
6 answers

What might be causing the "The client disconnected" ASP.NET exception?

My .NET 3.5 application sporadically throws the following exception System.Web exception: The client disconnected Why is this exception occurring? My application is running on a load balanced Windows Server 2003 IIS 6.0 server.
Michael Kniskern
  • 24,792
  • 68
  • 164
  • 231
32
votes
5 answers

How to check if IIS is in 32bit or 64bit mode

I'm trying to deploy a site to a 64bit OS. I'm deploying to IIS6. The site was developed on a 32bit server. The site deployed correctly however it's trying to access a COM component and that is failing. I believe the error is occurring because the…
Sam
  • 2,166
  • 2
  • 20
  • 28
30
votes
3 answers

ASP.NET MVC eurl.axd errors

Using the following steps: (I have checked this similar post, which does not solve my problem.) Under Windows Server 2003/IIS6, I create a new site called "testapp" In VS2010, I create a new ASP.NET MVC 2 application. I add a view called "Info"…
3Dave
  • 28,657
  • 18
  • 88
  • 151
28
votes
6 answers

How can I determine which w3wp.exe process belongs to which web site?

I have an IIS6 web server that is hosting two application pools. Occasionally, one of the w3wp processes will spike the CPU for a while, and both app pools seem to suffer the consequences. I'm not sure which one is which, and without that…
Michael Bray
  • 14,998
  • 7
  • 42
  • 68
28
votes
5 answers

IIS and Apache (WAMP) running

How can we run IIS 6 and Apache (wamp) in same machine at same time?
chrithccmc
  • 1,069
  • 4
  • 14
  • 17
28
votes
7 answers

Avoiding 401 response for each request using NTLM

We have here an asp.net 3.5 application using NTLM based windows authentication. The system runs on a private network that actually distributed over different geographic places (connected via VPN). We are now trying to optimize the website's…
Satumba
  • 880
  • 1
  • 10
  • 21