If you host your WCF service in the IIS web server and have the problem, that the URLs of the WSDL files contain internal domain names (or your machine names) that cannot be resolved by the clients when trying to consume the service you will find three possible options to resolve this issue in this [...]
Read more…Posts Tagged ‘IIS’
IIS 7.5: Fix “Application pool [...] has been disabled. Windows Process Activation Service (WAS) encountered a failure when it started a worker process to serve the application pool.” (Event ID 5059)
Recently on my Windows 7 developer machine the application pool on my local IIS 7.5 web server stopped working immediately after it was (re)started. In the in the event viewer I found an error (Event ID 5059) that says: “Application pool [...] has been disabled. Windows Process Activation Service (WAS) encountered a failure when it [...]
Read more…IIS 7.5 Application Pools: Understanding default identity “ApplicationPoolIdentity”
In former versions of IIS the default identity for application pools was “NetworkService“. Using this option, the application pool runs under the built-in and low-privileged Windows identity “NETWORKSERVICE“. The disadvantage of this (old default) option is that multiple services using the Windows identity “NETWORKSERVICE” are not isolated from each other, i.e. services could theoretically read, [...]
Read more…IIS 7.5 on Windows 7: How to fix “HTTP Error 401.3 – Unauthorized”
If you try to run a web application on IIS 7.5 and Windows 7 and you get the following error HTTP Error 401.3 – Unauthorized You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server. it [...]
Read more…Microsoft IIS 7: Enable Client Side Browser Caching for static Content in Web.config
To optimize the performance of a web site that is hosted in Microsoft’s Internet Information Server 7 it is reasonable to enable client side browser caching for static content (like for example image files, CSS files or JavaScript files) that probably won’t change in the near feature. You can find more information and best practices [...]
Read more…ASP.NET: Prevent IIS 7.5 from overriding custom error pages with IIS default error pages
I’ve created a ASP.NET MVC 3 application with custom error pages for HTTP status code 404 (“Not Found”) and 500 (“Internal Server Error”). I registered my custom pages in the Web.config as follows: <configuration> <system.web> <customErrors defaultRedirect="/Error/InternalServerError" mode="RemoteOnly"> <error redirect="/Error/NotFound" statusCode="404" /> <error redirect="/Error/InternalServerError" statusCode="500" /> </customErrors> </system.web> </configuration> After deploying my ASP.NET application to [...]
Read more…