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:


Line 43:                 Response.TransmitFile(dr.GetString(0) & "\" & fileID & "_thumb_" & filename)
Line 44:             Else
Line 45:                 Response.TransmitFile(dr.GetString(0) & "\" & fileID & "_" & filename)
Line 46:             End If
Line 47: 

Source File: D:\Divisions\prc2021\zulu_store\FileStorage.aspx.vb    Line: 45

Stack Trace:


[IOException: The device is not ready.
]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1143
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1242
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +126
   System.Web.HttpResponse.TransmitFile(String filename, Int64 offset, Int64 length) +139
   zulu_store_PubGetList.DownloadFile(Int32 fileID) in D:\Divisions\prc2021\zulu_store\FileStorage.aspx.vb:45
   zulu_store_PubGetList.Page_Load(Object sender, EventArgs e) in D:\Divisions\prc2021\zulu_store\FileStorage.aspx.vb:11
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4676.0