I am attempting to extract data out of Attain using C/OBDC without much luck. I have a User DSN setup called 'Navision' this appears to work as I have successfully made connections in MS Access however I am returned an error from IIS. running IIS 5 and W2K.
Connection String:
Set connNavision = Server.CreateObject("ADODB.Connection")
connNavision.Open "DRIVER={C/ODBC 32 bit};DSN=Navision;UID=web;PWD=web"
Error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Navision Software a/s][Navision Attain ODBC Driver]Invalid login
The UID and PWD are all correct and under the DSN setup the C/ODBC seems correct as it lists the companies. (just running a virgin cronus)
any help would be appreciated.
Hamish Anderson
0
Comments
I made the realisation that a user DSN was not appropriate as you log into IIS as anon so I have since made it a system dsn which produces the following error:
[Navision Software a/s][Navision Attain ODBC Driver]ISAM error
/attainodbc/getall.asp, line 20
the ASP is the same, should I be using a file DSN. If anybody could explain the above it would be fantastic.
ta, Hamish.
Internal Software Developer
Consolidated Engineering Co.
Kennesaw, GA, USA
ODBC;CSF=Yes;;DRIVER={C/ODBC 32 bit};SName=Applications;NType=tcp;CN=Consolidated Engineering;UID=User;PWD=Pass;OPT=Text;QTYesNo=Yes;QT=60;IT=a-z,A-Z,0-9,_;RO=No;CC=Yes;BE=Yes;
Can someone please help us on this issue?
Internal Software Developer
Consolidated Engineering Co.
Kennesaw, GA, USA
Onward with the Global Virtual DSN(tm) project!
Internal Software Developer
Consolidated Engineering Co.
Kennesaw, GA, USA
Support said that ADO isn't supported and that DAO is how you have to connect. :?
Django