On Tue, 1 Nov 2005, Adedayo Adeyeye wrote:

> I'm also trying to connect to an mssql db from a cgi, and I'm getting the
> following error:
> 
> Cannot connect: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL 
> Server does not exist or access denied. (SQL-08001)[Microsoft][ODBC 
> SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). 
> (SQL-01000)(DBD: db_login/SQLConnect err=-1)Aborting at 
> C:\Savant\cgi-bin\connect_rodopi.cgi line ...

This seems to be the meat of the problem:

    SQL Server does not exist or access denied

Sounds like a DB admin issue to me. 

Can you use the same login credentials to connect to the database via 
some other means than the CGI script you're writing? If you can't, then 
there's the problem; if you can, then something about using that user / 
password pair from the host where your CGI script is running is broken.

Either way, it sounds like a SQL Server admin config issue, not CGI.



-- 
Chris Devers

by¯LcìØL è…8
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>

Reply via email to