mnye
10-20-2003, 02:09 AM
Using .Net framework 1.1 for a web app connecting via OLEDB. I put the .mdb in the "/bashmentmed/_database/" directory and then published my app via the Front Page Extentions from VS.Net 2003. My connection string is as follows:
Dim cnnStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\_database\bjp.mdb") & ";User Id=admin;Password=;"
and I get the following error:
'c:\bashmentmed\_database\bjp.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
What am I doing wrong? Thanks for the help.
Regards,
Matt
Dim cnnStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\_database\bjp.mdb") & ";User Id=admin;Password=;"
and I get the following error:
'c:\bashmentmed\_database\bjp.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
What am I doing wrong? Thanks for the help.
Regards,
Matt