Whenever I browse to one of my ASP.NET web pages, Internet Explorer keeps on asking me if I want to download it, or it just displays the ASPX source. Why?
IIS does not have the correct mapping for the ASPX file extension. This can happen if you install IIS after installing the .NET Framework, or if you uninstalled and reinstalled IIS. To repair IIS mappings for ASP.NET, you can run the Aspnet_regiis.exe utility. For more information check out KB306005
Why do I get the error message ‘Compiler Error Message: CS1595’
This problem occurs because the C# compiler does not have permission to access the folders in the path to the mscorlib.dll assembly To resolve this problem, modify the compiler definition for the C# compiler to include the /nostdlib option. The /nostdlib option prevents the import of the mscorlib.dll assembly, which defines the entire System namespace. To include the /nostdlib option in the C# compiler definition on a computer, follow these steps: Open the Machine.config file, and then locate the section. In the definition for C#, add the compilerOptions attribute with a value of /nostdlib. For example: <compiler language='c#;cs;csharp' extension='.cs' type='Microsoft.CSharp.CSharpCodeProvider, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' warningLevel='1' compilerOptions='/nostdlib' /> For more details refer PRB: ‘Compiler Error Message: CS1595’ Error Message When You Use the C# Compiler to Compile an ASP.NET Resource
How can I resolve the error message ‘Cannot access file ‘…’ because it is being used by another process’
You receive this error message if the following conditions are true: The assembly that is specified in the error message is a signed assembly and is not installed in the Global Assembly Cache (GAC); instead, the assembly is in the Bin directory of the ASP.NET Web application. -and- Your ASP.NET Web application has just been restarted. For more details refer PRB: ‘Can not Access File ’AssemblyName’ Because It Is Being Used by Another Process’ Error Message in ASP.NET
Why do I get the error message ‘aspnet_wp.exe (PID: XXXX) was recycled because it was suspected to be in a deadlocked state ‘
This problem might occur because ASP.NET limits the number of worker threads and completion port threads that a call can use to execute requests. For more details refer PRB: Contention, poor performance, and deadlocks when you make Web service requests from ASP.NET applications You could control the deadlock detection by changing machine.config setting in <processModel responseDeadlockInterval='...' ... />
Why do I get the error message ‘System.InvalidOperationException: Application is restarting’
This problem occurs because of some antivirus applications write back information to the files that they scan. Every time a user changes the Web.config configuration file, the Global.asax file, or the contents of the Bin folder, the application should restart to incorporate these changes. Because antivirus scanning changes cannot be distinguished from the user’s file changes, the application restarts when the antivirus software scans these folders. Note This problem may occur even when no error is returned. If the virus-scanning software triggers change notifications, every change notification is doubled at the very least: one real change notification and an additional change notification from the antivirus software some time later. For more information refer PRB: Random application restarts with ‘Application is restarting’ error in ASP.NET