Remote server Problem in Sql server 2005

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nagmvs
    New Member
    • Aug 2008
    • 49

    Remote server Problem in Sql server 2005

    Hai when i try to connect dataabse to my vs 2005 project it shows one error :

    An error has occurred while establishing a connection to the remote server...this failure may be caused by the fact that under default settings SQL Server does not allow remote connections (error: 25 - Connection string is not valid)".

    so please help me to resolve my problem as soon as possible.

    Thanks,
  • pankajvtcse
    New Member
    • Jul 2009
    • 10

    #2
    Remote Sql server Connection

    Connection string is not valid: might this is because of user name or password is wrong.
    To create authenticated user you need to create a LOGIN in remote server and provide permmissions for particular DATABASES.

    Then follow the points on remote sql server :
    1.START-> All Programs ->Sql server 2005 -> Configuration tools->
    Sql Server Suface area Configurations.
    2.Click Surface area configuration for features.
    3.Under dtabase Engine tree Click Remote Connection and enable with any
    option ( select option with both) .
    4.Click OK. Then restart service.
    Now try to connect to remote server using server authentication.

    -Pankaj Tambe

    Comment

    • nagmvs
      New Member
      • Aug 2008
      • 49

      #3
      Hello Sir

      Thanks.I will try now.

      Comment

      • Sumachechi
        New Member
        • Jul 2009
        • 3

        #4
        Hi

        i was facing the error when opening connection using sqlconnection

        nw got solved


        Blogger is a blog publishing tool from Google for easily sharing your thoughts with the world. Blogger makes it simple to post text, photos and video onto your personal or team blog.


        Blogger is a blog publishing tool from Google for easily sharing your thoughts with the world. Blogger makes it simple to post text, photos and video onto your personal or team blog.



        See This

        Comment

        Working...