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

When I install the Microsoft .NET Framework 1.1 on a computer that is running Windows XP, and then you start Windows, the Welcome screen appears. This screen prompts me to click your user name to start Windows.Why?

When you install the .NET Framework 1.1, a hidden local user account that is named ASPNET is created. When you start Windows, Windows treats the ASPNET local user account as an additional user account, although the ASPNET user account is hidden. Therefore, the Welcome screen appears and prompts you to click your user name. For more details refer KB 827072

Why do I get error message ‘It is already opened exclusively by another user, or you need permission to view its data.’ when I try to open Access mdb

The ASPNET worker process doesn’t have the correct permissions to connect to or write to the Access database. Either enable impersonation for users or configure the ASP.NET worker process to run under the SYSTEM account. You can also grant read and write permissions for the ‘Everyone’ group on the database and the database folder. For more details refer PRB: Cannot connect to Access database from ASP.NET Process and request identity in ASP.NET