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
134
votes
10 answers

IIS - 401.3 - Unauthorized

I am trying to get started with using IIS. I created a new site on IIS Manager, mapped it to a folder on my file system and added index.html to the folder. I have set the port to 85 for this site. When I try to access http://localhost:85/index.html,…
Aadith Ramia
  • 10,005
  • 19
  • 67
  • 86
133
votes
1 answer

What exactly happens when I set LoadUserProfile of IIS pool?

I faced the following issue. I run the following code var binaryData = File.ReadAllBytes(pathToPfxFile); var cert = new X509Certificate2(binaryData, password); in two processes. One of the processes runs under LOCAL_SYSTEM and there this code…
sharptooth
  • 167,383
  • 100
  • 513
  • 979
131
votes
8 answers

How to set the Default Page in ASP.NET?

Is there any section or code which allows us to set default page in web.config? For example, when people first visit my website, I want them to see CreateThing.aspx rather than Default.aspx. The solutions I already know: Put this line of code =>…
Tarik
  • 79,711
  • 83
  • 236
  • 349
129
votes
13 answers

Request is not available in this context

I'm running IIS 7 Integrated mode and I'm getting Request is not available in this context when I try to access it in a Log4Net related function that is called from Application_Start. This is the line of code I've if (HttpContext.Current != null…
Vishal Seth
  • 4,948
  • 7
  • 26
  • 28
127
votes
23 answers

Receiving login prompt using integrated windows authentication

I have a .NET 3.5 application running under IIS 7 on Windows 2003 server and cannot get integrated windows authentication working properly as I continue to get prompted for a login. I have set Windows Authentication to enabled in IIS with all other…
Casey
  • 1,445
  • 3
  • 13
  • 13
125
votes
7 answers

How do you migrate an IIS 7 site to another server?

I'm wondering what is the best practice for moving a website to another server (along with all settings, etc.) Manually recreate the site on the new server (not maintainable for obvious reasons) Copy the applicationHost.config settings file Use…
Kalid
  • 22,218
  • 14
  • 44
  • 46
121
votes
20 answers

Remove Server Response Header IIS7

Is there any way to remove "Server" response header from IIS7? There are some articles showing that using HttpModules we can achieve the same thing. This will be helpful if we don't have admin right to server. Also I don't want to write ISAPI…
ram
120
votes
13 answers

X-Frame-Options Allow-From multiple domains

I have an ASP.NET 4.0 IIS7.5 site which I need secured using the X-Frame-Options header. I also need to enable my site pages to be iframed from my same domain as well as from my facebook app. Currently I have my site configured with a site headed…
user1340663
  • 1,201
  • 2
  • 9
  • 3
119
votes
12 answers

Problem in running .net framework 4.0 website on iis 7.0

Hey I got problem in running .NET framework 4.0 website on IIS7.0. the error I got is like: HTTP Error 404.2 - Not Found "The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server". Module…
prashant patel
  • 1,225
  • 2
  • 8
  • 7
118
votes
3 answers

How to set the maxAllowedContentLength to 500MB while running on IIS7?

I changed the maxAllowedContentLength to In my web.config, but when running on IIS7 I get this error: The…
Amr Elgarhy
  • 66,568
  • 69
  • 184
  • 301
115
votes
7 answers

Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive

I just installed vs 2010, followed by IIS in window 7. when building a website in .net framework 4.0 and convert this into application in IIS then its shows this error If i remove the targetFramework="4.0" from web config file then it shows me a…
rahularyansharma
  • 11,156
  • 18
  • 79
  • 135
107
votes
4 answers

MsDeploy is returning 403 forbidden

We had a Web Application working on an intranet and I'm trying to publish it to the internet using Visual Studio 2010. The destination server is running iis7 and the Web Management Service is running. On Visual Studio 2010 my service URL…
dcarneiro
  • 7,060
  • 11
  • 51
  • 74
105
votes
2 answers

IIS7 Settings File Locations

Where does IIS7 saves its configuration for each virtual directory/ application and its physical path? Is it an XML file? And if so, will editing this XML file affect the IIS configuration (after restarting)?
Royi Namir
  • 144,742
  • 138
  • 468
  • 792
103
votes
7 answers

double escape sequence inside a url : The request filtering module is configured to deny a request that contains a double escape sequence

On my ASP.NET MVC application, I am trying to implement a URL like below : /product/tags/for+families When I try to run my application with default configurations, I am getting this message with 404.11 Response Code : HTTP Error 404.11 - Not…
tugberk
  • 57,477
  • 67
  • 243
  • 335
103
votes
4 answers

IIS Manager is working but Window is not showing up in Windows 7

IIS Manager window is not showing in my machine. It is visible in taskbar but when I click on it, it is not opening or showing up. It was working previously, but stopped suddenly. My system Details are: Windows 7 64 bit IIS Manager version…
Abhijeet
  • 1,499
  • 3
  • 14
  • 15