Click here to Skip to main content
15,888,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 4-May-12 16:12pm
v2
Comments
wizardzz 4-May-12 17:03pm    
Something changes obviously, what changed?
Wonde Tadesse 4-May-12 19:53pm    
Where did you put your connection string ?app.config, registry ...
[no name] 4-May-12 20:34pm    
doesn't it have any problem if i use complete name instead of "."

What computer name?

1 solution

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:)
 
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