After upgrading from 1.7 to 1,9 I get errors

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Helllo,
I had a working version of 1.7. to day I download version 1.9 (no source code) and copy the whole extracted files to c:\inetpub\wwroot\sitename folder.
Run install/install.aspx file, the upgrade completed successfully.
Now when going to site I get;
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.BusinessLogic.Infrastructure.IoC.Resolve() +154
   NopSolutions.NopCommerce.BusinessLogic.NopContext.GetSession(Boolean createInDatabase, Nullable`1 sessionId) +1199
   NopSolutions.NopCommerce.BusinessLogic.NopContext.GetSession(Boolean createInDatabase) +158
   NopSolutions.NopCommerce.BusinessLogic.NopContext.get_Session() +52
   NopSolutions.NopCommerce.BusinessLogic.Profile.MembershipHttpModule.Application_BeginRequest(Object sender, EventArgs e) +159
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +266






AFTER THIS ERROR:

I copy the source code to c:\myfolder, and open the prohect with VS, then publish it to c:\inetpub\wwroot\sitename folder.
When I go to site, it takes me automatically to install/install.aspx page, I am trying to make the upgrade again.
in step 3 after select the upgrade> and database name, click Next will not come up to the next step. no error is displayes. so now I am stuck, please help,





--------------------------------------------------------------------------------
13 years ago
ok I edit the connection string and it works. thanks.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.