By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

ASP.NET Compiler error

P: n/a
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

Nov 20 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
* "Joseph Abreu" <jo**********@fmcti.com> scripsit:
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"?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

P: n/a
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.

Nov 20 '05 #3

P: n/a
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.
-----Original Message-----
Hi Joseph,

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

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

Did this problem persist, if you create a new asp.net project and use themscomctl.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.
.

Nov 20 '05 #4

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

Thanks.
-----Original Message-----
* "Joseph Abreu" <jo**********@fmcti.com> scripsit:
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"?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
.

Nov 20 '05 #5

P: n/a
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.

Nov 20 '05 #6

P: n/a
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.

Nov 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.