Login

Access is denied: 'EPiServer.Install'

Versions: n/a, FAQ number: 23, Old FAQ number: 987

Q: I'm running the sample project which is included with the EPiServer installation, occationally my web application crashes and i get the following error message:

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: 'EPiServer.Install'.
Source Error:

Line 170:    <add assembly="System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 171:    <add assembly="System.EnterpriseServices, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 172:    <add assembly="*"/>
Line 173: </assemblies>
Line 174:

The access denied error is a common error message and it can be caused by many different things which can make it hard to solve. The most likely scenario is that a file has probably been locked by Index Server or some sort of antivirus application. To find out if that is the case turn of the Indexing Service and every antivirus program installed on the server. This actons isn't a very good solution to the problem in the long term, but it helps to find out what the actual problem is.

If the problem is due to the Indexing Service, you will find more info here: 
http://support.microsoft.com/?id=329065

To find out exactly what is causing the access denied you can use a good file system monitor, such as Filemon.

EPiTrace logger