Click here to Skip to main content
16,015,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Helo

I have created a windows application using VB.NET and SQL server 2008. I installed SQL server in one of the system and give sql server authentication. It works fine. But the problem is that i am not able to login with the same IP address with other system's sql server.. How can i solve that( i dont know is it possible to do like that)
i given server name : 192.168.1.19\SQLEXPRESS
username : ajantha_sw
pswrd :******* like that........
Posted
Updated 26-Dec-12 20:01pm
v2

1 solution

Hi,

If you machine have multiple instance then, you need to specify the instance name.
Other wise use only IP/ Name.

Please check on which port SQL server is running

Run this Query through sysadmin

SQL
SELECT
    e.name as ProtocolName
    ,ec.local_tcp_port as Port
    ,ec.local_net_address as IP
FROM
    sys.endpoints e
LEFT JOIN
    sys.dm_exec_connections ec
ON
    ec.endpoint_id = e.endpoint_id
where
      e.name = 'TSQL Default TCP'
GROUP BY
    e.name
    ,ec.local_tcp_port
    ,ec.local_net_address


Then use IP,Port and try again.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900