连接服务器名称 [英] connection server name
问题描述
我使用了."要在Winform中添加新连接时将其作为服务器名称.但是我不知道为什么它不再起作用了.我应该输入完整名称,例如PC-PC.
当我使用."作为服务器名称,它将不再显示用于连接它们的数据库列表.
现在我有2个问题
1.如何解决它,以便可以使用."作为服务器名称?
2.如果我使用完整名称而不是.",那没有任何问题.制作安装文件后,让其他计算机使用此应用程序吗?
任何帮助将不胜感激
在此先感谢
I used "." as a server name when I wanted to add new connection into the winform. But I don''t know why it''s not working anymore. I should type the complete name like PC-PC.
When I use "." as a server name it won''t show me list of database for connecting to them anymore.
Now I have 2 questions
1. How can I fix it so that I can use "." as a server name?
2. Doesn''t it have any problem if I use complete name instead of "." after making setup file and let the other computers for using this application?
Any help will be appreciated
Thanks in advance
推荐答案
解决此问题
右键单击MyComputer图标->选择管理
--->服务-> Sql Server浏览器->右键单击->
启动此服务
您的问题现在可以解决
祝你好运
快乐编码:)
Hi,
To Solve this Problem
Right Click on MyComputer Icon --> Select Manage
---> Services --> Sql Server Browser --> Right Click -->
Start this Service
Your Problem Will Solved Now
Best luck
Happy Coding:)
这篇关于连接服务器名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!