Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 21:51:20 -0400
From:      Monah Baki <mbaki@whywire.net>
To:        freebsd-questions@freebsd.org
Subject:   Freebsd+Mysql+ASP
Message-ID:  <66300786-802E-11D7-A7EC-00039313E976@whywire.net>

next in thread | raw e-mail | index | archive | help
Hi All,

This might be off topic, but is it possible to migrate ASP files to 
FreeBSD running iASP/MySQL/unixODBC and MyODBC. I installed all the 
above applications. The asp file are hosted on the FreeBSD machine.

Here's my problem now.
The client has the following file called nnoc.asp. The nnoc.asp file 
mentioned below is a include file that specifies the DSN and this is 
where we are having problems.


<%
dim conn
set conn = Server.CreateObject("ADODB.Connection")
connstr="DSN=matmysql;UID=root;PWD=welcome;"
conn.open connstr
conn.open "matrimonial","root","welcome"
conn.Open "Driver=MySQL; Server=localhost; Port=3306; Option=0;
Socket=; Stmt=; Database=matrimonial; Uid=root; Pwd=welcome;"

%>

Whenever I try to connect through a browser, I get this error:

Vbscript Runtime error 'ASP 0185 : 3219'
No suitable driver
nnoc.asp ,line 5

Is it possible for all of this to work together or should I find 
another alternative


Thank you



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66300786-802E-11D7-A7EC-00039313E976>