Tag: IIS
-
Registering ASP.NET 4.5 with IIS8
In Windows Server 2012, DotNet 4.5 are shipped as part of OS but DotNet 4.5 is not registered with IIS8 be default. If you try to run aspnet_regiis.exe as you did for Windows Server 2008 R2, you will see following error Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929 Administration utility to install and uninstall ASP.NET on…
-
HTTP Error 404.13 – Not Found Error When Upload Big File using WCF
On IIS 7.5, if you upload big file thru WCF service, you might get http 404.13 error from IIS server. HTTP Error 404.13 – Not Found The request filtering module is configured to deny a request that exceeds the request content length. The solution is set a higher value for maxAllowedContentLength in web.config of application…
-
IIS 7.5 Error The temp directory in chart handler configuration is not accessible
If you build a web application with Chart control for ASP.NET 4.0 and deploy the site to web server. You might get following error on the live site: The temp directory in chart handler configuration is not accessible To resolve this, first go to web.config and find the ChartImage directory in appsettings. <appSettings> <add key="ChartImageHandler"…
-
Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
You might see following error when browse your application site targeting ASP.NET 4.0 on IIS 7 or 7.5 server. HTTP Error 500.21 – Internal Server Error Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list Cause & Solution If IIS is enabled after DotNet 4 installation then ASP.NET is not registered with IIS.…
-
Run IIS in 32-bit mode on a 64 bit machine
IIS 7 / 7.5 / 8 On IIS 7 / 7.5 / 8, configure website or web application to run under 32 bit mode can be configured by opening a command prompt and typing following command and press ENTER. %windir%system32inetsrvappcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true You can achieve the same goal in IIS Manager by opening…
-
Grant Permission to DefaultAppPool Identity
After upgrading web applications to IIS 7.5 on Windows Server 2008 R2, you might get following error. Access to the path ‘d:sitecache.txt’ is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.…
-
Make IIS 7.5 application pools run as NETWORK SERVICE
There is a break change in IIS 7.5 on Windows 7 and Windows Server 2008 R2. The default identity for running an application pool is "ApplicationPoolIdentity". If you have a web application developed against application pools running with NETWORK SERVICE on IIS6/7, it might break after migrated to IIS 7.5 due to default application pool…