Can anyone please explain me the cause and resolution of
this error.
TIA
Sammy
Server Error in '/' Application.
The device is not ready.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originated in the code.
Exception Details: System.IO.IOException: The device is
not ready.
Source Error:
An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.
Stack Trace:
[IOException: The device is not ready.
]
System.IO.__Error.WinIOError(Int32 errorCode, String
str) +723
System.IO.FileStream..ctor(String path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize,
Boolean useAsync, String msgPath, Boolean bFromProxy) +888
System.IO.FileStream..ctor(String path, FileMode mode,
FileAccess access, FileShare share) +45
System.Xml.XmlDownloadManager.GetStream(Uri uri,
ICredentials credentials) +73
System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri,
String role, Type ofObjectToReturn) +55
System.Xml.XmlTextReader.CreateScanner() +384
System.Xml.XmlTextReader.Init() +23
System.Xml.XmlTextReader.Read() +530
System.Xml.XmlValidatingReader.ReadWithCollectText Token
() +146
System.Xml.XmlValidatingReader.Read() +26
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader
reader, Boolean preserveWhitespace) +80
System.Xml.XmlDocument.Load(XmlReader reader) +72
System.Xml.XmlDocument.Load(String filename) +78
Base.DomainLogic.BaseClass._GetCon() +83
Base.DomainLogic.Util..ctor() +35
BaseDOTNET.Search.populateDDWFromUtilOperators
(DropDownList& d1, String type) +43
BaseDOTNET.Search.SetPageVariables() +43
BaseDOTNET.Search.Page_Load(Object sender, EventArgs e)
+7
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731 1 6298
If you open a file for writing or appending, and don't close it, it will
remain locked. I suspect that this is the cause of your problem.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Sammy" <sa*******@hotmail.com> wrote in message
news:09****************************@phx.gbl... Can anyone please explain me the cause and resolution of this error. TIA Sammy
Server Error in '/' Application.
The device is not ready. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.IOException: The device is not ready.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IOException: The device is not ready. ] System.IO.__Error.WinIOError(Int32 errorCode, String str) +723 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +45 System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +73 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +55 System.Xml.XmlTextReader.CreateScanner() +384 System.Xml.XmlTextReader.Init() +23 System.Xml.XmlTextReader.Read() +530 System.Xml.XmlValidatingReader.ReadWithCollectText Token () +146 System.Xml.XmlValidatingReader.Read() +26 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +80 System.Xml.XmlDocument.Load(XmlReader reader) +72 System.Xml.XmlDocument.Load(String filename) +78 Base.DomainLogic.BaseClass._GetCon() +83 Base.DomainLogic.Util..ctor() +35 BaseDOTNET.Search.populateDDWFromUtilOperators (DropDownList& d1, String type) +43 BaseDOTNET.Search.SetPageVariables() +43 BaseDOTNET.Search.Page_Load(Object sender, EventArgs e) +7 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +731 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: D A H |
last post by:
I have gotten the same exception in multiple projects.
I have solved the underlying problem.
My question is if anyone knew of a setting that would cause this
exception to be thrown.
A...
|
by: James Wallace |
last post by:
I hope that someone can help me out there with this problem.
I get an itermittant problem with our web page that occurs about once
every 10 to 15 days where the only way to fix the problem is to...
|
by: Plat |
last post by:
I've Googled this for a while, to no avail. Hopefully someone can help me.
Maybe I'm using the wrong terminology.
Here's the scoop! Let's say I've got a simple *.ASPX page that has a syntax...
|
by: Patrick |
last post by:
I understand it is built in behaviour that if an ASP.NET's web.config is set
to:
<customErrors
mode="RemoteOnly"
/>
then I only get a detailed error message on screen when the ASP.NET...
|
by: tshad |
last post by:
If you get an exception or SqlException, how do you get the actual message?
Not the detailed breakdown, but the actual message.
For example, in the following message, I would like to find just...
|
by: jcrouse |
last post by:
I am using the following code to trap errors in a sub routine:
Try
Executable code
Catch ex As Exception
Dim strInputE As String = Application.StartupPath & "\Error.txt"
Dim srE As...
|
by: tshad |
last post by:
This has been driving me crazy.
I have been trying to get the error handling working on my system and can
get parts of it working and others won't work at all.
I found that you can't access...
|
by: tshad |
last post by:
I have set up an error handler in the Global.asax, but it doesn't give me
the information I can get from the Normal Windows Error page.
This is really preventing me from being able to fix errors...
|
by: arun1985 |
last post by:
In the project i am using i am having the following code and when i upload it to the server.Its givig me the following error in the global.cs file.
Server Error in '/' Application. ...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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,...
|
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...
|
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...
| |