connecting sql server 2008 to visual studio 2008

  • I cannot connect my server name to server whenever i m connecting error is displayed

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)

    can anyone please help to solve this.i am digging my head in the net for all the possible solutions.no luck..

    thanks in advance.

  • Incorrect spelling of the server name

    Is the server online

    Can you connect via SSMS

    Have you enabled remote connections

  • Thankyou for your Reply..

    I'll tell what I've alreaddy done.

    enabled Tcp/ip,in Ip Addres tab,changed the dynamic port from 0 to blank.and tcp port,which is by default 1433.in windows firewall,add new rule,I added the port to 1433.Then coming back to ssms i checked the connection properties if remote connections possible.all gud goinng.can connect thru ssms

    What am I missing now?

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply