upgrade from 1.4 to 1.5 Object reference not set to an instance of an object.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
whenever trying to access administration, or go the account page, input something into the cart i get this error can someone help, its driving me nuts

the database is being accessed since registrations happen users can register but then error page shows but after that they can log into the cart.

i´ve upgrade it from version 1.4 to 1.5

some help would be really apreciated

here is the error

     Exception of type 'System.Web.HttpUnhandledException' was thrown.

t:   System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at NopSolutions.NopCommerce.DataAccess.DBProviderManager`1.Initialize() at NopSolutions.NopCommerce.DataAccess.DBProviderManager`1.get_Provider() at NopSolutions.NopCommerce.BusinessLogic.Messages.MessageManager.GetNewsLetterSubscriptionByEmail(String Email) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\Libraries\Nop.BusinessLogic\Messages\MessageManager.cs:line 690 at NopSolutions.NopCommerce.BusinessLogic.CustomerManagement.Customer.get_NewsLetterSubscription() in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\Libraries\Nop.BusinessLogic\Customer\Customer.cs:line 883 at NopSolutions.NopCommerce.BusinessLogic.CustomerManagement.CustomerManager.UpdateCustomer(Int32 CustomerID, Guid CustomerGUID, String Email, String Username, String PasswordHash, String SaltKey, Int32 AffiliateID, Int32 BillingAddressID, Int32 ShippingAddressID, Int32 LastPaymentMethodID, String LastAppliedCouponCode, String GiftCardCouponCodes, Int32 LanguageID, Int32 CurrencyID, TaxDisplayTypeEnum TaxDisplayType, Boolean IsTaxExempt, Boolean IsAdmin, Boolean IsGuest, Boolean IsForumModerator, Int32 TotalForumPosts, String Signature, String AdminComment, Boolean Active, Boolean Deleted, DateTime RegistrationDate, String TimeZoneID, Int32 AvatarID) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\Libraries\Nop.BusinessLogic\Customer\CustomerManager.cs:line 1301 at NopSolutions.NopCommerce.BusinessLogic.CustomerManagement.CustomerManager.ApplyDiscountCouponCode(Int32 CustomerID, String CouponCode) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\Libraries\Nop.BusinessLogic\Customer\CustomerManager.cs:line 759 at NopSolutions.NopCommerce.BusinessLogic.CustomerManagement.CustomerManager.Login(String Email, String Password) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\Libraries\Nop.BusinessLogic\Customer\CustomerManager.cs:line 1507 at NopSolutions.NopCommerce.BusinessLogic.Profile.StoreMembershipProvider.ValidateUser(String username, String password) in F:\Own\NopCommerce\EnterpriseEdition\1.5Release\Libraries\Nop.BusinessLogic\Profile\StoreMembershipProvider.cs:line 405 at System.Web.UI.WebControls.Login.AuthenticateUsingMembershipProvider(AuthenticateEventArgs e) at System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) at System.Web.UI.WebControls.Login.AttemptLogin() at System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.administration_login_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\tienda\1c67cdb4\d6d943b9\App_Web_qtff5i4a.3.cs:line 0 at System
13 years ago
Did you try to make changes in the registration form , by adding or deleting something ?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.