Connecting to Database ERROR

  • Hi Friends,

    I am working on VS2008 with database as SQL Server 2005 and then I try to run any forms I am getting the below error message, can someone help me please.

    "SQL Error 87 : 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: 25 - Connection string is not valid)"

  • Details are missing..

    In VS2008, are you creating forms or debugging someone's created forms?

    Where is the SQL 2005, is it in the same domain,then how are you connecting to it using SQL Login or WIndows Authentication?

    Were you able to connect to the SQL 2005 server earlier?

    Cannot guess all these question, reply with answers and will go one step at a time...


    Bru Medishetty

    Blog -- LearnSQLWithBru

    Join on Facebook Page Facebook.comLearnSQLWithBru

    Twitter -- BruMedishetty

  • Hello,

    Thank you for the the reply, here are the details:

    In VS2008, are you creating forms or debugging someone's created forms?

    -- I am creating the new forms and saving the data to the SQL Server 2005

    Where is the SQL 2005, is it in the same domain,then how are you connecting to it using SQL Login or WIndows Authentication?

    -- Using Windows Authentication mode

    Were you able to connect to the SQL 2005 server earlier?

    -- No not able to connect at all

  • Since you were never able to connect to SQL Server from VS2008, let me know what are the steps you are performing to create a new connection?


    Bru Medishetty

    Blog -- LearnSQLWithBru

    Join on Facebook Page Facebook.comLearnSQLWithBru

    Twitter -- BruMedishetty

  • Hello,

    The issue has been resolved, thanks

Viewing 5 posts - 1 through 4 (of 4 total)

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