+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / How to set the connection string in Sitefinity

How to set the connection string in Sitefinity

2 posts, 0 answered
  1. rajeswari gaekwad
    rajeswari gaekwad avatar
    11 posts
    Registered:
    05 Mar 2010
    20 Oct 2010
    Link to this post

    Hi,

             I have created the project in sitefinity then the target folder I got the sql database files as sitefinity.mdf, sitefinity_log.ldf is this the db Sitefinity using ?

     

    My main question is where I set the connection string. 

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    20 Oct 2010
    Link to this post
    Hi rajeswari gaekwad,

    The connection string to your database is stored in the <connectionstrings> configuration section in the website's web.config file. The .mdf file is used in case you decide to go with SQL Express. Otherwise Sitefinity can connect to MS Sql Server, MySQL and Oracle dbs. If you open the web.config and in the <cms> configuration section you set the enabled property to false and try navigating the project you will be presented with the database selection menu.

    All the best,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered