473,581 Members | 2,304 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.



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

Parser Error Message: Access is denied: 'Interop.DAO'.

Source Error:

Line 256: <add assembly="Syste m.EnterpriseSer vices,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/
Line 257: <add assembly="Syste m.Web.Mobile,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/
Line 258: <add assembly="*"/>

Line 259: </assemblies>

Line 260:

Source File: c:\windows\micr osoft.net\frame work\v1.1.4322\ Config
\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


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= ,
Culture=neutral , PublicKeyToken= null

Sep 5 '07 #1
1 1505
<te********@hot mail.comwrote in message
news:11******** *************@k 79g2000hse.goog legroups.com...
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

Sep 5 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

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 load Java class "COM/ibm/db2/app/sqlejProcs", reason code "4". SQLSTATE=42724 This suddenly appeared after applying a fixpack. I have run bind on...
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 setup project to install it, then attach to its process, very successfully for quite a while, I was almost thinking how well it was behaving - now...
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 systems of late), there is an entry in the Event Log immediately after a boot indicating that the service failed to start after 30,000 milliseconds....
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 DLL's used by my web service because I recopied the DLL's and it started working. But then I made a single change to the web service itself and...
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 iis app is still there.
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 and all icons on desktop disapears. But when the system is powered on again, it shows all the icons normally, and it starts working in healthy mode....
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 our sheets are kept in a DB, loading by content is preferable. Content based load code: Stream xslStream = new MemoryStream(xslString);...
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 be relevant. On my development machine I build the exe and dll and run the exe which has a reference to the dll. At some point it uses featured in...
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 unit tests, what I need to do is run a load test against my executable and watch CPU utilization and memory usage. When doing web load testing, a...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.