"Parser Error Message: Access is denied: Source Error: Line 198: "


One of the stunning errors you may get while trying to browse your page is

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: 'MyWebApp'.

Source Error:

Line 198: <add assembly="*"/>

As you can see the debug information is quite unclear and it would leave no trace of idea as to where the problem is.

The actual problem is because of the Microsoft Indexing Services which scans the Temporary ASP.NET Files and while doing so, the system puts a lock on the same.

To resolve this, the following steps need to be carried out:-

1. Start - Settings - Control Panel - Administrative Tools - Computer mangement.

2. Expand the services and applications node and select the Indexing service node.

3. Expand the Indexing Service Node and then select and expand the System Node.

4. Right click on Directories and select new directory. browse the path to the temporary asp.net files c:\winnt\microsoft.net\framework\v1.1.4322\.

5. Select the temporary asp.net files. give ok and then select the "NO" in the Include in index radiobutton.

6. give ok and then stop and start the indexing service.

this should solve the problem.

Print | posted on Monday, April 25, 2005 7:37 AM

Comments on this post

# <%@ Page language="c#" Codebehind="mainloginpage.aspx.cs" AutoEventWireup="false" Inherits="jsspucw.mainloginpage" %>

Requesting Gravatar...
please check this error.
Left by priyanka on Apr 10, 2009 10:09 AM

# Mr

Requesting Gravatar...
Thanks for your help - Great post.

Check out computers at Ebuyer.com for great prices and deals.
Left by David Low on Nov 22, 2010 5:44 PM

Your comment:

 (will show your gravatar)