PDA

Click to See Complete Forum and Search --> : Connection Problems


dcarlson
Jan 10th, 2001, 12:29 PM
I can't connect to my database. I created an ASP App using PWS and transfered it to a recently setup windows 2000 web server. I'm using the following code to connect to a database that resides on a Netware 3.2 server. I've mapped the drive on the web server as drive F:, I've also tried creating a system DSN and a file DSN with no luck. Is there something I'm missing? I can connect to an Access DB that resides on the web server.


strConnect = "Driver={Microsoft Visual FoxPro Driver};"
strconnect = strconnect & "SourceDB=F:\vfp\fo\data\openclose.dbc;SourceType=DBC;"
strconnect = strconnect & "Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=Yes;Deleted=Yes;"

conntemp.Open strconnect


Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Visual FoxPro Driver]Cannot open file f:\vfp\fo\data\openclose.dbc.
/openclose/nrcs/staff/staff.asp, line 16


Any ideas?

Thanks in advance,