in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Problem updating the webconfig connection string

Last post 05-21-2008 9:41 AM by chris.cyvas. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-20-2008 2:07 PM

    • erann
    • Not Ranked
    • Joined on 04-19-2008
    • Posts 1

    Problem updating the webconfig connection string

    Hi there ,I've downloaded Dashcommerce 3.0 and opened the sln in visual studio 2008 (I don't have IIS on my pc).
    I then installed SQL express and run through the browser the installation page.

    Everything worked well and I got the connection string I need to update in the webconfig file.

    The problem is that I can't find which row I need to replace , There is now such a row like :

    "<add name="dashCommerce" connectionString="SOMETEXT" providerName="System.Data.SqlClient" />"

    To replace with the new connection string.

    And I even searched for "providerName="System.Data.SqlClient"" and didnt find anything.

    I do have some nodes that start with  "<add name="dashCommerce ... " But I'm not sure which I should replace.

     

    Please advise.

     

  • 04-21-2008 9:35 AM In reply to

    Re: Problem updating the webconfig connection string

    Answer

     Its not in the web.config. but in the Connectionstring.config

     

     

  • 05-21-2008 6:11 AM In reply to

    Re: Problem updating the webconfig connection string

     Hi all,

    Hope that you all be fine.

    I'have done these steps to successfully run the dashcommerce in VS2008.

    ->Installed all the prereq.

    ->run .sln file

    ->build it but stii not findind the database for the dash commerce. Does it come with the dash commerce or with the MS SQL  Server 2005 with advance servises. 

    I am  having this error

    Line 96:       Validator.ValidateStringArgumentIsNotNullOrEmptyString(configurationSectionName, CONFIGURATION_SECTION_NAME);
    Line 97:
    Line 98: ConfigurationDatumCollection configurationDatumCollection = new ConfigurationDatumCollection().
    Line 99: Where(ConfigurationDatum.Columns.Name, configurationSectionName).
    Line 100: Load();
     

    Where do i llokm for it to set the connection string. I am facing this error from one month.

    Thanks.

  • 05-21-2008 9:41 AM In reply to

    Re: Problem updating the webconfig connection string

    If I remember the installer correctly, one of the steps in there asks you to replace this line:

    "<add name="dashCommerce" connectionString="SOMETEXT" providerName="System.Data.SqlClient" />"

    with the one that is printed in red on the same screen. You will set your connection string in connectionString.config.

    HTH

    --
    Big Smile ~ Chris

    Open Source = Community = Shared Responsibility = Submit A Patch!
    Filed under:
Page 1 of 1 (4 items)