A first chance exception of type System.UnauthorizedAccessExceptio

G

Guest

Hi,
The question bellow was posted on .NET 247 with no resolve (issue seems to
be extremly difficult)
I am having exactly the same problem, so I copied the question and pasted it
bellow for Microsoft:

QUESTION
------------
I'm running VS.NET 2003. I have an ASP.NET application
that has been working just fine in both debug &
production modes. But, now when I try to run the
application through debug mode I usually get the
following message before the application starts.

"A first chance exception of
type 'System.UnauthorizedAccessException' occurred in
mscorlib.dll

Additional Information: Access to the path...
is denied."
where the path is in C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\
and the file is variably a dll or pdb file that asp.net uses temporarily.

I have tried modifying the permissions on the folder
where this file resides and it doesn't seem to help.
Currently, I've got security set to full permissions
for "Everyone" and I still get the error.

Occassionally, I am able to get it to work but there
doesn't seem to be any real pattern to it. By using
the "Start Without Debugging" option I am able to run the
application, but obviously it doesn't help when debugging.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top