We have a working NopCommerce 1.3 solution in place and we want to recreate this live production version on the same server but as a UAT version.
The following steps have been taken
1. Created a new IIS website called ( UAT.Domainname.com) with a new application pool
2. Created a DB copy and called this (NopCommerce-UAT)
3. Changed the configuration file and pointed it to the new DB
4. Changed the shop url in the administration area to point to the new one.
Now the "replica" of the website works and I can connect and see the images etc but when I do a payment i get a ASP error.
File : CheckoutPaymentInfo.aspx
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
NopSolutions.NopCommerce.Web.Modules.OrderDetailsControl.BindData() +805
NopSolutions.NopCommerce.Web.Modules.OrderDetailsControl.Page_Load(Object sender, EventArgs e) +402
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
This is the same version that is working fine but its just pointing to the copy of the DB and in a new application pool under a new website in IIS. Both UAT and Live are on the same server
Any help would be much apperciated