473,394 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

A first chance exception of type System.UnauthorizedAccessExceptio

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\Tempo rary
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.

--
camp
Nov 19 '05 #1
0 1343

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: illegal.prime | last post by:
Hi all, I've got a client/server application and just wanted to ensure that this is expected behavior. I recently set the following configuration in Visual Studio: Debug->Exceptions->Break Into...
7
by: illegal.prime | last post by:
Hi all, I've got a client/server application and just wanted to ensure that this is expected behavior. I recently set the following configuration in Visual Studio: Debug->Exceptions->Break Into...
3
by: GS | last post by:
why am i getting A first chance exception of type 'System.NullReferenceException' occurred in myapp.exe below? and what can i do get rid of it? Private Function getPrefxType() As String If...
6
by: zubair1 | last post by:
Hi, Today, i added some new code which was to see if a file is locked or not (in use by another application). While i did that it was showing me some errors like in the Output window:- A first...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.