473,804 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error system.io.excep tion

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.IOExc eption: 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.__Err or.WinIOError(I nt32 errorCode, String
str) +723
System.IO.FileS tream..ctor(Str ing path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize,
Boolean useAsync, String msgPath, Boolean bFromProxy) +888
System.IO.FileS tream..ctor(Str ing path, FileMode mode,
FileAccess access, FileShare share) +45
System.Xml.XmlD ownloadManager. GetStream(Uri uri,
ICredentials credentials) +73
System.Xml.XmlU rlResolver.GetE ntity(Uri absoluteUri,
String role, Type ofObjectToRetur n) +55
System.Xml.XmlT extReader.Creat eScanner() +384
System.Xml.XmlT extReader.Init( ) +23
System.Xml.XmlT extReader.Read( ) +530
System.Xml.XmlV alidatingReader .ReadWithCollec tTextToken
() +146
System.Xml.XmlV alidatingReader .Read() +26
System.Xml.XmlL oader.Load(XmlD ocument doc, XmlReader
reader, Boolean preserveWhitesp ace) +80
System.Xml.XmlD ocument.Load(Xm lReader reader) +72
System.Xml.XmlD ocument.Load(St ring filename) +78
Base.DomainLogi c.BaseClass._Ge tCon() +83
Base.DomainLogi c.Util..ctor() +35
BaseDOTNET.Sear ch.populateDDWF romUtilOperator s
(DropDownList& d1, String type) +43
BaseDOTNET.Sear ch.SetPageVaria bles() +43
BaseDOTNET.Sear ch.Page_Load(Ob ject sender, EventArgs e)
+7
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.P age.ProcessRequ estMain() +731

Nov 18 '05 #1
1 6325
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*******@hotm ail.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.IOExc eption: 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.__Err or.WinIOError(I nt32 errorCode, String
str) +723
System.IO.FileS tream..ctor(Str ing path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize,
Boolean useAsync, String msgPath, Boolean bFromProxy) +888
System.IO.FileS tream..ctor(Str ing path, FileMode mode,
FileAccess access, FileShare share) +45
System.Xml.XmlD ownloadManager. GetStream(Uri uri,
ICredentials credentials) +73
System.Xml.XmlU rlResolver.GetE ntity(Uri absoluteUri,
String role, Type ofObjectToRetur n) +55
System.Xml.XmlT extReader.Creat eScanner() +384
System.Xml.XmlT extReader.Init( ) +23
System.Xml.XmlT extReader.Read( ) +530
System.Xml.XmlV alidatingReader .ReadWithCollec tTextToken
() +146
System.Xml.XmlV alidatingReader .Read() +26
System.Xml.XmlL oader.Load(XmlD ocument doc, XmlReader
reader, Boolean preserveWhitesp ace) +80
System.Xml.XmlD ocument.Load(Xm lReader reader) +72
System.Xml.XmlD ocument.Load(St ring filename) +78
Base.DomainLogi c.BaseClass._Ge tCon() +83
Base.DomainLogi c.Util..ctor() +35
BaseDOTNET.Sear ch.populateDDWF romUtilOperator s
(DropDownList& d1, String type) +43
BaseDOTNET.Sear ch.SetPageVaria bles() +43
BaseDOTNET.Sear ch.Page_Load(Ob ject sender, EventArgs e)
+7
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.P age.ProcessRequ estMain() +731

Nov 18 '05 #2

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

Similar topics

1
1900
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 codeveloper on the same project can get a copy of the project from VSS and does not get this exception, ever. I do. We both have the code that causes this exception to be thrown. We do NOT checkin our
2
1615
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 bounce the web server. The error can be seen below. I have looked at the stack trace and determined where the error is occuring but when I look at my code, where it says that I have an unhandled exception, I have error handling to handle it. ...
6
2909
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 error. For example, broken.aspx might only contain the following line of code: <% Dim x as %> When I visit this page from my Web browser, I see all the helpful ASP.NET Server Error information, including:
5
1841
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 application is executed on the IIS server itself. However, I note that with the following
3
511
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 "Incorrect syntax near the keyword 'and'." or "System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'and'." instead of:
8
1795
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 StreamWriter = File.AppendText(strInputE) srE.WriteLine(vbCr) srE.WriteLine(vbCr) srE.WriteLine(DateTime.Now)
2
2150
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 session variables from Application_Error event, but I need to so I don't need to set up traces to see what they are during an error. I am emailing the error condition to myself when it happens.
0
1249
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 quickly as it only tells me I got an error, but normally not much on what the error was. If I have no Handler, I get the following: ****************************************************************** Compilation Error
2
2338
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. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack...
0
9711
marktang
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9591
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10343
jinu1996
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10331
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10087
tracyyun
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7631
isladogs
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6861
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.