472,796 Members | 2,309 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,796 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 4922

"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: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.