Enterprise Library Issue

J

john wright

I am developing
a Web App using the 1.1 framework. I am using the Enterprise Application
Blocks for this program (espcially the data access block). Everything is
working well, except when I add new controls or code I get this error. To
resolve the error, I have to close down my development environment, stop the
server and clear the Temporary ASP.NET files for my project. Does anyone
know what is causing this error. Thanks.

John




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:
'Microsoft.Practices.EnterpriseLibrary.Common'.

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 'Microsoft.Practices.EnterpriseLibrary.Common' could not be
loaded.

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Practices.EnterpriseLibrary.Common
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/RISS
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: Microsoft.Practices.EnterpriseLibrary.Common
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/riss/4a7a4183/76897067/Microsoft.Practices.EnterpriseLibrary.Common.DL
L.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/riss/4a7a4183/76897067/Microsoft.Practices.EnterpriseLibrary.Common/Mi
crosoft.Practices.EnterpriseLibrary.Common.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/RISS/bin/Microsoft.Practices.EnterpriseLibrary.Common.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.Practices.EnterpriseLibrary.Common,
Version=1.1.0.0, Culture=neutral, PublicKeyToken=null
 
D

dincerozturan

Indexing Service may cause such a problem. If Indexing Service is open
on your computer then, you should exlude them from indexing
directories:

1. Open Computer Management from Administrative Tools on your computer.

2. Navigate to Indexing Service under Services and Applications.
3. Select "Web" under Indexing Service
4. On the right pane Right Click mouse and chose New>Directory
5. Add the paths where your web pages (asp) are (Ex: c:\inetpub)
6. Repeat this for all virtual directories..

I hope this helps..
 

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