Strange Periodic Error When Debugging

T

TJO

I am building an asp.net application on my machine and every so often when i
press F5 to debug i get the following error. This is most annoying because
the only way to eleviate the error is reboot. Even iisreset does not work.
Please help.


Server Error in '/myapp' 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: 'my_DAL'.

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 'my_DAL' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = my_DAL
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/myappLOG: 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: my_DAL
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/newtheodellsorg/218982ac/b733b907/my_DAL.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/newtheodellsorg/218982ac/b733b907/my_DAL/my_DAL.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/NewTheOdellsOrg/bin/Odell_DAL.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: my_DAL, Version=1.0.1602.18175, Culture=neutral,
PublicKeyToken=null
 
G

Guest

There is a nifty tool called ntfilemon which can be used to troubleshoot
File Access Permissions if one is a tech-savvy debugger. NTFileMon is a free
File Monitoring tool provided by Systernals or SysInternals. Check Google
for it

Secondly, I would check if you have the Indexing service enabled try going
to
Start -> Administration Tools -> Computer Management -> Services and
Applications -> Indexing Service -> System -> Directories
C:\WINNT\Microsoft.NET\Framework
Try Adding that directory by right clicking and going new -> Directory
Select "No" to Including index

http://support.microsoft.com/default.aspx?scid=kb;en-us;329065

Hope this helps


savv
 

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

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,186
Latest member
vinaykumar_nevatia

Latest Threads

Top