briancostea
Programmer
i get the following error when i run an aspx page with my local iis.
Exception Details: System.Data.OleDb.OleDbException: Disk or network error.
when i run it on my web server, it works just fine. i'm not sure if this is a permissions issue or not. i set the iis permissions of the virtual directory, and added computername\ASPNET to the actual directory.
any thoughts would be appreciated. thanks in advance.
code:
try
dbconn=New OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0; data source=" & server.mappath("ah.mdb"))
dbconn.Open()
sql="INSERT INTO tblFile VALUES ('" & strFileNameOnly & "', '" & mydate & "');"
dbcomm=New OleDbCommand(sql,dbconn)
dbread=dbcomm.ExecuteReader()
dbconn.Close()
Catch oException As Exception
end try
Exception Details: System.Data.OleDb.OleDbException: Disk or network error.
when i run it on my web server, it works just fine. i'm not sure if this is a permissions issue or not. i set the iis permissions of the virtual directory, and added computername\ASPNET to the actual directory.
any thoughts would be appreciated. thanks in advance.
code:
try
dbconn=New OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0; data source=" & server.mappath("ah.mdb"))
dbconn.Open()
sql="INSERT INTO tblFile VALUES ('" & strFileNameOnly & "', '" & mydate & "');"
dbcomm=New OleDbCommand(sql,dbconn)
dbread=dbcomm.ExecuteReader()
dbconn.Close()
Catch oException As Exception
end try