Solved

Cannot Connect to MSDE 2000 database across the network

Posted on 2004-09-12
7
238 Views
Last Modified: 2012-06-27
I have MSDE 2000 installed.
I just installed the latest version yesterday from Microsofts website (so it is the latest)
Along with this, I have SQL Server 2000 developer edition installed for management of the engine.

I have it running just fine on my local machine.
I used these setup parameters when installing
setup instancename ="instancename" sapwd="mypassword" securitymode=sql

This works fantastic as long as i am connecting to the instance on the local machine.
I was inexperienced at the setup of MSDE prior to today and so when installing I left off the

disablenetworkprotocols=0 switch in the setup command line statement.
So I have effectively disabled my network support.

I am not able to connect to the instance of MSDE now across the network and I need this fixed.
Can anyone tell me how to do this paaalease?

I have ran the svrNetCN.exe utility located in C:\program files\microsoft sql server\80\Tools\Binn and enabled TCP/IP
Support on the default port (thought this would solve my issue but did not)

I stopped and restarted the service multiple times and it still does not work.
I do not have sql client tools installed on the client so i cannot try to connect using the sql client tools to the database.

Internet connection firewall is disabled on both PCs and both PCS are within 10 feet of each other (XP Pro and XP Home peer to peer)

helllllpppppp!!!
0
Comment
Question by:ferguslogic
  • 4
7 Comments
 
LVL 1

Author Comment

by:ferguslogic
ID: 12038728
An update.

I installed Sql server developer client tools on the peer to peer computer that cannot connect to sql server and whala I am able to connect to sql server using query analyzer or enterprise manager. I simply cannot connect through the application that I have built.  Soooo any ideas.

Here is the connection string

Provider=sqloledb;Data Source=Server\[SQLInstanceName];Initial Catalog=[DBName];User Id=sa;Password=[password]

this connection string works great on my local box but fails miserably across the network.

I have tried this also
Provider=sqloledb;Data Source=\\Server\[SQLInstanceName];Initial Catalog=[DBName];User Id=sa;Password=[password]

Every time I get "invalid connection"

any help is greatly appreciated.
0
 
LVL 1

Author Comment

by:ferguslogic
ID: 12039123
And to finally answer my own question after hours of work...if you do not use the DisableNetworkProtocols=0 option when you run setup you will not be able to connect across the network.

Installing a new instance of sql server with this setup

Setup InstanceName="instancename" Sapwd="password" SecurityMode=sql disablenetworkprotocols=0

resolved the issue and the client connects just fine.

When you do not use the disablenetworkprotocols flag in the setup string query analyzer and enterprise manager will be able to connect remotely but clients will not.

Issue resolved.
Please reissue points to PAQ
0
 
LVL 1

Author Comment

by:ferguslogic
ID: 12560479
I do not understand how to get a refund but I will try
0
 
LVL 1

Author Comment

by:ferguslogic
ID: 12560668
I have posted a request for question deletion and points to be refunded. I was able to answer the question myself after a short time frame.

thank you
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12589489
Question answered by asker or dialog valuable.
Closed, 500 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now