Exception related to machine.config

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I have created a small project, which gives the dll when built. Other
project, which is done in ASP.NET is using this dll as reference. So when I
run the ASP.NET project sometimes, I will get this error.

"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"
and "Access is denied: 'Microsoft.ApplicationBlocks.Data'"

- This says the exception is in machine.config

I am restarting my machine to get ort of this exception. But the same
appears after some time. I am using Windows XP as my operating system. So
please let me know, how can I solve this problem.
 
I'm a little unsure of this one, but seeing as it is sporadic and that it is
an access denied error, are you running the Indexing Service on your dev
machine? If so, try stopping it, to see if that causes the problem.
 
Hello,
Thanks for the reply. But in the website I found some help regarding
this. They say to click a button 'Create' in the Virtual Directory tab of IIS
server. But I am unable to find this option in XP. This may be in Windows
2003. So what is the equivalent step in Windows XP?
 
Hi Sheshadrinath,
I used to get the same access denied problem .I also used to restart
my machine to get this error resolved.And also sometimes this error will
happen if we have added unused dll references in the project.If we delete the
unused dll this problem will be solved.If not unused dlls,the problem with
Queue services only as
thomsen said.
For more info you can look into this...
http://santhimaadhaven.blogsopt.com/2005/07/access-is-denied-to-references-error.html
 
Hello,
Thanks for the reply. But as you said, I am not using any usused dll. I
am using the components which are required for the project very much. I dont
find any usused dll's in my project.
 
Back
Top