useSSL=True

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 лет назад
nopCommerce 1.11 with Dedicated SSL cert installed 2009.
Functioned OK and nopCommerce automatically switched to SSL when required.

A couple few weeks ago I updated source code to nopCommerce 1.40 (installed fresh), rebuild and repopulated DB.

but the settings:
<appSettings>
    <add key="UseSSL" value="true" />
    <add key="SharedSSL" value="false" />

will not allow a login. Log shows:  The file '/false/Login.aspx' does not exist.  

Exception:  System.Web.HttpException: The file '/false/Login.aspx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  

Other than that, site access to all pages are OK.



Changing to:
<add key="UseSSL" value="false" />
    <add key="SharedSSL" value="false" />

fails to switch the site to ssl when ordering which makes sense as useSSL should be true.

Any hints?
14 лет назад
Since you have your own SSL certificate installed, try the following (for version 1.40):
<add key="UseSSL" value="true"/>
<add key="SharedSSL" value=""/>

The SharedSSL setting isn't a boolean, it is intended to be a string that is used as the host value if it isn't empty.

.
14 лет назад
I noticed that before but paid no attention to it.

That did the trick.

Thanks much.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.