Error in code?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 năm cách đây
Good day.

Maybe this problem is alreay fixed (I downloaded the source 01.05.2011).

In StoreRoleProvider.cs:

------------
this._appName = config["applicationName"];
            if (string.IsNullOrEmpty(this._appName))
            {
                this._appName = "NopCommerce";
            }
            if (this._appName.Length > 0x100)
            {
                throw new ProviderException("Provider application name too long");
            }
            config.Remove("applicationName");

            string connectionStringName = config["connectionStringName"];
            if (string.IsNullOrEmpty(connectionStringName))
            {
                this._appName = "NopSqlConnection";
            }
--------------

I guess in the last row "this._appName = " should be replaced by "connectionStringName", no?

The same code in StoreMembershipProvider
12 năm cách đây
1
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.