473,385 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 1485
<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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Odd Bjørn Andersen | last post by:
When trying to build a stored procedure from Stored Procedure Builder, I get the following error message: SQL4304N Java stored procedure or user-defined function ".", specific name "" could not...
1
by: Beeeeeves | last post by:
Hi, hope somebody can help... I have created a service which has a filesystemwatcher as its main component, it then logs information received in the events to an access database. I was using a...
29
by: Ken Allen | last post by:
I have a number of services developed in C# (.Net), and they have been working fine for the most part. Recently someone reported that ipon occassion (originally rarely, but more frequently on some...
1
by: Russ | last post by:
Can anyone please explain what the following means, and how to debug? Everything was working fine and suddenly nothing is working due to this failure. I thought it was due to a DLL mismatch in the...
1
by: z f | last post by:
hi, I have a vb.net asp.net web app. suddenly after working for long time, I get this error message in my app: Could not load type when trying to show a web form. what can be the error? the...
2
by: MOHAN6491 | last post by:
Dear Friends, Please suggest me to solve my problem I have 4 systems connected in LAN. System are not connected to Internet. From the last month, Suddenly, the system halts without any responce...
0
by: mrjaxon | last post by:
Basically the issue is, when the XSL style sheet is loaded by URI it is cool but when the exact same style sheet loaded by it's contents the load fails (for this particular style sheet). Because...
8
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not...
5
by: =?Utf-8?B?U2FsYW1FbGlhcw==?= | last post by:
Hi, I know that VS 2005 has a lot of testing features and already used them for doing web load testing. I am wondering if it is possible to load test a win forms application. I don't mean writing...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.