471,334 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,334 software developers and data experts.

Enterprise Library Issue

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\Confi g\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

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

Jul 26 '05 #1
1 3894
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..

Jul 27 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by srikash | last post: by
3 posts views Thread by veera sekhar kota | last post: by
reply views Thread by veera sekhar kota | last post: by
reply views Thread by veera sekhar kota | last post: by
1 post views Thread by Victor | last post: by
1 post views Thread by GaryDean | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.