After installing SP4 none of my ASP.NET pages developed using Framework 1.0 are showing the errors related to security
To resolve this issue, identify the user account that is used to run the program, and then assign the ‘Impersonate a client after authentication’ user right to that user account. To do this, follow these steps: Click Start, point to Programs, point to Administrative Tools, and then click Local Security Policy. Expand Local Policies, and then click User Rights Assignment. In the right pane, double-click Impersonate a client after authentication. In the Local Security Policy Setting dialog box, click Add. In the Select Users or Group dialog box, click the user account that you want to add, click Add, and then click OK. Click OK. For more details refer Overview of the ‘Impersonate a Client After Authentication’….
Why do I get error message ‘Failed to Start Monitoring Directory Changes’ when i try to browse ASP.NET page
The ASPNET worker process doesn’t have ‘Read & Execute’, ‘ List Folder Contents’, ‘ Read permissions’ permissions to detect file changes in Web.Config, Machine.config, Bin files, or Cache dependency files. Or one of the directory names in the hierarchy of that file path is greater than eight characters long. For more information refer PRB: ‘Failed to Start Monitoring Directory Changes’ Error Message When You Browse to ASP.NET Page FIX: ‘Failed to start monitoring directory changes’ error message when you browse to an ASP.NET page
When compiling I get ‘Could not copy temporary files to the output directory’ or ‘The process cannot access the file because it is being used by another process’ error messages. Why?
Visual Studio .NET is unable to copy your DLLs from Bin directory to a temporary ASP.NET files folder. This is due to having a trailing backslash in root web application, or in a virtual directory with child directories marked as Web applications.
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