Activer Server Pages and C/ODBC

Hello All,

First of all I'm new to Navision database and I have a problem connecting MSASP through C/ODBC. It gives me an error:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Navision Software a/s][Navision Attain ODBC Driver]ISAM error

My code is:
<%@ LANGUAGE="VBScript" %>
<%
Set Connection = Server.CreateObject ("ADODB.Connection")

Connection.Open "Report"
%>

Additional info, in ODBC Manager I have setup a System DSN named "Report", and pointing to the database named "database.fdb". Can anyone teach me the proper way of calling the database using the MSASP. I really appreciate everybody's help.

TIA,

Jofran
Related