S
Scott Nicholson
I've got a site set up that uses a network share as it's home directory.
Simple stuff is working fine.
When I try to put a database in there, though, I run into problems.
I'm using:
dim dbconn,sql,dbcomm
dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; data
source=" & server.mappath("test.mdb") & ";")
dbconn.Open()
And I'm getting a message:
Server Error in '/' Application.
Unspecified 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: Unspecified error
Source Error:
Line 16: dim dbconn,sql,dbcomm
Line 17: dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;
data source=" & server.mappath("test.mdb") & ";")
Line 18: dbconn.Open()
"test.mdb" is in the same folder as the .aspx file (maps to
\\omega\www\dir\test.mdb)
.... If I copy all the files to a local folder on the hard drive and
change the home directory of the site it works fine.
Is is not possible to use an access database on a network share? I can't
imagine that's the case.
Help is appreciated.
Simple stuff is working fine.
When I try to put a database in there, though, I run into problems.
I'm using:
dim dbconn,sql,dbcomm
dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; data
source=" & server.mappath("test.mdb") & ";")
dbconn.Open()
And I'm getting a message:
Server Error in '/' Application.
Unspecified 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: Unspecified error
Source Error:
Line 16: dim dbconn,sql,dbcomm
Line 17: dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;
data source=" & server.mappath("test.mdb") & ";")
Line 18: dbconn.Open()
"test.mdb" is in the same folder as the .aspx file (maps to
\\omega\www\dir\test.mdb)
.... If I copy all the files to a local folder on the hard drive and
change the home directory of the site it works fine.
Is is not possible to use an access database on a network share? I can't
imagine that's the case.
Help is appreciated.