ASP.Net Configuration error
For some time I have seen this annoying situation. I was debugging an asp.net app in IE and then would test it in firefox and close IE but leave the firefox window open. Then go back make some more changes in the code and launch the app again and asp.net bombs saying
Server Error in ‘/’ Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Access is denied: ‘Microsoft.ApplicationBlocks.Data’. Source Error:
Source File: c:winntmicrosoft.netframeworkv1.1.4322Configmachine.config Line: 198
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>
|
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
The log information shows that it failed loading a dll from temp asp.net folder.After running procexplorer I found that my dll was being locked by the cisvc.exe, the windows indexing service was locking it.
The problem is that the indexing services re scans and locks the dll after an AppDomain load.A search for cisvc.exe landed me to MS support for same.
Initial searches were difficult as "configuration error" etc on google leads to errors with .config files.