Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Visual Studio .NET development environment

Reply
Thread Tools

Visual Studio .NET development environment

 
 
=?Utf-8?B?ZGF2aWQ=?=
Guest
Posts: n/a
 
      10-24-2007
Last week I asked a question about connection to database from client machine
(developer machine). There are two types of security setup for SQL Server
database: Windows only and "SQL
Server and Windows" under (local)Windows NT node of Enterprise Manager.

-----
First, I set the database security as "SQL
Server and Windows" under (local)Windows NT node of Enterprise Manager.
However, I could not setup a database connection to Server from Client using
Server Explorer of Visual Studio 2005. The detail is in the following.

Configuration of server and client:

Server: Windows Server 2000, SQL Server 2000
Authentication method: Active Directory Users and Computers (It is my first
time to use it)
User acount MyName with Admin role
User in database: domainName\MyName
SQL Server database security setup: "SQL Server and Windows" under
(local)Windows NT node

Client: Windows XP pro, Visual Studio 2005 pro

Operation for database connection on client side:

1. Open Server Explorer on Visual Studio.
2. Add connection
3. Select Microsoft SQL Server and Continue
4. Select Server name: Server computer name
5. Select "use SQL Server authentication"
6. Type in User Name: "DomainName\MyName" or "MyName" (either not work!)
7. Type in User password: my windows server password
8. Test Connection
9. Error message: Login fails for user 'MyName' (or 'DomainName\MyName')

----
Second, I set the database security (Authentication) as "Windows Only".
Operation for database connection on client side:
Case 1: Select "use Windows authentication"
1. Open Server Explorer on Visual Studio.
2. Add connection
3. Select Microsoft SQL Server and Continue
4. Select Server name: Server computer name
5. Select "use Windows authentication"
6. Test Connection
7. Error message: Login failed for user '(null)' , Reason:not associated
with a trusted SQL Server Connection.
NOTE: I can not type in any userID and password (grey). In Advanced, I can
not type in userID and password either.

Case 2: Select "use SQL Server authentication"
1. Open Server Explorer on Visual Studio.
2. Add connection
3. Select Microsoft SQL Server and Continue
4. Select Server name: Server computer name
5. Select "use SQL Server authentication"
6. Type in User Name: "MyName"
7. Type in User password: my windows server password
8. Test Connection
9. Error message: Login failed for user 'MyName' , Reason:not associated
with a trusted SQL Server Connection.





Thanks for any help

David


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Should I write Visual studio 2005 or Visual studio 2003 MCSD =?Utf-8?B?VmlqYXk=?= Microsoft Certification 14 06-30-2006 09:05 AM
Should I write Visual studio 2005 or Visual studio 2003 MCSD =?Utf-8?B?VmlqYXk=?= Microsoft Certification 0 06-29-2006 07:05 PM
Is Visual Studio Team System and Visual Studio Foundation Server are same?. Thirumalai ASP .Net 0 05-22-2006 08:48 AM
Error With The MS Visual Studio Development Environment Jacob Crossley ASP .Net 6 06-10-2004 02:24 PM
visual studio .net 2003 verses visual studio .net 2002 wh ASP .Net 2 01-16-2004 04:54 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57