本文介绍了我想访问网络上的SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在连接网络中的两个系统.我正在使用集中化的sql server.所以我需要从另一个系统访问一个系统中的数据库

我正在使用以下连接字符串,但不起作用

I am connecting two systems in network. I am using sql server as centralised. so i need access database in one system from another system

I am using following connections string but it is not working

 Public con As New SqlConnection("Data Source=NILE-WINDOWS\SQLEXPRESS;Initial Catalog=phoneix;Integrated Security=True")
Public con As New SqlConnection("Server=NILESOFT\SQLEXPRESS,10000;Initial Catalog=phoneix;User Id=sa;Password=welcome123")
 Public con As New SqlConnection("Integrated Security=SSPI;Initial Catalog=phoneix;Data Source=NILESOFT\SQLPRESS;User Id=sa;Password=welcome")
 Public con As New SqlConnection("Data Source=192.170.1.53,1433;Network=TCP/IP;Initial Catalog=phoneix;Integrated Security=SSPI;user Id=sa;Password=welcome123")



但这不起作用

在我的sql服务器中,我使用浏览更多"获取了网络中的sqlserver

但是它不会在网络中显示sqlserver

请任何人帮助如何从网络访问sqlserver

谢谢



But it is not working

In my sql server i fetched the sqlserver in network using Browse for more

But it is not display the sqlserver in network

Please anybody help how to access the sqlserver from networking

Thank you

推荐答案


这篇关于我想访问网络上的SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 13:31