Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

During execution of a multi-tiered website, I get the following error that .Net can't load the following DLL (nOTICE THE DataAccessLayer.DLL)

 

Parser Error Message: Access is denied: 'DataAccessLayer'.

 

Source Error:

 

 

Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

Line 198: <add assembly="*"/>

Line 199: </assemblies>

Line 200: </compilation>

 

 

Source File: c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 198

 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'DataAccessLayer' could not be loaded.

 

 

=== Pre-bind state information ===

LOG: DisplayName = DataAccessLayer

(Partial)

LOG: Appbase = file:///c:/inetpub/wwwroot/Nicem_Scheduling

LOG: Initial PrivatePath = bin

Calling assembly : (Unknown).

===

 

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).

LOG: Post-policy reference: DataAccessLayer

LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/nicem_scheduling/4f9aa495/7b31bb07/DataAccessLayer.DLL.

LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/nicem_scheduling/4f9aa495/7b31bb07/DataAccessLayer/DataAccessLayer.DLL.

LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/Nicem_Scheduling/bin/DataAccessLayer.DLL.

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).

LOG: Post-policy reference: DataAccessLayer, Version=1.0.1298.25886, Culture=neutral, PublicKeyToken=null

 

 

Once I place the new version of this dll in the following directory "c:/inetpub/wwwroot/Nicem_Scheduling/bin", it works fine.

 

On subsequent executions of the same web page, I get the above error even though I havn't changed any settings or code on any of my 3 tiers.

 

I checked to make sure that the ASPNET user has Admin rights, which it does.

 

How can I resolve this situation?

Thanks,

 

Bill Yeager (MCP, BCIP)

Microsoft Certified Professional

Brainbench Certified Internet Professional, .Net Programmer, Computer Programmer

YeagerTech Consulting, Inc.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...