Tuesday 10 May 2011

404.13 error uploading large files

Check settings:
"%WINDIR%\System32\inetsrv\appcmd.exe" list config "YourSiteNameHere" -section:requestFiltering -requestLimits.maxAllowedContentLength

Update settings:
"%WINDIR%\System32\inetsrv\appcmd.exe" set config "YourSiteNameHere" -section:requestFiltering -requestLimits.maxAllowedContentLength:2000000000


It worked for me !

Saturday 14 March 2009

Server Application Unavailable

hey, below is one of the most common error displayed when your are setting up Visual Studio on your machine.

Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

The most common reason for this message is that the Asp.net framework is not properly installed on your machine. Well it can be an installation issue or something else, that have cauased this. But, the good thing is the solution is quite simple:

Goto to command prompt and execute the below command on your command prompt:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i
%WindowsDirectory%\Microsoft.NET\Framework\%versionNumber%

The above command Installs ASP.NET version 2.0 and upgrade all application pools to ASP.NET version 2.0. The "ASP.NET 1.1" application pool is ignored.

The aspnet_regiis can also be used for other stuffs like setting up a default framework for your IIS. Just type aspnet_regiis (in a framework folder) without any parameters and you will see the list of things you can so with it.