Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 28th, 2004, 11:02 AM
Authorized User
 
Join Date: Jun 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default MSDE connection problem (Newbie)

I am just starting with MSDE switching from access2002.
The installation was done on a server pc with:
password="sa",
Authentication Mode = SQL, and
DisableNetworkProtocols=0

On the server, I can connect to it fine, both via my app and the configure wiz'd in the SYSTEM-DSNs list (off of control panel-Admin tools).

But from another PC on a two computer network, I cannot connect to it.
The configure wiz;d gives a double error:
SQLstate 1000 connaction failed ANd
SQLState 8001 error 17: serber does not exist or connection denied.

Do I need to specify anything other than server's name as the server's ID, e.g. the hard disk label or....?
Do I need to somehow tell the server to allow a conection from another PC???? If yes, I can't find where that might be done?

I'd really appreciate ANY help on this frustrating problem.
Thanks,
Tim


Tim
__________________
Tim
 
Old June 28th, 2004, 10:44 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

Please check the following articles, related to connectionstring.

1. Method 1 (using connectionstring property)
http://www.aspwebpro.com/tutorials/a...ectionopen.asp

2. using provider
http://www.w3schools.com/ado/ado_connect.asp

Other types:
http://www.tnsites.com/support/s_databaseconn.asp

Hope this helps...


Om Prakash
 
Old June 29th, 2004, 08:32 AM
Authorized User
 
Join Date: Jun 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks,
I will look up the links.

Meantime this is what I had to do to solve the problem.
Run the program MSSQL\80\Tools\Binn\SVERNTCN and add TCP/IP (or whatever
matches the client side) to the server communication protocol.

Apparently, I kept openning the CLIENT manager instead of the server mgr. to be sure the protocols are there. This was partly because MSDE comes with NO UI, so one needs to know what each executable which comes with it does.

Also quite annoying that they do not tell you there will be NO communication protocols selected by default in the installation notes.


Tim





Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection string for MSDE srkarthik_82 General .NET 1 January 25th, 2007 01:35 AM
sql server connection problem in msde oldbig89 SQL Server 2000 1 February 8th, 2006 05:46 PM
VS.NET 2003 and MSDE 2000 connection problem ponuman SQL Server 2000 4 October 28th, 2005 04:02 PM
MSDE Connection not working Phil Williams MySQL 3 March 18th, 2004 04:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.