As I'm once again having to develop an ASP.NET program under protest I thought it would be a reasonably smooth ride. I thought that after all, it's not much different to WinForms programming these days. But that was before I discovered the world's most irritating error!

I'm using a couple of external dll files (the Microsoft Data application block and the Microsoft Web Controls for IE) and every so often when I go to build my application, it fails with the following message:

"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.web.ui.webcontrols'.

Source Error:


Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>


Source File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 198
"

Basically, it's locking the dlls and the only way to get around it is to restart the whole IDE. Once a day is tolerable but every fifteen minutes is

I've checked out MSDN and it says to turn off Indexing which I don't even have installed and everyone agrees that this is the perfect solution.

So does anyone know of any other ways to get around this problem