Error Debugging

R

R. Ian Lee

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 "JSEMS.PDB"
is denied."

I have tried modifying the permissions on the bin 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.

Thanks!

Ian
 
R

R. Ian Lee

I resolved this problem by deleting the web application,
copying my source files to a different folder and
creating a new web application from the new folder. Go
figure...

Ian
 
M

msnews.microsoft.com

Well, maybe I didn't get it going... It worked for a few days, but now it's
not again and creating a new application isn't helping. If anyone has a
solution I would greatly appreciate it.

Thanks!

Ian
 
T

Tian Min Huang

Hi Ian,

Based on my experience and research, the problem may be caused if .pdb file
is being locked by aspnet_wp.exe process. I'd like to share the following
information with you:

1. Please check whether there is a trailing backslash at the end of the
path that is set for the root Web site. For example: C:\Inetpub\wwwroot\.
Please refer to the following KB article for detailed information:

FIX: ASP.NET Does Not Copy Files from Bin Directory to Temporary ASP.NET
Files
Folder
http://support.microsoft.com/?id=319991

2. When the problem starts, I suggest you restarts IIS, rebuild the project
and see if it works.

3. Do you have any Anti-virus application installed? If so, please disable
its real-time monitor functionality or even uninstall it and check if the
problem still occurs.

I look forward to hearing from you.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
 

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

Top