By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,717 Members | 2,069 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,717 IT Pros & Developers. It's quick & easy.

Error system.io.exception

P: n/a
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

Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.