Link to home
Start Free TrialLog in
Avatar of nchondro
nchondro

asked on

Microsoft OLE DB Provider for ODBC Drivers error '80004005' Not enough space on disk.

I received the following error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Not enough space on disk.

/BizNet_GDOT/profile.asp, line 279

And this is the the code from the area of error:

<%
QueryData= "SELECT * FROM WL_district where busno = " & varbus
Set SQL_WKD = Server.CreateObject("ADODB.RecordSet")
      SQL_WKD.Open  QueryData, MyConnect

IF SQL_WKD.EOF  Then
Else
do until SQL_WKD.EOF
%>
<% =SQL_WKD("div_desc")%>&nbsp;
<%SQL_WKD.MoveNext
      loop %>
<% End If %>

Please let me know the resolution.  Thank you.
Avatar of AgentSmith007
AgentSmith007

How much hard drive space do you have available?

Just to clean up your code a little bit, do this:
<%
QueryData= "SELECT * FROM WL_district where busno = " & varbus
Set SQL_WKD = Server.CreateObject("ADODB.RecordSet")
      SQL_WKD.Open  QueryData, MyConnect

while not SQL_WKD
%>
<% =SQL_WKD("div_desc")%>&nbsp;
<%
    SQL_WKD.movenext  
wend
%>
I know it's a longshot, but you're probably low on hard drive space.
ASKER CERTIFIED SOLUTION
Avatar of AgentSmith007
AgentSmith007

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial