NopCommerce 1.9 - machine.config error

Discussion in 'Third-party applications' started by mfr1, Feb 26, 2011.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello,

    I've uploaded NopCommerce 1.9 designed for .NET 4. I have set site as .NET 4 and tried to run the NopCommerce installer (which works on my desktop).

    Unfortunately i'm getting a config error on the machine.config !

    I don't have access to machine.config. Looks like account not configured correctly?

    Thanks for help.

    Error:
    --------------------------------------------------------------------------
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.

    Source Error:


    Line 247: <roleManager>
    Line 248: <providers>
    Line 249: <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    Line 250: <add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    Line 251: </providers>


    Source File: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config Line: 249


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
     
  2. mjp

    mjp

    Thanks for posting the follow-up!
     
  3. Similar Problem...

    Hi,

    I have a simialr problem after migrating to a new server. Just wondering why I need to update my config file when it worked fine on the old server? Is there anything server related that can be updated? i.e. the machine.config file?

    Thanks.
     
  4. mjp

    mjp

    The machine.config is going to be a little different everywhere, so an application working on one server but not another isn't unusual.

    We cannot make changes to machine.config to accommodate specific users. That configuration has to be consistent across all of the web servers.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page