none
How to change Source Database Connection in C# Sql Server 2008 Database Project ? RRS feed

  • Question

  • HI All,

      I Have created a Database project. I have provided SOURCE and TARGET Connections while creating the Project..

    Now i have to change the Source Database Connection to some other instance. How can i achieve this?

    Regards

    Ram

    Tuesday, February 14, 2012 10:50 AM

Answers

  • Hi SREE_BI,

    Welcome to MSDN Forum.

    What's the type of project you have created? In common, connection string is written in configuration file which has a .config extension. Please try to look for the connection string in the app.config or web.config, then you can modify it.

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, February 16, 2012 2:25 AM
    Moderator

All replies

  • Hi Ram,

    I am moving your thread into the ADO.NET Managed Providers Forum for dedicated support. Thanks for your
    understanding.

    Best Regards,



    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, February 15, 2012 8:52 AM
  • Hi SREE_BI,

    Welcome to MSDN Forum.

    What's the type of project you have created? In common, connection string is written in configuration file which has a .config extension. Please try to look for the connection string in the app.config or web.config, then you can modify it.

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, February 16, 2012 2:25 AM
    Moderator