Questions tagged [iis-7.5]

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

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

Some IIS Links:

See for more information.

4223 questions
39
votes
3 answers

How to config application pool in IIS 7.5 automatically re-start when it was stopped?

My website was down several times per day and when I check the application pool (IIS 7.5), I saw it was stopped and I must restart it manually. How can I setup application pool so that it automatically restarts after an error?
vNext
  • 1,102
  • 4
  • 16
  • 28
39
votes
6 answers

Is there a way to reset IIS 7.5 to factory settings?

I modified a lot of options in IIS, and would like to reset its settings to default. I already tried installing/reinstalling it. After the reinstall, it still had the site I created. It was still breaking on the setting I made to the…
TPR
  • 2,567
  • 10
  • 41
  • 65
39
votes
5 answers

HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers

i want to allow access to Anonymous.aspx page to all user, i have set Basic Authentication to Enabled, and Connect as to specific user. my problem is when trying to access http://MyIPAddress/MyAlias/Anonymous.aspx, authentication popup…
38
votes
5 answers

Validation type names in unobtrusive client validation rules must be unique

Validation type names in unobtrusive client validation rules must be unique. The following validation type was seen more than once: required This is referring to the EmailAddress property, here: public class LoginModel { [Required] …
Josh M.
  • 26,437
  • 24
  • 119
  • 200
38
votes
1 answer

How to stop/start IIS 7 application through command line?

I would like to create a batch file to start one IIS application, and stop another one. How it can be done using command line? How to combined it in batch file?
Eugene
  • 1,037
  • 2
  • 12
  • 19
37
votes
5 answers

Where does IIS 7.5 log errors?

Where does IIS 7.5 log errors? Event Viewer? Log File? I get a very nonspecific internal 500 error. I would like to find out more. I'm running PHP and I did what this last comment on this post said. But still it is not logging to the C:\windows\temp…
capdragon
  • 14,565
  • 24
  • 107
  • 153
37
votes
6 answers

How do I protect static files with ASP.NET form authentication on IIS 7.5?

I have a website running on a IIS 7.5 server with ASP.NET 4.0 on a shared host, but in full trust. The site is a basic "file browser" that allows the visitors to login and have a list of files available to them displayed, and, obviously, download…
Egil Hansen
  • 15,028
  • 8
  • 37
  • 54
36
votes
2 answers

Asp.net Web API returns non-descriptive error 500

In my setup I get error 500 if anything goes wrong with my Web API request. For instance with this simple code. public IQueryable
Get(){ throw new Exception("error"); return db.Articles; //yeah i know.. unreachable, not the…
Martin Hansen
  • 5,154
  • 3
  • 32
  • 53
34
votes
2 answers

HTTPError Exception Message not displaying when webapi is run on Server vs being run locally

I have a webapi that runs on an IIS7.5 server. It has 3 controllers, and all 3 can be used to access the webapi from calls within my application. I had a error where my base class for my controller was exposing it's functions as public, rather than…
cookiekitty
  • 984
  • 1
  • 8
  • 11
33
votes
3 answers

How to convert .crt cetificate file to .pfx

I want to install the '.crt' certificate I received from a certificate provider to my IIS 7.5 server. I have tried many times to install the .crt file by clicking on the 'certificates', and it states that it is installed correctly. So I open IIS,…
mayur Rathod
  • 1,184
  • 1
  • 11
  • 26
33
votes
9 answers

ASP.NET Web API returns 404 for PUT only on some servers

I have written a site that uses ASP.NET MVC Web API and everything is working nicely until I put it on the staging server. The site works fine on my local machine and on the dev web server. Both dev and staging servers are Windows Server 2008…
Greg Bacchus
  • 2,235
  • 2
  • 23
  • 26
32
votes
6 answers

Get Angular2 routing working on IIS 7.5

I have been learning Angular2. The routing works just fine when running on the nodejs lite-server. I can go to the main (localhost:3000) page and move through the application. I can also type localhost:3000/employee and it will go to the requested…
Per Larsen
  • 1,149
  • 3
  • 12
  • 25
32
votes
1 answer

What does the "time" field in the log indicate, exactly?

I've been studying the W3C format log files in IIS 7.5 for a while on a server with some performance issues, and it seems to me that, contrary to MSDN documentation, the "time" field is not "the time, in Coordinated Universal Time (UTC), at which…
Alan McBee
  • 4,202
  • 3
  • 33
  • 38
31
votes
2 answers

WCF service hosting in IIS 7.5 - The page you are requesting cannot be served because of the extension configuration

Whenever I publish WCF service to IIS. It is almost I have become habituated to get this error: HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a…
Abhijeet
  • 13,562
  • 26
  • 94
  • 175
31
votes
2 answers

How to configure Web Deploy publishing feature on IIS so developer can publish?

I control a server running IIS 8 on Windows Server 2012. I want to publish a few basic asp.net websites with the Publish option in Visual Studio 2012. There are no good/current Microsoft articles on the server configuration steps. 1) What exactly…
stackonfire
  • 1,525
  • 4
  • 17
  • 23