Welcome to dbForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Help - IIS fails to connect to MSSQL server on a nother co..

 
   Database Forums (Home) -> ODBC RSS
Next:  Sql server messages  
Author Message
Stren Assaf

External


Since: Jun 08, 2005
Posts: 1



(Msg. 1) Posted: Wed Jun 08, 2005 4:43 am
Post subject: Help - IIS fails to connect to MSSQL server on a nother comp
Archived from groups: microsoft>public>sqlserver>odbc (more info?)

Hello all.

I am having a pretty serious problem and I tried almost every thing (I
know…) but still with no success.
There are 2 computer on a workgroup (lets call them A and B). On A there is
an MSSQL Server 2000 with windows and QSL mixed authentication on Windows
2003 machine. On B I set up an ODBC as system DNS that points to one of the
databases exists on the MSSQQL sever on A using an SQL authentication (user &
password). The connection is working (the “test connection” step at the end
of the wizard is successful) and I can access the database using SQL Server
Enterprise Manager and the SQL Query Analyzer. I also using this DSN with
other desktop application running from B. BUT when I’m running a web service
server on the IIS that is located on B using the same ODBC connection and
passing the user name and the password I get the error: “Sql Server does not
exist or access denied”. (Machine B is running Windows XP OS)

Why is that and how can I solve it?

Thanks for your answers.

My email is: assaf RemoveThis @nipendo.com

Stern Assaf.

 >> Stay informed about: Help - IIS fails to connect to MSSQL server on a nother co.. 
Back to top
Login to vote
ddsvi78




Joined: Jun 14, 2005
Posts: 5



(Msg. 2) Posted: Wed Jun 15, 2005 1:36 pm
Post subject: Re: Help - IIS fails to connect to MSSQL server on a nother [Login to view extended thread Info.]

Make sure that you have SP3 for sql 2000. If you do then try adding a host record. I just made this same post a minute ago. Make a host record on the machine that you are trying to connect to the sql server.Go to c:\WINNT\System32\drivers\etc\host. open it in notepad and at the bottom put in the ip address and computer name of the SQL server. I had this same problem just the other day.


First thing I would do though is make sure that you have SP3 for SQL installed. Cause if you dont it may not have the default port open. You can check that by opening a command prompt on the SQL server and type in:

tasklist
and then look for sqlserver.exe Once you find that look at the number on the right and that is your process id. Now type in:

netstat -nao | findstr LIST

And then look to the far right hand side and try to find that process ID. If you do not have it, You more than likely do not have SP3. You can download it here.

http://www.microsoft.com/sql/downloads/2000/sp3.asp

 >> Stay informed about: Help - IIS fails to connect to MSSQL server on a nother co.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Connect to a SQL Server 2000 Instance with ODBC on Windows.. - With a Data Source ODBC, I am able to connect to my SQL Server Instance in "Named Pipe" mode but not in TCP/IP mode. (Firewall is disable) I always got: Connection Failed: SQLState:'01000' SQL Server Error: 53 [Micosoft][ODBC SQL Ser...

Help! Can't connect via ODBC DSN file to SQL server 2005 i.. - I am using SQL Server 2005 and using a database program that was installed on the C:\ drive of the server. The 12gb partition has 1.8gb left and I need to move it to the 550gb D:\ drive. Simple, yes and no. I have an external MS Access 2003 report..

MSSQL ODBC problem - Hello everyone, I have big problem with the speed of the ODBC connection. Speed of the connectino depends of user which starts application. For examle: Main user (which usualy works on this computer) of computer open application - connection is very..

MSSQL ODBC And Transactions - Hi There, I have developed the ODBC app which can work with Oracle as well as MSSQL server databases. I need to use transactions at some level. By setting AUTOCOMMIT OFF and using SET TRANSACTION and BEGIN WORK, COMMIT WORK everything works fine with....

Can you guess my MSSQL database password? - Till to date large number of attacks are still carried out by guessing users password. A structured organization have well defined and imposed Password Policy but policy control enforcement measures do not guarantee secure MSSQL databases. Tools for..
   Database Forums (Home) -> ODBC All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]