Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UNC Access database problem

Status
Not open for further replies.

alwaysAnewbie

Programmer
Sep 12, 2002
23
US
I am trying to access a database via the UNC. The short of it is I can write to and read from the directory using:

Set ScriptObject = Server.CreateObject("Scripting.FileSystemObject")
Set MyFile = ScriptObject.OpenTextFile("\\nt3\care\vcare4x\database\fc01\testfile.txt", 8,true)


I get the dreaded 80004005 Microsoft Jet database engine cannot open the file '(unknown)'. when I try this code:

MdbFilePath = "\\nt3\CARE\VCARE4X\DATABASE\FC01\vc40clin_IIS.mdb"
Conn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";"


The application is running as a domain user. Everyone has full control of %TEMP% and %TMP%.

Why does the FSO work but not the ADO?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top