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

Random Compilation Error - Access Denied to my linked assemblies

P: n/a
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions.

I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about every 1 out of 10 times I try to start to run/debug a project (through Visual Studio)
Server Error in '/Intranet' Application.
--------------------------------------------------------------------------------

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:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\microsoft.web.ui.webcontrol s.dll': Access is denied.

---

As you can see it deals with the IE Web Controls assembly being referenced in my project, though I don't really think it is that assemblies problem. If I de-reference it, i'll start getting this error about other assemblies that are referenced. As I said this just randomly pops up, I find if I go back to my source and change something (like adding a space to the end of the line), I can re-build the solution and it'll load up great like nothing ever happened.

Let me assure you I've never messed with any security permissions on any of these directories: Here is the weird thing though, I've located the directory in question, and it has aspnet permissions, but if I look at the file properties, it has no security permissions tab (just a general tab). If I look at other assemblies in other directories, they have the full set of properties I can look at. Its almost like the file is being corrupted being copied from my /bin directory to this location. When the project is in working condition, I've found that these properties are back like they normally should be.

I've tried to create a whole new project/solution and relink all the souce files/assemblies again, that didn't work either. Also i've re-installed the framework and sdk, ran aspnet_regiis -i. Can anyone offer any help? This has really be driving me nuts for the last few months. Thanks for any help!

--Michael

Here are some more details:

---

C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.ex e" /t:library /utf8output /R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll"/R:"c:\winnt\assembly\gac\system.web.services\1.0.5 000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net files\intranet\afcfd835\53b5f06a\assembly\dl2\e86a ee54\766cc30f_6b28c401\tnc.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\microsoft.web.ui.webcontrol s.dll" /R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b7 7a5c561934e089\system.xml.dll" /R:"c:\winnt\assembly\gac\system.web.mobile\1.0.500 0.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net files\intranet\afcfd835\53b5f06a\assembly\dl2\8c1e 6153\e4b80e3c_7028c401\intranet.dll" /R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b 77a5c561934e089\system..data.dll" /R:"c:\winnt\assembly\gac\system.enterpriseservices \1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseser vices.dll" /R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b0 3f5f7f11d50a3a\system.web.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Te mporary ASP.NET Files\intranet\afcfd835\53b5f06a\pwwiblcl.dll" /D:DEBUG=1 /debug+ "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET Files\intranet\afcfd835\53b5f06a\pwwiblcl.0.vb"
Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

vbc : error BC31011: Unable to load referenced library 'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\microsoft.web.ui.webcontrol s.dll': Access is denied.
c:\winnt\microsoft.net\framework\v1.1.4322\tempora ry asp.net files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\microsoft.web.ui.webcontrol s.dll : error BC31011: Unable to load referenced library 'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\microsoft.web.ui.webcontrol s.dll': Access is denied.
vbc : error BC30142: Unable to generate a reference to file 'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\microsoft.web.ui.webcontrol s.dll' (use TLBIMP utility to reference COM DLLs): Access is denied.
Line 1: '------------------------------------------------------------------------------
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.573
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9: '------------------------------------------------------------------------------
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.HtmlControls
Line 27: Imports System.Web.UI.WebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31: <System.Runtime.CompilerServices.CompilerGlobalSco peAttribute()> _
Line 32: Public Class Global_asax
Line 33: Inherits Intranet.Global
Line 34:
Line 35: Private Shared __initialized As Boolean = false
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asax.__initialized = false) Then
Line 40: ASP.Global_asax.__initialized = true
Line 41: End If
Line 42: End Sub
Line 43: End Class
Line 44: End Namespace
Line 45:
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Nov 18 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
assemblies locked by your virus checker,or by index server???
"Raterus" <raterus@localhost> wrote in message
news:eW**************@TK2MSFTNGP11.phx.gbl...
I'm just throwing this error out for my sanity, I've seen posts about this,
but never solutions.

I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about
every 1 out of 10 times I try to start to run/debug a project (through
Visual Studio)
Server Error in '/Intranet' Application.
----------------------------------------------------------------------------
----

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:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.

---

As you can see it deals with the IE Web Controls assembly being referenced
in my project, though I don't really think it is that assemblies problem.
If I de-reference it, i'll start getting this error about other assemblies
that are referenced. As I said this just randomly pops up, I find if I go
back to my source and change something (like adding a space to the end of
the line), I can re-build the solution and it'll load up great like nothing
ever happened.

Let me assure you I've never messed with any security permissions on any of
these directories: Here is the weird thing though, I've located the
directory in question, and it has aspnet permissions, but if I look at the
file properties, it has no security permissions tab (just a general tab).
If I look at other assemblies in other directories, they have the full set
of properties I can look at. Its almost like the file is being corrupted
being copied from my /bin directory to this location. When the project is
in working condition, I've found that these properties are back like they
normally should be.

I've tried to create a whole new project/solution and relink all the souce
files/assemblies again, that didn't work either. Also i've re-installed the
framework and sdk, ran aspnet_regiis -i. Can anyone offer any help? This
has really be driving me nuts for the last few months. Thanks for any help!

--Michael

Here are some more details:

---

C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.ex e"
/t:library /utf8output
/R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll"
/R:"c:\winnt\assembly\gac\system.web.services\1.0.5 000.0__b03f5f7f11d50a3a\s
ystem.web.services.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\e86a ee54\766cc30f_6b28c401\tnc
..dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll"
/R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b7 7a5c561934e089\system.xml
..dll"
/R:"c:\winnt\assembly\gac\system.web.mobile\1.0.500 0.0__b03f5f7f11d50a3a\sys
tem.web.mobile.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary
asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\8c1e 6153\e4b80e3c_7028c401\int
ranet.dll"
/R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system
..drawing.dll"
/R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b 77a5c561934e089\system.da
ta.dll"
/R:"c:\winnt\assembly\gac\system.enterpriseservices \1.0.5000.0__b03f5f7f11d5
0a3a\system.enterpriseservices.dll"
/R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b0 3f5f7f11d50a3a\system.web
..dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Te mporary ASP.NET
Files\intranet\afcfd835\53b5f06a\pwwiblcl.dll" /D:DEBUG=1 /debug+
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\intranet\afcfd835\53b5f06a\pwwiblcl.0.vb"
Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

vbc : error BC31011: Unable to load referenced library
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.
c:\winnt\microsoft.net\framework\v1.1.4322\tempora ry asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll : error BC31011: Unable to load referenced
library 'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.
vbc : error BC30142: Unable to generate a reference to file
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll' (use TLBIMP utility to reference COM DLLs):
Access is denied.
Line 1:
'---------------------------------------------------------------------------
---
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.573
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will
be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9:
'---------------------------------------------------------------------------
---
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.HtmlControls
Line 27: Imports System.Web.UI.WebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime.CompilerServices.CompilerGlobalSco peAttribute()> _
Line 32: Public Class Global_asax
Line 33: Inherits Intranet.Global
Line 34:
Line 35: Private Shared __initialized As Boolean = false
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asax.__initialized = false) Then
Line 40: ASP.Global_asax.__initialized = true
Line 41: End If
Line 42: End Sub
Line 43: End Class
Line 44: End Namespace
Line 45:
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573

Nov 18 '05 #2

P: n/a
Virus checker locking it...hmmm never thought of that one. I'll try disabling it and see what happens.

"Joe Gass" <jo*@dontspamme.com> wrote in message news:uS**************@TK2MSFTNGP12.phx.gbl...
assemblies locked by your virus checker,or by index server???


"Raterus" <raterus@localhost> wrote in message
news:eW**************@TK2MSFTNGP11.phx.gbl...
I'm just throwing this error out for my sanity, I've seen posts about this,
but never solutions.

I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about
every 1 out of 10 times I try to start to run/debug a project (through
Visual Studio)
Server Error in '/Intranet' Application.
----------------------------------------------------------------------------
----

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:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.

---

As you can see it deals with the IE Web Controls assembly being referenced
in my project, though I don't really think it is that assemblies problem.
If I de-reference it, i'll start getting this error about other assemblies
that are referenced. As I said this just randomly pops up, I find if I go
back to my source and change something (like adding a space to the end of
the line), I can re-build the solution and it'll load up great like nothing
ever happened.

Let me assure you I've never messed with any security permissions on any of
these directories: Here is the weird thing though, I've located the
directory in question, and it has aspnet permissions, but if I look at the
file properties, it has no security permissions tab (just a general tab).
If I look at other assemblies in other directories, they have the full set
of properties I can look at. Its almost like the file is being corrupted
being copied from my /bin directory to this location. When the project is
in working condition, I've found that these properties are back like they
normally should be.

I've tried to create a whole new project/solution and relink all the souce
files/assemblies again, that didn't work either. Also i've re-installed the
framework and sdk, ran aspnet_regiis -i. Can anyone offer any help? This
has really be driving me nuts for the last few months. Thanks for any help!

--Michael



Here are some more details:

---

C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.ex e"
/t:library /utf8output
/R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll"
/R:"c:\winnt\assembly\gac\system.web.services\1.0.5 000.0__b03f5f7f11d50a3a\s
ystem.web.services.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\e86a ee54\766cc30f_6b28c401\tnc
.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll"
/R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b7 7a5c561934e089\system.xml
.dll"
/R:"c:\winnt\assembly\gac\system.web.mobile\1.0.500 0.0__b03f5f7f11d50a3a\sys
tem.web.mobile.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary
asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\8c1e 6153\e4b80e3c_7028c401\int
ranet.dll"
/R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system
.drawing.dll"
/R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b 77a5c561934e089\system..da
ta.dll"
/R:"c:\winnt\assembly\gac\system.enterpriseservices \1.0.5000.0__b03f5f7f11d5
0a3a\system.enterpriseservices.dll"
/R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b0 3f5f7f11d50a3a\system.web
.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Te mporary ASP.NET
Files\intranet\afcfd835\53b5f06a\pwwiblcl.dll" /D:DEBUG=1 /debug+
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\intranet\afcfd835\53b5f06a\pwwiblcl.0.vb"


Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

vbc : error BC31011: Unable to load referenced library
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.
c:\winnt\microsoft.net\framework\v1.1.4322\tempora ry asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll : error BC31011: Unable to load referenced
library 'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.
vbc : error BC30142: Unable to generate a reference to file
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll' (use TLBIMP utility to reference COM DLLs):
Access is denied.
Line 1:
'---------------------------------------------------------------------------
---
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.573
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will
be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9:
'---------------------------------------------------------------------------
---
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.HtmlControls
Line 27: Imports System.Web.UI.WebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime.CompilerServices.CompilerGlobalSco peAttribute()> _
Line 32: Public Class Global_asax
Line 33: Inherits Intranet.Global
Line 34:
Line 35: Private Shared __initialized As Boolean = false
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asax.__initialized = false) Then
Line 40: ASP.Global_asax.__initialized = true
Line 41: End If
Line 42: End Sub
Line 43: End Class
Line 44: End Namespace
Line 45:


----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573


Nov 18 '05 #3

P: n/a
Nope it wasn't the virus checker, still received the error. Don't know much about index servers, this is my local pc (windows 2000) that's causing the error, unless this index server runs by default, I've never enabled it.

"Raterus" <raterus@localhost> wrote in message news:eO**************@TK2MSFTNGP11.phx.gbl...
Virus checker locking it...hmmm never thought of that one. I'll try disabling it and see what happens.

"Joe Gass" <jo*@dontspamme.com> wrote in message news:uS**************@TK2MSFTNGP12.phx.gbl...
assemblies locked by your virus checker,or by index server???


"Raterus" <raterus@localhost> wrote in message
news:eW**************@TK2MSFTNGP11.phx.gbl...
I'm just throwing this error out for my sanity, I've seen posts about this,
but never solutions.

I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about
every 1 out of 10 times I try to start to run/debug a project (through
Visual Studio)
Server Error in '/Intranet' Application.
----------------------------------------------------------------------------
----

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:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.

---

As you can see it deals with the IE Web Controls assembly being referenced
in my project, though I don't really think it is that assemblies problem.
If I de-reference it, i'll start getting this error about other assemblies
that are referenced. As I said this just randomly pops up, I find if I go
back to my source and change something (like adding a space to the end of
the line), I can re-build the solution and it'll load up great like nothing
ever happened.

Let me assure you I've never messed with any security permissions on any of
these directories: Here is the weird thing though, I've located the
directory in question, and it has aspnet permissions, but if I look at the
file properties, it has no security permissions tab (just a general tab).
If I look at other assemblies in other directories, they have the full set
of properties I can look at. Its almost like the file is being corrupted
being copied from my /bin directory to this location. When the project is
in working condition, I've found that these properties are back like they
normally should be.

I've tried to create a whole new project/solution and relink all the souce
files/assemblies again, that didn't work either. Also i've re-installed the
framework and sdk, ran aspnet_regiis -i. Can anyone offer any help? This
has really be driving me nuts for the last few months. Thanks for any help!

--Michael



Here are some more details:

---

C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.ex e"
/t:library /utf8output
/R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll"
/R:"c:\winnt\assembly\gac\system.web.services\1.0.5 000.0__b03f5f7f11d50a3a\s
ystem.web.services.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\e86a ee54\766cc30f_6b28c401\tnc
.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll"
/R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b7 7a5c561934e089\system.xml
.dll"
/R:"c:\winnt\assembly\gac\system.web.mobile\1.0.500 0.0__b03f5f7f11d50a3a\sys
tem.web.mobile.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary
asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\8c1e 6153\e4b80e3c_7028c401\int
ranet.dll"
/R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system
.drawing.dll"
/R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b 77a5c561934e089\system..da
ta.dll"
/R:"c:\winnt\assembly\gac\system.enterpriseservices \1.0.5000.0__b03f5f7f11d5
0a3a\system.enterpriseservices.dll"
/R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b0 3f5f7f11d50a3a\system.web
.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Te mporary ASP.NET
Files\intranet\afcfd835\53b5f06a\pwwiblcl.dll" /D:DEBUG=1 /debug+
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\intranet\afcfd835\53b5f06a\pwwiblcl.0.vb"


Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

vbc : error BC31011: Unable to load referenced library
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.
c:\winnt\microsoft.net\framework\v1.1.4322\tempora ry asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll : error BC31011: Unable to load referenced
library 'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.
vbc : error BC30142: Unable to generate a reference to file
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll' (use TLBIMP utility to reference COM DLLs):
Access is denied.
Line 1:
'---------------------------------------------------------------------------
---
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.573
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will
be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9:
'---------------------------------------------------------------------------
---
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.HtmlControls
Line 27: Imports System.Web.UI.WebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime.CompilerServices.CompilerGlobalSco peAttribute()> _
Line 32: Public Class Global_asax
Line 33: Inherits Intranet.Global
Line 34:
Line 35: Private Shared __initialized As Boolean = false
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asax.__initialized = false) Then
Line 40: ASP.Global_asax.__initialized = true
Line 41: End If
Line 42: End Sub
Line 43: End Class
Line 44: End Namespace
Line 45:


----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573


Nov 18 '05 #4

P: n/a
I think it is enabled by default, check your services - if it's running try
disabling it.
If your problem goes away then you'll just need to mark certain directories
as not included in the index search.

"Raterus" <raterus@localhost> wrote in message
news:ut**************@TK2MSFTNGP10.phx.gbl...
Nope it wasn't the virus checker, still received the error. Don't know much
about index servers, this is my local pc (windows 2000) that's causing the
error, unless this index server runs by default, I've never enabled it.

"Raterus" <raterus@localhost> wrote in message
news:eO**************@TK2MSFTNGP11.phx.gbl...
Virus checker locking it...hmmm never thought of that one. I'll try
disabling it and see what happens.

"Joe Gass" <jo*@dontspamme.com> wrote in message
news:uS**************@TK2MSFTNGP12.phx.gbl...
assemblies locked by your virus checker,or by index server???
"Raterus" <raterus@localhost> wrote in message
news:eW**************@TK2MSFTNGP11.phx.gbl...
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions.

I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about
every 1 out of 10 times I try to start to run/debug a project (through
Visual Studio)
Server Error in '/Intranet' Application.
-------------------------------------------------------------------------- -- ----

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:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic rosoft.web.ui.webcontrols.dll': Access is denied.

---

As you can see it deals with the IE Web Controls assembly being referenced
in my project, though I don't really think it is that assemblies problem.
If I de-reference it, i'll start getting this error about other assemblies
that are referenced. As I said this just randomly pops up, I find if I go
back to my source and change something (like adding a space to the end of
the line), I can re-build the solution and it'll load up great like nothing ever happened.

Let me assure you I've never messed with any security permissions on any of these directories: Here is the weird thing though, I've located the
directory in question, and it has aspnet permissions, but if I look at the
file properties, it has no security permissions tab (just a general tab).
If I look at other assemblies in other directories, they have the full set
of properties I can look at. Its almost like the file is being corrupted
being copied from my /bin directory to this location. When the project is
in working condition, I've found that these properties are back like they
normally should be.

I've tried to create a whole new project/solution and relink all the souce
files/assemblies again, that didn't work either. Also i've re-installed the framework and sdk, ran aspnet_regiis -i. Can anyone offer any help? This
has really be driving me nuts for the last few months. Thanks for any help!
--Michael

Here are some more details:

---

C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.ex e"
/t:library /utf8output
/R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll"
/R:"c:\winnt\assembly\gac\system.web.services\1.0.5 000.0__b03f5f7f11d50a3a\s ystem.web.services.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\e86a ee54\766cc30f_6b28c401\tnc .dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic rosoft.web.ui.webcontrols.dll"
/R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b7 7a5c561934e089\system.xml .dll"
/R:"c:\winnt\assembly\gac\system.web.mobile\1.0.500 0.0__b03f5f7f11d50a3a\sys tem.web.mobile.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\8c1e 6153\e4b80e3c_7028c401\int ranet.dll"
/R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system .drawing.dll"
/R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b 77a5c561934e089\system.da ta.dll"
/R:"c:\winnt\assembly\gac\system.enterpriseservices \1.0.5000.0__b03f5f7f11d5 0a3a\system.enterpriseservices.dll"
/R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b0 3f5f7f11d50a3a\system.web .dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Te mporary ASP.NET
Files\intranet\afcfd835\53b5f06a\pwwiblcl.dll" /D:DEBUG=1 /debug+
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\intranet\afcfd835\53b5f06a\pwwiblcl.0.vb"
Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

vbc : error BC31011: Unable to load referenced library
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic rosoft.web.ui.webcontrols.dll': Access is denied.
c:\winnt\microsoft.net\framework\v1.1.4322\tempora ry asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic rosoft.web.ui.webcontrols.dll : error BC31011: Unable to load referenced
library 'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic rosoft.web.ui.webcontrols.dll': Access is denied.
vbc : error BC30142: Unable to generate a reference to file
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic rosoft.web.ui.webcontrols.dll' (use TLBIMP utility to reference COM DLLs):
Access is denied.
Line 1:
'--------------------------------------------------------------------------- ---
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.573
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9:
'--------------------------------------------------------------------------- ---
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.HtmlControls
Line 27: Imports System.Web.UI.WebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime.CompilerServices.CompilerGlobalSco peAttribute()> _
Line 32: Public Class Global_asax
Line 33: Inherits Intranet.Global
Line 34:
Line 35: Private Shared __initialized As Boolean = false
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asax.__initialized = false) Then
Line 40: ASP.Global_asax.__initialized = true
Line 41: End If
Line 42: End Sub
Line 43: End Class
Line 44: End Namespace
Line 45:
-------------------------------------------------------------------------- -- ----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Nov 18 '05 #5

P: n/a
Unfortunately it wasn't the problem, so I don't know what may be wrong. Here is an article about the index server problem if anyone else may find it useful.

http://support.microsoft.com/default...b;en-us;329065

"Joe Gass" <jo*@dontspamme.com> wrote in message news:u1*************@TK2MSFTNGP11.phx.gbl...
I think it is enabled by default, check your services - if it's running try
disabling it.
If your problem goes away then you'll just need to mark certain directories
as not included in the index search.

"Raterus" <raterus@localhost> wrote in message
news:ut**************@TK2MSFTNGP10.phx.gbl...
Nope it wasn't the virus checker, still received the error. Don't know much
about index servers, this is my local pc (windows 2000) that's causing the
error, unless this index server runs by default, I've never enabled it.

"Raterus" <raterus@localhost> wrote in message
news:eO**************@TK2MSFTNGP11.phx.gbl...
Virus checker locking it...hmmm never thought of that one. I'll try
disabling it and see what happens.

"Joe Gass" <jo*@dontspamme.com> wrote in message
news:uS**************@TK2MSFTNGP12.phx.gbl...
assemblies locked by your virus checker,or by index server???
"Raterus" <raterus@localhost> wrote in message
news:eW**************@TK2MSFTNGP11.phx.gbl...
I'm just throwing this error out for my sanity, I've seen posts about

this,
but never solutions.

I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about
every 1 out of 10 times I try to start to run/debug a project (through
Visual Studio)
Server Error in '/Intranet' Application.
--------------------------------------------------------------------------

--
----

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:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net

files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.

---

As you can see it deals with the IE Web Controls assembly being referenced
in my project, though I don't really think it is that assemblies problem.
If I de-reference it, i'll start getting this error about other assemblies
that are referenced. As I said this just randomly pops up, I find if I go
back to my source and change something (like adding a space to the end of
the line), I can re-build the solution and it'll load up great like

nothing
ever happened.

Let me assure you I've never messed with any security permissions on any

of
these directories: Here is the weird thing though, I've located the
directory in question, and it has aspnet permissions, but if I look at the
file properties, it has no security permissions tab (just a general tab).
If I look at other assemblies in other directories, they have the full set
of properties I can look at. Its almost like the file is being corrupted
being copied from my /bin directory to this location. When the project is
in working condition, I've found that these properties are back like they
normally should be.

I've tried to create a whole new project/solution and relink all the souce
files/assemblies again, that didn't work either. Also i've re-installed

the
framework and sdk, ran aspnet_regiis -i. Can anyone offer any help? This
has really be driving me nuts for the last few months. Thanks for any

help!

--Michael

Here are some more details:

---

C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.ex e"
/t:library /utf8output
/R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll"

/R:"c:\winnt\assembly\gac\system.web.services\1.0.5 000.0__b03f5f7f11d50a3a\s
ystem.web.services.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net

files\intranet\afcfd835\53b5f06a\assembly\dl2\e86a ee54\766cc30f_6b28c401\tnc
.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net

files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll"

/R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b7 7a5c561934e089\system.xml
.dll"

/R:"c:\winnt\assembly\gac\system.web.mobile\1.0.500 0.0__b03f5f7f11d50a3a\sys
tem.web.mobile.dll"

/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary
asp.net

files\intranet\afcfd835\53b5f06a\assembly\dl2\8c1e 6153\e4b80e3c_7028c401\int
ranet.dll"

/R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system
.drawing.dll"

/R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b 77a5c561934e089\system..da
ta.dll"

/R:"c:\winnt\assembly\gac\system.enterpriseservices \1.0.5000.0__b03f5f7f11d5
0a3a\system.enterpriseservices.dll"

/R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b0 3f5f7f11d50a3a\system.web
.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Te mporary ASP.NET
Files\intranet\afcfd835\53b5f06a\pwwiblcl.dll" /D:DEBUG=1 /debug+
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\intranet\afcfd835\53b5f06a\pwwiblcl.0.vb"
Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

vbc : error BC31011: Unable to load referenced library
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net

files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.
c:\winnt\microsoft.net\framework\v1.1.4322\tempora ry asp.net

files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll : error BC31011: Unable to load referenced
library 'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net

files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll': Access is denied.
vbc : error BC30142: Unable to generate a reference to file
'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net

files\intranet\afcfd835\53b5f06a\assembly\dl2\f75c 90cf\062cca1c_e423c401\mic
rosoft.web.ui.webcontrols.dll' (use TLBIMP utility to reference COM DLLs):
Access is denied.
Line 1:

'---------------------------------------------------------------------------
---
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.573
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and

will
be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9:

'---------------------------------------------------------------------------
---
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.HtmlControls
Line 27: Imports System.Web.UI.WebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime.CompilerServices.CompilerGlobalSco peAttribute()> _
Line 32: Public Class Global_asax
Line 33: Inherits Intranet.Global
Line 34:
Line 35: Private Shared __initialized As Boolean = false
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asax.__initialized = false) Then
Line 40: ASP.Global_asax.__initialized = true
Line 41: End If
Line 42: End Sub
Line 43: End Class
Line 44: End Namespace
Line 45:
--------------------------------------------------------------------------

--
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573;

ASP.NET
Version:1.1.4322.573


Nov 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.