RE: Compile Problem: BC31011- Access is denied
From: Patrick.O.Ige (PatrickOIge_at_discussions.microsoft.com)
Date: 11/15/04
- Next message: John Saunders: "Re: .NET vs. Java: ViewState"
- Previous message: Joe: "RE: Need some help with login script"
- In reply to: Brad: "Compile Problem: BC31011- Access is denied"
- Next in thread: Steven Cheng[MSFT]: "RE: Compile Problem: BC31011- Access is denied"
- Reply: Steven Cheng[MSFT]: "RE: Compile Problem: BC31011- Access is denied"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 15 Nov 2004 14:55:07 -0800
It seems its a security error! ur application is begin denied to load ref
libraries.
Do u have the ASP.NEt account and does that have access to the neccessary
folders?
"Brad" wrote:
> After compiling my asp.net project I'm receiving a "BC31011 - Access is
> denied" error when attempting to run or debug. The only thing that seems to
> resolve problem is IISReset. After a reset my project runs fine for several
> compiles then the error starts up again...and another iisreset. I seem to
> recall a similar issue a long time back which required turning off indexing,
> which I have had off since (I just re-checked to confirm it is off).
>
> Full error message is below.
> Running .Net 1.1 on Win2003 server
>
> - Brad
>
> ===============================================
> Server Error in '/SIDO' 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:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\5450e5d4\ca86261e_b449c401\county.
> dll': Access is denied.
>
> Source Error:
>
>
> [No relevant source lines]
>
>
> Source File: vbc : Line: 0
>
>
>
> Show Detailed Compiler Output:
>
> c:\windows\system32\inetsrv>
> "c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library
> /utf8output
> /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.w
> eb.dll"
> /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\2730c84d\14e21f86_5bcbc401\county.
> web.controls.dll"
> /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a
> \system.web.services.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\5450e5d4\ca86261e_b449c401\county.
> dll"
> /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.x
> ml.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\545ae25e\be5d7576_ac4cc401\county.
> exception.dll"
> /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\syst
> em.drawing.dll"
> /R:"c:\windows\assembly\gac\system.web.ui.mobilecontrols.adapters\1.1.0.0__b
> 03f5f7f11d50a3a\system.web.ui.mobilecontrols.adapters.dll"
> /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\s
> ystem.web.mobile.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\b9c8a8ca\04427f86_5bcbc401\sido.we
> b.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\c3facbc2\7a9fd596_b1c5c401\county.
> dataconnecter.dll"
> /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.
> data.dll"
> /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11
> d50a3a\system.enterpriseservices.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\5f320a44\10ba3786_5bcbc401\sido.da
> taaccess.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
> ASP.NET Files\sido\afa6eed6\2910c648\bd5mutej.dll" /D:DEBUG=1 /debug+
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\sido\afa6eed6\2910c648\bd5mutej.0.vb"
>
>
> Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
> for Microsoft (R) .NET Framework version 1.1.4322.2032
> Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.
>
> vbc : error BC31011: Unable to load referenced library
> 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\5450e5d4\ca86261e_b449c401\county.
> dll': Access is denied.
> c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\5450e5d4\ca86261e_b449c401\county.
> dll : error BC31011: Unable to load referenced library
> 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\5450e5d4\ca86261e_b449c401\county.
> dll': Access is denied.
> vbc : error BC30142: Unable to generate a reference to file
> 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\sido\afa6eed6\2910c648\assembly\dl2\5450e5d4\ca86261e_b449c401\county.
> dll' (use TLBIMP utility to reference COM DLLs): Access is denied.
>
>
>
>
>
> Show Complete Compilation Source:
>
> Line 1:
> '---------------------------------------------------------------------------
> ---
> Line 2: ' <autogenerated>
> Line 3: ' This code was generated by a tool.
> Line 4: ' Runtime Version: 1.1.4322.2032
> 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.CompilerGlobalScopeAttribute()> _
> Line 32: Public Class Global_asax
> Line 33: Inherits SIDO.Web.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.2032; ASP.NET
> Version:1.1.4322.2032
>
>
>
>
>
- Next message: John Saunders: "Re: .NET vs. Java: ViewState"
- Previous message: Joe: "RE: Need some help with login script"
- In reply to: Brad: "Compile Problem: BC31011- Access is denied"
- Next in thread: Steven Cheng[MSFT]: "RE: Compile Problem: BC31011- Access is denied"
- Reply: Steven Cheng[MSFT]: "RE: Compile Problem: BC31011- Access is denied"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|