Go Back   Web Server Hosting Forum by BODHost > Support > Tutorials and Documentation
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-13-08, 18:05
BOD Member
 
Join Date: Sep 2008
Posts: 7
Default HOWTO Connect to MSDE from SQL Enterprise Manager

First

You have to enable the named connection for the MSDE service.

Run C:\Program Files\Microsoft SQL Server\80\Tools\Binn\svrnetcn.exe

Select tcp/ip and move to enabled protocol

Second

Run C:\Program Files\Microsoft SQL Server\80\Tools\Binn\osql -E

This will give you a trusted sql server connection where you can issue commands

Third

Type the following commands...

1> use master
2> EXEC sp_addlogin 'yourusernameyouwanttobeadmin','yourpasswd'
3> EXEC sp_addsrvrolemember 'yourusernameyouwanttobeadmin', 'sysadmin'
4> go

This should create a user with the name 'yourusernameyouwanttobeadmin' and with 'yourpassword' that you can use to register your SQL Server into SQL Enterprise Manager.
Reply With Quote
  #2 (permalink)  
Old 09-25-08, 16:48
BOD Member
 
Join Date: Oct 2005
Posts: 117
Default

Can anyone let me know what commands should I use,if I want to let my client to connect to MSDE from SQL Enterprise Manager?
Reply With Quote
  #3 (permalink)  
Old 11-10-08, 10:05
BOD Member
 
Join Date: Nov 2008
Posts: 4
Default Command used to connect MSDE from SQL Enterprise Manager

You can use following command in command prompt to connect...

HTML Code:
osql -E -S <server_name>\<instance_name>
Reply With Quote
  #4 (permalink)  
Old 11-10-08, 10:26
BOD Member
 
Join Date: Nov 2005
Location: New Mexico
Posts: 273
Default

MSSQL Server has 2 authentication modes that is Integrated Windows, and Mixed
Integrated Windows + SQL Server, Microsoft is pushing Integrated Windows Authentication, rather than Mixed Mod. With IW Authentication, you need to grant the proper windows account permissions to login to the database give the login appropriate rights to the databases in question connect to SQL Server using that Windows context.
Reply With Quote
  #5 (permalink)  
Old 11-11-08, 08:27
BOD Member
 
Join Date: Nov 2005
Posts: 112
Send a message via MSN to bill mates
Default

The main advantage of MSDE databases are it is fully compliant with SQL server technology, that is, the tables, stored procedures, triggers or any other database objects created in MSDE will be operated without modification in the SQL server database. So it offers full features of SQL server.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 03:14.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.