469,900 Members | 1,474 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,900 developers. It's quick & easy.

ASP.NET app fails to load, then suddenly starts behaving!

I recently had to rebuild an instance of SQL Server. When it was
restarted, one of the client apps (ASP.NET) could not connect - the
user could see the login screen, but it kept throwing exceptions.
Turns out that the database had been restored with a different name,
so the connection string (stored in web.config) was amended.

At that point the system failed to display even the login screen - it
failed with the error message shown at the foot of this message.

While we were scratching our heads (about 24 hours) the application
suddenly started working again. For no known reason - i.e. the
intranet server had no changes, no SPs, no HotFixes, nowt. It just
suddenly decided to play ball again.

Thoughts?

ERROR MESSAGE BEGIN

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: 'Interop.DAO'.

Source Error:

Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/
>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/
>
Line 258: <add assembly="*"/>

Line 259: </assemblies>

Line 260:

Source File: c:\windows\microsoft.net\framework\v1.1.4322\Confi g
\machine.config Line: 258

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

=== Pre-bind state information ===

LOG: DisplayName = Interop.DAO

(Partial)

LOG: Appbase = file:///C:/openshare/root/htdocs/cqdb

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: Interop.DAO

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
ASP.NET Files/cqdb/8e3a92e1/95733483/Interop.DAO.DLL.

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
ASP.NET Files/cqdb/8e3a92e1/95733483/Interop.DAO/Interop.DAO.DLL.

LOG: Attempting download of new URL file:///C:/openshare/root/htdocs/cqdb/bin/Interop.DAO.DLL.

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

LOG: Post-policy reference: Interop.DAO, Version=5.0.0.0,
Culture=neutral, PublicKeyToken=null

Sep 5 '07 #1
1 1379
<te********@hotmail.comwrote in message
news:11*********************@k79g2000hse.googlegro ups.com...
Thoughts?
Parser Error Message: Access is denied: 'Interop.DAO'.
What on earth is trying to use DAO via Interop in an ASP.NET app...???
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 5 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Odd Bjørn Andersen | last post: by
1 post views Thread by Beeeeeves | last post: by
29 posts views Thread by Ken Allen | last post: by
1 post views Thread by Russ | last post: by
5 posts views Thread by =?Utf-8?B?U2FsYW1FbGlhcw==?= | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.