jmerencilla
Programmer
question. i made a DLL that accesses an Access 2000 DB and test it using a Windows Application project. I'm sure that my DLL is working fine because I got my desired output while I was testing it. however when i tried accessing my DLL in a web application project, i got this error:
Could not find file 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\myDB.mdb'
and points to this line of code
Line 10: objConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & System.Windows.Forms.Application.StartupPath & "\myDB.mdb;Persist Security Info=False"
Line 11:
Line 12: End Sub
what i'm trying to do here is access an Access DB located on the same path where my DLL resides. it works fine with windows app but not with a web app. what am i missing here?
thanks is advanced.
Could not find file 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\myDB.mdb'
and points to this line of code
Line 10: objConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & System.Windows.Forms.Application.StartupPath & "\myDB.mdb;Persist Security Info=False"
Line 11:
Line 12: End Sub
what i'm trying to do here is access an Access DB located on the same path where my DLL resides. it works fine with windows app but not with a web app. what am i missing here?
thanks is advanced.