HTTP 404 Page Not Found in Web Api hosted in IIS 7.5

I was struggling with this as well. Fortunately, Steve Michelotti documented a solution that worked for me here. At the end of the day, I enabled all verbs (verb=”*”) to the ExtensionlessUrlHandler-Integrated-4.0 handler in my web config. <system.webServer> <validation validateIntegratedModeConfiguration=”false” /> <modules runAllManagedModulesForAllRequests=”true” /> <handlers> <remove name=”ExtensionlessUrlHandler-Integrated-4.0″ /> <add name=”ExtensionlessUrlHandler-Integrated-4.0″ path=”*.” verb=”*” type=”System.Web.Handlers.TransferRequestHandler” resourceType=”Unspecified” requireAccess=”Script” … Read more

How to give ASP.NET access to a private key in a certificate in the certificate store?

Create / Purchase certificate. Make sure it has a private key. Import the certificate into the “Local Computer” account. Best to use Certificates MMC. Make sure to check “Allow private key to be exported” Based upon which, IIS 7.5 Application Pool’s identity use one of the following. IIS 7.5 Website is running under ApplicationPoolIdentity. Open … Read more

Fixing slow initial load for IIS

Options A, B and D seem to be in the same category since they only influence the initial start time, they do warmup of the website like compilation and loading of libraries in memory. Using C, setting the idle timeout, should be enough so that subsequent requests to the server are served fast (restarting the … Read more

Web Application Problems (web.config errors) HTTP 500.19 with IIS7.5 and ASP.NET v2

I had these exact symptoms and my issue was similar to Peter’s. Was setting up an existing project on a new server. My project referenced the IIS7 URL Rewriting module, but that hadn’t been installed yet on the new server. Installing it fixed my issue. You can use the Microsoft Web Platform Installer to install … Read more

How to increase request timeout in IIS?

Add this to your Web Config <system.web> <httpRuntime executionTimeout=”180″ /> </system.web> https://msdn.microsoft.com/en-us/library/e1f13641(v=vs.85).aspx Optional TimeSpan attribute. Specifies the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET. This time-out applies only if the debug attribute in the compilation element is False. To help to prevent shutting down … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)