Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 connection

Author  Topic 

pascal_jimi
Posting Yak Master

167 Posts

Posted - 2013-06-27 : 05:28:15
how make i connection to the network sql server

kmkmmm

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-06-27 : 05:30:32
are you trying to access it from within domain or from outside? If latter, is sql server configured for accessing over internet?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

pascal_jimi
Posting Yak Master

167 Posts

Posted - 2013-06-27 : 05:31:08
Can not connect to XIRDALAN-SERVER

Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. (.Net SqlClient Data Provider)


kmkmmm
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-06-27 : 05:34:46
quote:
Originally posted by pascal_jimi

Can not connect to XIRDALAN-SERVER

Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. (.Net SqlClient Data Provider)


kmkmmm


whats the connection string you're using?
Also whats the edition and version of sql server?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

pascal_jimi
Posting Yak Master

167 Posts

Posted - 2013-06-27 : 05:39:00
THERE ARE MANY computers in COMPANY
AND YES SQL SERVER 2000 IN LOCAL NETWORK

BUT I can not connect THIS SERVER

kmkmmm
Go to Top of Page

pascal_jimi
Posting Yak Master

167 Posts

Posted - 2013-06-27 : 05:41:21


SERVER NAME --- XIRDALAN-SERVER



AUTHENTICATION WINDOWS

kmkmmm
Go to Top of Page

pascal_jimi
Posting Yak Master

167 Posts

Posted - 2013-06-27 : 05:42:09
SQL SERVER 2000 ENTERPRICE MANAGER

kmkmmm
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-06-27 : 05:42:47
quote:
Originally posted by pascal_jimi



SERVER NAME --- XIRDALAN-SERVER



AUTHENTICATION WINDOWS

kmkmmm


Sorry i was asking on connection string you use from .net

see below on formats of various to be used wfor .net

http://www.connectionstrings.com/sql-server



------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

pascal_jimi
Posting Yak Master

167 Posts

Posted - 2013-06-27 : 06:25:03
How to create a SQL Server login parol


kmkmmm
Go to Top of Page

pascal_jimi
Posting Yak Master

167 Posts

Posted - 2013-06-27 : 06:25:41
with transact sql

kmkmmm
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-06-27 : 06:42:44
quote:
Originally posted by pascal_jimi

How to create a SQL Server login parol


kmkmmm


see CREATE LOGIN statement

http://msdn.microsoft.com/en-us/library/ms189751.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

pascal_jimi
Posting Yak Master

167 Posts

Posted - 2013-08-08 : 17:42:01
vvv

http://sql-az.tr.gg/
Go to Top of Page
   

- Advertisement -