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

Hi,

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.

posted @ Monday, April 25, 2005 7:37 AM

Print

Comments on this entry:

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Xapatta at 5/16/2005 2:59 PM
Gravatar
Thanks a lot, I would never have thought about that...

It's working fine now :)

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Denis at 6/24/2005 1:29 AM
Gravatar
Thanks mate. You're an absolute legend. I've been trying to sort out this problem for over a month.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Kevin at 6/29/2005 4:32 PM
Gravatar
Thanks, you are the man.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Jason at 7/1/2005 5:46 PM
Gravatar
Thank you from India! This worked!!! Wahoo

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by thanhdt at 7/11/2005 1:45 AM
Gravatar
Thanks very much!

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Arun at 7/13/2005 9:40 AM
Gravatar
I was facing this pbm last one month...now its solved .thank u sir.thank u

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by 8 hours checking not why working at 7/17/2005 8:52 PM
Gravatar
THANK YOU

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by zorg2003 at 8/11/2005 9:15 AM
Gravatar
Excellent fix. thanks saved me hours of troublshoothing

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Raj Bulsara at 9/25/2005 8:42 PM
Gravatar
Good one bro. How the hell did you figure this one? I have been putting up with it for quite a while.

Cheers

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Raj K Gupta at 9/26/2005 6:22 AM
Gravatar
Dear Sir

I wil check it and defenitly inform you.

Raj
rajmca@yahoo.co.in

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Sushant Chalipat at 9/27/2005 7:12 AM
Gravatar
It works fine. No more restarting the Application , IIS and Rebooting. Thank you.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Patrick O at 10/11/2005 8:41 PM
Gravatar
I have this issue but am not using Indexing. Can you think of any other reason for the problem?

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Pete at 10/15/2005 3:54 PM
Gravatar
You absolute bloody genius!

I've been tearing my hair out for about an hour now because of this. Thanks to you I still have some hair left...

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by obinna at 10/19/2005 9:43 PM
Gravatar
fantastic insight. how could one have known that files in temp asp.net folder are being locked by indexing services. C'mon Microsoft, there's got to be a better way to make this obvious or prevent this from happening in the first place. btw, thnx harish.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by AK at 10/20/2005 2:14 PM
Gravatar
I continue receiving the same error after following your guidance.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Gaz at 11/3/2005 6:50 PM
Gravatar
Good work dude, this error has been annoying the hell out of me for days...

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by CCT at 11/30/2005 9:54 PM
Gravatar
Thanks..... good looking out.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Kishore at 2/3/2006 11:23 AM
Gravatar
Thanks a lot sir.I really appriciate you

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Saru at 3/10/2006 7:23 AM
Gravatar
Thxq Very Much

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by jebarson at 3/31/2006 3:37 AM
Gravatar
this is great man. i was thinking to reinstall. it was hatique restarting my system.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Tanveer Ahmed at 4/11/2006 8:42 AM
Gravatar
Thanks a lot!!

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Rey at 5/5/2006 6:47 PM
Gravatar
Thanks tons! This was driving me batty and I couldn't find anything from msoft regarding it...

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by marx at 5/31/2006 3:50 AM
Gravatar
well done! people like you make the world go around. thx a million.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by steve at 6/5/2006 2:51 AM
Gravatar
its working... thx a lot

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by muguran at 6/23/2006 11:23 AM
Gravatar
10x a lot
for week i'm fighting with this problem... :)

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Matt at 7/5/2006 7:25 PM
Gravatar
Thanks!!!

This has been killing me on-and-off for over 3 weeks!

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by George at 7/5/2006 11:21 PM
Gravatar
Thanks from China!

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by raja at 8/4/2006 7:35 AM
Gravatar
After doing this setting also i am facing the same problem

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Dave at 8/10/2006 12:31 PM
Gravatar
Worked for me! TX!

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Chetan at 9/27/2006 3:57 AM
Gravatar
Good solution. but dont know why with my application this solution didnt work.
After restarting Indesing and services at first run it no error came. but after changing some code when again I ran the application the that hell came again.
Can anybody suggest me where should be the problem?

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Andy at 9/28/2006 12:55 PM
Gravatar
Worked for me thanks a lot

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Andrew at 10/1/2006 7:35 PM
Gravatar
You're a genius, this has been doing my head for a week.....

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by lakshmi narayana at 10/3/2006 2:21 PM
Gravatar
Plese tell how to solve this problem

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by aussieBattler at 10/4/2006 7:19 AM
Gravatar
cheers mate.. :)

(from downunder)

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Kiran at 10/25/2006 7:22 AM
Gravatar
thank you so much

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Johann at 10/27/2006 8:14 PM
Gravatar
Thanks a lot. Instead of winnt I had to type windows (for XP Pro). What a relief.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Pascal at 11/28/2006 6:25 PM
Gravatar
Thanks a lot !!

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by kshakes at 11/29/2006 10:10 AM
Gravatar
Apart from checking the Index Server. Do check the Antivirus log. You need to exclude the Temporary ASP.NET folder from being scanned in the Antivirus. This solved the problem for me.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Paul at 12/7/2006 5:36 PM
Gravatar
This seemed to help but I'm still getting the problem sometimes. When I checked what program has a lock on files in the temporary ASP.NET folder, I found a program called cisvc.exe had a lock that was preventing me from running my app.

Here's what I found out about that exe file. I still don't know how to prevent it from locking files in my temp asp.net folder. Any ideas???

Description:
cisvc.exe is a process that belongs to the Microsoft Windows Operating System. It is used to monitor the memory usage in CIDAEMON.exe and prevent low memory problems. This is an essential system process and should not be removed. This program is an essential system process and should not be removed.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by ravijagannadh at 12/12/2006 6:00 AM
Gravatar
Thanks a lot .lot of time saving, i used to restart the system to solve this problem,
Now its solved.
thanks again.
ravijagannadh@gmail.com

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Gautham at 12/13/2006 7:32 AM
Gravatar
Gr8, i was having this issue for more than 6months, just today i tried to solve it and its solved :)

Regards,
Gautham
www.GauthamIT.com

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Juan M. Garcia at 12/22/2006 10:03 PM
Gravatar
Thanks, it worked very good...thanks a lot, it was a pain in the ass every moment.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by narayana at 1/17/2007 6:10 AM
Gravatar
thanks , it's working fine now

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Bahaa at 2/2/2007 2:10 AM
Gravatar
Thanks, you are the MAN. What a pain it was :-)

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Kenneth at 2/28/2007 9:00 AM
Gravatar
I also had this problem, but the sollutions described above did not solve the problem. Then I discovered that copernic desktop search was causing the problem. When closed it (shut down) the error disapeard :)

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Brad at 3/16/2007 2:30 AM
Gravatar
thanks a million for this one :)

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Ryan at 6/26/2007 9:11 AM
Gravatar
You 'da man Harish! Keep following your binary bliss.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Sam at 12/16/2007 10:14 PM
Gravatar
Thanks. You helped me out too.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Heavy G at 1/27/2008 5:23 AM
Gravatar
Brilliant! I'm working on a Sunday to get caught up and this error was killing me. Thanks for the help!

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Mahesh at 2/12/2008 7:34 AM
Gravatar
Thanks a lot. This really helped me.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Mahesh at 2/12/2008 7:34 AM
Gravatar
Thanks. This really helped me. Amazing insight

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Rich Lusk at 2/13/2008 8:51 AM
Gravatar
Fantastic Fix - Although Microsoft should be cursed for allowing such a thing to happen with absoluetly no clues for an application developer.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Jay-Z at 3/8/2008 3:33 PM
Gravatar
i had this message just now, and quickly thought it was some virus to think i actually put my password!!!good thing i didn't put MY password, get it?thanks a lot dude, awesome...anyway, i put in drive d:/ instead of c:/ as that's where my windows is found, will that be alright?

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by bharat at 6/2/2008 9:32 AM
Gravatar
thanks a lot man!!!!
u saved my life

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Matt Lacey at 9/11/2008 8:16 PM
Gravatar
Thanks, saved me a real headache.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Nicholas Cartwright at 9/22/2008 5:13 AM
Gravatar
Sincerest thanks, this makes a huge difference.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by BlackSiam at 3/26/2009 1:24 PM
Gravatar
Thanks a lot. you 've got my heart.

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

Left by priyanka at 4/10/2009 10:09 AM
Gravatar
please check this error.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by dessperated programer at 6/25/2009 5:08 PM
Gravatar
thanks thanks thanks ....

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Robson Mantovani at 7/1/2009 9:42 AM
Gravatar
obrigado, funcionou !!!

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by SK at 7/22/2009 12:10 PM
Gravatar
I had the same problem- There is another resolution. This applies to Windows Server 2003. Here's how:
1) Invoke IIS Manager (inetmgr.exe)
2) Expand Web Sites-->Default Web Site
3) Right-click on the app in question, and choose "Properties"
4) Note down the entry selected for "Application pool:"
5) Now, still in IIS Manager, expand "Application Pools"
6) Right-click on the application pool whose name was obtained in step 4, and choose "Properties"
7) In the Properties window, select the "Identity" tab
8) Under "Application pool identity", ensure that "Predefined" is selected
9) Click the dropdown for "Predefined"; select "Local System"
10) Click OK to the warning & save your changes
11) OK all the way out & restart IIS- check your app now; it should work

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Noizi at 8/13/2009 8:35 AM
Gravatar
You could do what was mentioned above, but that would be causing a security risk, as the Local System account typically has full control of the local box. The better solution is to give the Network Service account (or the local IIS_WPG group) Change access (read, write, modify, delete access) to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files. Then restart the Indexing Service, and stop and start the application pool.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by mini at 8/28/2009 2:00 AM
Gravatar
the issue is not resolved at...tried all the ways :( i have to deploy the dll . on another server its working file on local server. When i keep the same dll on another server. It is throwing the error.
Checked the IIS settngs . both the settings on the 2 servers is anonymous

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by mario oyunları at 9/21/2009 10:34 AM
Gravatar
How the hell did you figure this one? I have been putting up with it for quite a while.

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Miguel Aleman at 9/25/2009 9:50 AM
Gravatar
Excelent !! you saved my life !!

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Alan J at 11/6/2009 2:31 AM
Gravatar
Many thanks for this. It still works after all these years!

# re: "Parser Error Message: Access is denied: Source Error: Line 198: <add assembly="*"/> "

Left by Prasad at 12/27/2009 3:40 PM
Gravatar
Many thanks, it is working fine and your solution save me a lot of time.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«February»
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
28123456
78910111213