Codbc ISAM Error

Posted on 2004-10-22
Last Modified: 2008-01-09
I'm trying to connect to a Navision DB through ADODB

I get the following error when connecting:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Navision a/s][Navision Attain ODBC Driver]ISAM error
/weblink/dataio.asp, line 5

at line 5: if conn.State = adStateClosed then"dsn"))

Set conn = Server.CreateObject("ADODB.Connection")
dsn = "DRIVER={C/ODBC 32 bit};"
dsn = dsn & "UID=user;"
dsn = dsn & "PWD=pwd;"
dsn = dsn & "sName=SrvrName;"
dsn = dsn & "NType=tcp;"
dsn = dsn & "CN=Company name;"
dsn = dsn & "CSF=Yes;"
dsn = dsn & "SERVER=N;"
dsn = dsn & "RD=No;"
dsn = dsn & "ML=2048;"
dsn = dsn & "CD=No;"
dsn = dsn & "BE=Yes;"
dsn = dsn & "CC=Yes;"
dsn = dsn & "RO=No;"
dsn = dsn & "QTYesNo=Yes;"
dsn = dsn & "IT=a-z,A-Z,0-9,_;"
dsn = dsn & "OPT=Text"

Anybody an idea how this could be solved?
Question by:joachimcarrein
    LVL 4

    Author Comment

    I already found the solution myself, was really stupid actually:

    My servername wasn't filled in in the hosts file...

    Hope with this i can helpe someone else.

    Accepted Solution

    Question answered by asker or dialog valuable.
    Closed, 110 points refunded.
    ee_ai_construct (replacement part #xm34)
    Community Support Admin

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    countXY challenge 28 72
    AS400 SQL Cast Issue on Current Date/Time 4 43
    sum28 challenge 31 72
    find a node in VST 2 24
    Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now