Hi! On local iis server everything is ok. but after deployment on hosting server (arvixe) i get an error (http://gool.lv.gall.arvixe.com/)
Guests' role could not be loaded
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: Nop.Core.NopException: 'Guests' role could not be loaded
[NopException: 'Guests' role could not be loaded] Nop.Services.Customers.CustomerService.InsertGuestCustomer() in C:\Users\Surikus\Desktop\gool.lv 2.0\Libraries\Nop.Services\Customers\CustomerService.cs:619 Nop.Services.WorkContext.GetCurrentCustomer() in C:\Users\Surikus\Desktop\gool.lv 2.0\Libraries\Nop.Services\WorkContext.cs:131 Nop.Services.WorkContext.get_CurrentCustomer() in C:\Users\Surikus\Desktop\gool.lv 2.0\Libraries\Nop.Services\WorkContext.cs:199 Nop.Web.MvcApplication.SetWorkingCulture() in C:\Users\Surikus\Desktop\gool.lv 2.0\Presentation\Nop.Web\Global.asax.cs:135 Nop.Web.MvcApplication.Application_AuthenticateRequest(Object sender, EventArgs e) in C:\Users\Surikus\Desktop\gool.lv 2.0\Presentation\Nop.Web\Global.asax.cs:96 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Seems that something got wrong during installation ('Guests' role awsn't inserted). Try to reinstall the application (and clear the database before it's done)
Admin workin fine! Frontend, until I try to open any page where is product data.
i got an error.
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.
As I understand the main point is the https://www.nopcommerce.com/boards/t/10500/publishing-20.aspx link.
I tryed to do everything as described, exept deployment useng WebMatrix.
The steps was:
1. Download source 2. Open it in VS 2010 3. Run project and install NopCommerce on local DB (copy of server DB) 4. Executed Update SQLs 5. Everything work fine! (Admin and frontend) 6. Rebuild application with new sqlconnection sting (Hosting SQL server) 7. Test ok! 9. Run Prepare.bat (no errors) 10. Run Deploy.bat (no errors) 11. Copy all files from \Deployable\nop_2.0\ to the Web server 12. Copy DB From local station to Web SQL server Open site, it opens, everything looks like ok, but when click on product/category/manufacturer i get this error.
Can you please tell me where is my mistake? As I understand from the link you give me before, i do everything right.
It means that you didn't deploy nopCommerce properly. This file is created during installation and contains a list of installation plugins. Just copy it to the server and restart the applciation
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.