Why am I getting this error?

W

William Gower

I am trying to display a page that has a data grid on it. I get this
message

Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

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:\windows\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:/USITracking
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:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/usitracking/d09e77ff/f70ca867/DataAccessLayer.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/usitracking/d09e77ff/f70ca867/DataAccessLayer/DataAccessLayer.DLL.
LOG: Attempting download of new URL
file:///C:/USITracking/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.1672.21918,
Culture=neutral, PublicKeyToken=null
 
J

John Saunders

William Gower said:
I am trying to display a page that has a data grid on it. I get this
message

Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

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>

The "<add assembly="*"/>" line is the big clue. Are you running Indexing
Service on the web server machine? If so, stop the service and the problem
should go away.
 
Z

zxc

i am getting same kind of error and i don't any index service running on
my machine. I just create application using VS.net and ran that
application getting below error.... pls advise me what could be the
issue

Server Error in '/WebApplication1' Application.
Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

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

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:\windows\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 'WebApplication1' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = WebApplication1
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/WebApplication1
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: WebApplication1
LOG: Attempting download of new URL
file:///c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary

ASP.NET Files/webapplication1/8dd84b00/b065eec7/WebApplication1.DLL.
LOG: Attempting download of new URL
file:///c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary

ASP.NET
Files/webapplication1/8dd84b00/b065eec7/WebApplication1/WebApplication1.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/WebApplication1/bin/WebApplication1.DLL.
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).


LOG: Post-policy reference: WebApplication1, Version=1.0.2934.42794,
Culture=neutral, PublicKeyToken=null


Version Information: Microsoft .NET Framework Version:1.1.4322.2407;
ASP.NET Version:1.1.4322.2407
 

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