Wiki Link: [discussion:927]
Error In Asp.net: Disk or network error. 

Nov 11 2008 at 4:27 PM
Edited Nov 11 2008 at 4:30 PM
Im suffering due to this error since last week.I have searched alot but didnt find any solution.My code is running on local system but when i uploaded i found this error.Even I have tried on 2 different hosting.Can any one help me???
the Error is:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Disk or network error.
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.Data.OleDb.OleDbException: Disk or network error.

Source Error:


Line 40: DataSet ds = new DataSet();
Line 41: OleDbDataAdapter adpt = new OleDbDataAdapter(str, con);
Line 42: adpt.Fill(ds);
Line 43: return ds;
Line 44: }


Mar 15 2010 at 3:47 PM
I too have this problem.. I believe the problem is something to do with datasources in connection strings getting muddled up in visual studio.. something related to sql server express.. the reason I believe this is because I partly resolved the issue for myself using the tips on here..
http://ebusinessmistress.ning.com/forum/topics/solving-a-big-issue-with
but now I am getting the Disk or network error problem same as you - take a look at the above cos you may spot something I missed (then let me know!!)


Updating...
Page view tracker