473,387 Members | 1,650 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Installing MSDE2000 for Remote Connection

I attempted to install MSDE on a WinXP machine(server) today. I installed
from the command prompt as follows:-
setup INSTANCENAME="NetSDK" SECURITYMODE=SQL BLANKSAPWD=1


Before I get 'blasted', I know that I 'really shouldn't' use a blank sa pswd
but.......I did :-)

I then detached (sp_detachdb) an existing db from another machine. Moved it
onto the new instance and reattached it.

Finally, I executed the following scripts:-

sp_addlogin @loginame = 'name', @passwd = 'password', @defdb = 'dbName'
sp_grantdbaccess 'name'
sp_addrolemember 'db_owner', 'name'

So, this was fine and I could connect to the new db using either windows
integrated security or 'name'/'password' BUT..BIG BUT, only at the server.
When I tried to connect from a client I received an error message, 'SQL
Server Does Not Exist or Access Denied'.

I am assuming that all is well with the db and that it is something I have
done...or more probably not done with the sql server instance (as the error
suggests:-). Can anyone please suggest my error?

Thanks
Jul 23 '05 #1
3 4941

"Phil" <Ph**@nospam.com> wrote in message
news:d4**********@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com...
I attempted to install MSDE on a WinXP machine(server) today. I installed
from the command prompt as follows:-
setup INSTANCENAME="NetSDK" SECURITYMODE=SQL BLANKSAPWD=1


Before I get 'blasted', I know that I 'really shouldn't' use a blank sa
pswd but.......I did :-)

I then detached (sp_detachdb) an existing db from another machine. Moved
it onto the new instance and reattached it.

Finally, I executed the following scripts:-

sp_addlogin @loginame = 'name', @passwd = 'password', @defdb = 'dbName'
sp_grantdbaccess 'name'
sp_addrolemember 'db_owner', 'name'

So, this was fine and I could connect to the new db using either windows
integrated security or 'name'/'password' BUT..BIG BUT, only at the server.
When I tried to connect from a client I received an error message, 'SQL
Server Does Not Exist or Access Denied'.

I am assuming that all is well with the db and that it is something I have
done...or more probably not done with the sql server instance (as the
error suggests:-). Can anyone please suggest my error?

Thanks


You don't mention which version of MSDE, but as of SP3 network access is
disabled by default - see the DISABLENETWORKPROTOCOLS switch in the readme
file. In addition, the Windows XP SP2 firewall blocks any MSSQL services on
the box from listening on the network. See these articles:

http://support.microsoft.com/default...b;en-us;841249
http://support.microsoft.com/default...b;en-us;814130
http://support.microsoft.com/default...b;en-us;328306

Simon
Jul 23 '05 #2
Thanks Simon,

As usual a swift and informative response. It is/was SP3 and I did not
include the DISABLENETWORKPROTOCOLS switch and therefore by default the
libraries are disabled.....so, my question then is, once installed how do I
change the value from NULL or 1 to 0? Would I be right (and hopeful) to
think it might be as simple as a registry key change????? If not, do I have
to perform a setup /upgradesp install?

Looking forward to your response.

Phil

"Simon Hayes" <sq*@hayes.ch> wrote in message
news:42********@news.bluewin.ch...

"Phil" <Ph**@nospam.com> wrote in message
news:d4**********@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com...
I attempted to install MSDE on a WinXP machine(server) today. I installed
from the command prompt as follows:-
setup INSTANCENAME="NetSDK" SECURITYMODE=SQL BLANKSAPWD=1


Before I get 'blasted', I know that I 'really shouldn't' use a blank sa
pswd but.......I did :-)

I then detached (sp_detachdb) an existing db from another machine. Moved
it onto the new instance and reattached it.

Finally, I executed the following scripts:-

sp_addlogin @loginame = 'name', @passwd = 'password', @defdb = 'dbName'
sp_grantdbaccess 'name'
sp_addrolemember 'db_owner', 'name'

So, this was fine and I could connect to the new db using either windows
integrated security or 'name'/'password' BUT..BIG BUT, only at the
server. When I tried to connect from a client I received an error
message, 'SQL Server Does Not Exist or Access Denied'.

I am assuming that all is well with the db and that it is something I
have done...or more probably not done with the sql server instance (as
the error suggests:-). Can anyone please suggest my error?

Thanks


You don't mention which version of MSDE, but as of SP3 network access is
disabled by default - see the DISABLENETWORKPROTOCOLS switch in the readme
file. In addition, the Windows XP SP2 firewall blocks any MSSQL services
on the box from listening on the network. See these articles:

http://support.microsoft.com/default...b;en-us;841249
http://support.microsoft.com/default...b;en-us;814130
http://support.microsoft.com/default...b;en-us;328306

Simon

Jul 23 '05 #3
You can use SVRNETCN.EXE to enable network protocols - it's the SQL
Server Network Utility, and as far as I know, it's installed with MSDE.

Simon

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: JimA | last post by:
I have an application that needs to execute dtsrun from a remote machine. Basically I have a batch file on the remote box, which handles the execute. This works fine on a machine with client tools...
3
by: sb | last post by:
Hi, I just installed Windows XP SP2 on my previous installation of XP SP1. Since it is intalled, my ado.net connection on my programs do not work anymore; i receive this exception message:...
1
by: Dave | last post by:
msde2000 Hi, Can I use ado .Net to write non manage application in vc++??? What is exactly msde and did it better then access?? What are the best tools to use it? What is the different between...
5
by: McGeeky | last post by:
Is it possible to install an assembly on a remote machine's GAC? I don't see an option for it using gacutil.exe -- McGeeky http://mcgeeky.blogspot.com
1
by: ns2k | last post by:
How can I add MSDE2000 to the setup project so the MSDE2000 will also be install in the machine? If using merge module - how it can be done? ----== Posted via Newsfeed.Com -...
5
by: Andrea Vincenzi | last post by:
Help me please, I'm totally stuck! My Visual Studio 2003 debugger stopped working after I installed Windows XP Service Pack 2. Here is what happens (with any project, even a "Hello, world"...
0
by: laridae | last post by:
I wrote a program to copy files from lots of different remote servers to a centrally based server. It uses robocopy, but is written in vb.net to add extra features, eg it records how long it to to...
5
by: Mitya Mitriev | last post by:
Hi I created ASP.NET 2.0 web application that uses SQL Server 2000 database and it works perfectly when website and Sql server were on local machine. Then I installed application on production...
2
by: itfetish | last post by:
I've just upgraded our WIndows 2003 (with SBS server) web server to .Net framework 2.0 (it had 1.1 before) As I have been working on a web parts page on my laptop, hosting it there, working...
8
by: BD | last post by:
I am developing C# win form app to work with remote database on SQL Server 2005. Problem scenario is as follows: 1. a form is open that has downloaded dataset to local cache 2. computer is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.