Help the ASP newbie please!
I have installed SQL2000 on computer 1 and installed IIS on computer 2. I am trying to create an ODBC DSN for SQL on the IIS server, the computer 2, so the asp pages on it can connect to the SQL database on computer 1.
I used the ODBC control panel on computer 2, selected system DSN, selected SQL Server, and the defaults for the rest. However, I get this error:
When selected TCP/IP as the default network, I get:
Connection Failed
SQLState: 'HY000'
SQL Server Error: 86
[Microsoft][ODBC SQL Server Driver] Cannot generate SSPI context.
----------------------------
When selected Named Pipes as the default network, I get:
Connection Failed
SQl State: '01000'
SQL Server Error: 86
[Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionOpen(CreateFile())
Connection Failed
SQLState: '08001'
SQL Server Error: 86
[Microsoft][ODBC SQL Server Driver]Client unable to establish connection.
---------------------------
However, I can create the DSN for SQl on the computer 1 where SQL reside just fine, suing thesame above steps.
Can anyone help this ASP newbie as to what may be wrong?
I have installed SQL2000 on computer 1 and installed IIS on computer 2. I am trying to create an ODBC DSN for SQL on the IIS server, the computer 2, so the asp pages on it can connect to the SQL database on computer 1.
I used the ODBC control panel on computer 2, selected system DSN, selected SQL Server, and the defaults for the rest. However, I get this error:
When selected TCP/IP as the default network, I get:
Connection Failed
SQLState: 'HY000'
SQL Server Error: 86
[Microsoft][ODBC SQL Server Driver] Cannot generate SSPI context.
----------------------------
When selected Named Pipes as the default network, I get:
Connection Failed
SQl State: '01000'
SQL Server Error: 86
[Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionOpen(CreateFile())
Connection Failed
SQLState: '08001'
SQL Server Error: 86
[Microsoft][ODBC SQL Server Driver]Client unable to establish connection.
---------------------------
However, I can create the DSN for SQl on the computer 1 where SQL reside just fine, suing thesame above steps.
Can anyone help this ASP newbie as to what may be wrong?