Questions tagged [iis-7]

IIS (Internet Information Services) Version 7 – is a web server application and a set of feature extension modules created by Microsoft for use with Microsoft Windows. Released with Window Server 2008 and Windows Vista.

Internet Information Services (IIS7) is a web server and a set of feature extension modules created by Microsoft for use with Microsoft Windows. Released with Windows Server 2008 and Windows Vista.

Some IIS Links:

See for more information.

9490 questions
206
votes
30 answers

HTTP Error 503. The service is unavailable. App pool stops on accessing website

There are number of posts on this and I have tried many a things by now. But to no avail. Myself a Winforms Developer basically, started working on this Web stuff few days back as my company is taking Web initiatives. I have a ASP.Net project and I…
Sandy
  • 11,332
  • 27
  • 76
  • 122
199
votes
13 answers

Asp.net 4.0 has not been registered

When I try to open my Visual Studio project I get the following error: Asp.Net has not been registered on the webserver you need to manually configure your webserver for Asp.net 4.0. Update: Nevermind I fixed it: I just repaired .Net Framework…
user228777
  • 3,082
  • 9
  • 33
  • 50
199
votes
23 answers

System.Security.SecurityException when writing to Event Log

I’m working on trying to port an ASP.NET app from Server 2003 (and IIS6) to Server 2008 (IIS7). When I try and visit the page on the browser I get this: Server Error in ‘/’ Application. Security Exception Description: The application attempted to…
encee
  • 4,544
  • 4
  • 33
  • 35
189
votes
9 answers

WebApi's {"message":"an error has occurred"} on IIS7, not in IIS Express

I'm working with ASP.NET MVC 4 WebApi and am having a lot of fun with it running it on my local computer on IIS Express. I've configured IIS Express to serve remote machines too, and so other's in my company are using my computer as our webserver.…
nsg
  • 10,510
  • 4
  • 21
  • 32
181
votes
7 answers

IIS does not list a website that matches the launch url

I need to debug the website i 'm developing (ASP.NET MVC3, Razor, .NET 4, VS2010 SP1 (as administrator)) in IIS7 (Vista Home) and getting the error: IIS does not list a website that matches the launch url. To test if it has to do something with the…
Savvas Sopiadis
  • 8,213
  • 10
  • 34
  • 53
179
votes
8 answers

How to increase request timeout in IIS?

How to increase request timeout in IIS 7.0? The same is done under application tab in ASP configuration settngs in IIS 6.0. I am not able to find the asp.net configuration section in IIS 7.0
Dotnet Rocks
  • 1,801
  • 2
  • 12
  • 5
169
votes
7 answers

Avoid web.config inheritance in child web application using inheritInChildApplications

I am trying to add to my parent web application's web.config but it doesn't seem to be working. My parent's web.config has: // 10 or so…
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
165
votes
11 answers

Turn off Visual Studio Attach security warning when debugging IIS

When using Visual Studio 2008 or 2010, every time you attach to IIS w3wp.exe you get the Attach Security Warning: How do you turn this of? It would be cool to know also, how to keep it attached for longer, as this seems to time out after a…
roundcrisis
  • 17,276
  • 14
  • 60
  • 92
155
votes
27 answers

"405 method not allowed" in IIS7.5 for "PUT" method

I use WebClient type to upload *.cab files to my server. On the server side, I registered a HTTP handler for *.cab file with the PUT method as below:
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
152
votes
3 answers

How to disable the application pool idle time-out in IIS7?

Will it be disabled if I set the idle time-out to 0?
123
  • 1,557
  • 2
  • 9
  • 3
149
votes
3 answers

How to configure static content cache per folder and extension in IIS7?

I would like to set up rules in IIS7 for static content caching in my ASP.NET website. I have seen these articles, which details how to do it using the element in web.config: Client Cache (IIS.NET) Add Expires or Cache…
frankadelic
  • 20,543
  • 37
  • 111
  • 164
148
votes
6 answers

IIS7: HTTP->HTTPS Cleanly

Is there a clean way to redirect all attempts to going to an HTTP:// version of a site to its HTTPS:// equivalent?
cpuguru
  • 3,763
  • 5
  • 33
  • 31
142
votes
4 answers

Is Enabling Double Escaping Dangerous?

I have an ASP.NET MVC application with a route that allows searching for stuff via /search/. When I supply "search/abc" it works well, but when I supply "/search/a+b+c" (correctly url encoded) then IIS7 rejects the request with HTTP…
Alex
  • 75,813
  • 86
  • 255
  • 348
140
votes
19 answers

Hosting ASP.NET in IIS7 gives Access is denied?

I have setup a application in my IIS7 that uses .NET Framework 4.0 (runned by NetworkService) but when browsing the site I get this: Access is denied. Description: An error occurred while accessing the resources required to serve this request.…
Banshee
  • 15,376
  • 38
  • 128
  • 219
136
votes
16 answers

Asp.NET Web API - 405 - HTTP verb used to access this page is not allowed - how to set handler mappings

I wrote REST service using ASP.NET Web API. I'm trying to send HttpDelete request, however I get the following error: 405 - HTTP verb used to access this page is not allowed I think I'm close to the solution, I found out that I should enable IIS…
Bart
  • 2,301
  • 3
  • 29
  • 27