HELP conncecting IIS to SQL Server

HELP conncecting IIS to SQL Server

Post by Terr » Fri, 04 Aug 2000 04:00:00



I am trying to submit data from an ASP web Page to SQL Server.
I have IIS 4 and SQL 7 running on 2 different machines. I have read a few
articles but not gotten it. I suspect it has to do with authentication on
the IIS machine. If anyone knows about this please help me out and thanx in
advance.
Terry
 
 
 

HELP conncecting IIS to SQL Server

Post by Neil Boyl » Sat, 05 Aug 2000 04:00:00


Chances are it's a client connectivity issue on the IIS box. Install the SQL
Server client tools on the IIS box and try connecting to SQL from that box
with ISQL - if it fails then look at the "Client Network Utility" to pick a
networking protocol that works for the SQL Server

--
Neil Boyle
--
www.impetus-sql.co.uk - Free SQL Server online handbook


Quote:> I am trying to submit data from an ASP web Page to SQL Server.
> I have IIS 4 and SQL 7 running on 2 different machines. I have read a few
> articles but not gotten it. I suspect it has to do with authentication on
> the IIS machine. If anyone knows about this please help me out and thanx
in
> advance.
> Terry


 
 
 

HELP conncecting IIS to SQL Server

Post by Alan Silve » Mon, 07 Aug 2000 04:00:00




Quote:>I am trying to submit data from an ASP web Page to SQL Server.
>I have IIS 4 and SQL 7 running on 2 different machines. I have read a few
>articles but not gotten it. I suspect it has to do with authentication on
>the IIS machine. If anyone knows about this please help me out and thanx in
>advance.

You shouldn't have any trouble if you ...

1) Use the SQL Server Client Network Utility to set the default network
library to TCP/IP and ...

2) You use SQL Server authentication instead of NT authentication. To do
this, you need to set the connection string of the ADO Connection object
to something like ...

driver=sql server;server=NNN;database=DDD;uid=XXX;pwd=YYY;

Where NNN is the IP address of the machine running the SQL server, DDD
is the database you want to use and XXX and YYY are the SQL Server uid
and password.

Hope this helps.

--
Alan Silver
Please remove the "*ferret" if replying by e-mail

 
 
 

1. IIS Virtual Directoary Management for SQL Server on remote vs local IIS Web Server

When I try to use IIS Virtual Directoary Management for SQL Server to setup
a new virtual directory on my remote web server machine, the only option I
see for a local path to the directory that contains the files. The files are
on the web server machine.

Do I need a version of the IIS Virtual Directoary Management for SQL Server
on the remote web server? If so, how do I get it there?

2. Embarrasing question

3. HELP: Connecting a web server (IIS) to SQL Server

4. 7.31 to 9.x

5. how can I drop a column of a table?

6. conncecting to SQL

7. Index size growth

8. Help with IIS logging to SQL server

9. help: A problem on using IDC with SQL SERVER from IIS 2.0

10. HELP CONNECTING TO SQL SERVER VIA IIS

11. HELP: A problem on using IDC with SQL SERVER from IIS 2.0