ASP.NET Compiler error

J

Joseph Abreu

Sometimes I have to rebuild a few times to get the web app
to work --- I'm getting the following ("pilot" is the
assembly name) :
Compilation Error
Description: An error occurred during the compilation of a
resource required to service this request. Please review
the following specific error details and modify your
source code appropriately.

Compiler Error Message: BC31011: Unable to load referenced
library 'c:\windows\microsoft.net\framework\v1.1.4322
\temporary asp.net files\pilot\e0c5c290\de8f2787
\assembly\dl2\38c82cdc\008cb1e2_c555c201\mscomctl.dll':
Access is denied.

Source Error:



[No relevant source lines]


Source File: vbc : Line: 0
 
H

Herfried K. Wagner [MVP]

* "Joseph Abreu said:
Sometimes I have to rebuild a few times to get the web app
to work --- I'm getting the following ("pilot" is the
assembly name) :
Compilation Error
Description: An error occurred during the compilation of a
resource required to service this request. Please review
the following specific error details and modify your
source code appropriately.

Compiler Error Message: BC31011: Unable to load referenced
library 'c:\windows\microsoft.net\framework\v1.1.4322
\temporary asp.net files\pilot\e0c5c290\de8f2787
\assembly\dl2\38c82cdc\008cb1e2_c555c201\mscomctl.dll':
Access is denied.

Why do you use "mscomctl.dll"?
 
P

Peter Huang

Hi Joseph,

Based on my understanding, you want to compile an ASP.NET application and
get the BC31011 error.

You may take a look at the link below.
324519 PRB: "Can not Access File 'AssemblyName' Because It Is Being Used by
http://support.microsoft.com/?id=324519

Did this problem persist, if you create a new asp.net project and use the
mscomctl.dll?


Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
J

Joseph Abreu

I didn't realize I had the MSComCtl referenced -- long
night, I apologize if I wasted your time. Must have
accidently selected it along with something else. The
article did make since though because MSComCtl isn't
intended to be a webform control.

Thanks.
 
J

Joseph Abreu

I didn't realize I had the MSComCtl referenced -- long
night. Must have accidently selected it along with
something else.

Thanks.
 
P

Peter Huang

Hi Joseph,

I think you may try to create a new project and add the reference and
according code to see what dll cause the problem.

I will appreciate your efforts.

If you have any concern on this issue, please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
P

Peter Huang

Hi Joseph,

I am sorry, I wants to make a clarification.
What I mean is that to troubleshooting the problem you may try to create a
new project and add the references and the according code you use in the
original project one by one to see which reference or codeline cause the
problem.

I will appreciate your efforts.

If you have any concern on this issue, please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! 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