Hi,
After I had added few new entitties into EDMX designer I expirience this exception
SmartStore.SmartException: 'Guests' role could not be loaded
Second question is anywhere any kind of docs available in place to solve following things
1. how to add new entities to solution's DB ?
2. how to add the domain model into the Solution
Is it model first miogrations ? why in this case the modeller SmartStore.Data.SmartObjectContext.edmx file is excluded from the project smartstore.web. ?
Really appreciate ASAP response, mission critical
SmartStore.SmartException: 'Guests' role could not be loaded
#1
Geschrieben: 30 September 2019 - 11:27
#2
Geschrieben: 30 September 2019 - 12:05
SmartStore.Services.Customers.CustomerService.InsertGuestCustomer(Nullable`1 customerGuid) in D:\Dev\HMZ\RC3\BUILDS\SmartStoreNet-3.2.2\src\Libraries\SmartStore.Services\Customers\CustomerService.cs:402
SmartStore.Web.Framework.WebWorkContext.GetGuestCustomer() in D:\Dev\HMZ\RC3\BUILDS\SmartStoreNet-3.2.2\src\Presentation\SmartStore.Web.Framework\WebWorkContext.cs:184
SmartStore.Web.Framework.WebWorkContext.get_CurrentCustomer() in D:\Dev\HMZ\RC3\BUILDS\SmartStoreNet-3.2.2\src\Presentation\SmartStore.Web.Framework\WebWorkContext.cs:112
SmartStore.Web.Framework.Localization.SetWorkingCultureAttribute.OnAuthorization(AuthorizationContext filterContext) in D:\Dev\HMZ\RC3\BUILDS\SmartStoreNet-3.2.2\src\Presentation\SmartStore.Web.Framework\Localization\SetWorkingCultureAttribute.cs:38
System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor) +97
System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__0(AsyncCallback asyncCallback, Object asyncState) +640
System.Web.Mvc.Async.WrappedAsyncResult`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +14
System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +128
System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) +346
System.Web.Mvc.<>c.<BeginExecuteCore>b__152_0(AsyncCallback asyncCallback, Object asyncState, ExecuteCoreState innerState) +27
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +30
System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +128
System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) +494
System.Web.Mvc.<>c.<BeginExecute>b__151_1(AsyncCallback asyncCallback, Object callbackState, Controller controller) +16
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +20
System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +128
System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) +403
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) +16
System.Web.Mvc.<>c.<BeginProcessRequest>b__20_0(AsyncCallback asyncCallback, Object asyncState, ProcessRequestState innerState) +54
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +30
System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +128
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +427
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) +48
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +16
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +443
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +132
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
#3
Geschrieben: 01 October 2019 - 18:44
We never tested with the EDMX designer, therefore we do not support it officially. Use Code First approach please.
Murat Cakir
SmartStore AG
Auch markiert mit einem oder mehrerer dieser Schlüsselwörter: ef, database, migrations, smartsorenet
Beantwortet
Smartstore (English) →
Customize & Extend Smartstore →
Entity Framework (EF) migrationEröffnet von kurtulus.m - 06 Jan 2023 ef, migration |
|
|
||
Smartstore (English) →
General Smartstore →
About SQLite SupportEröffnet von suat_suphi - 15 Oct 2022 database, sqlite |
|
|
||
Smartstore (English) →
Customize & Extend Smartstore →
Guide to building a PluginEröffnet von john789 - 30 Jul 2021 plugin, guide, database |
|
|
||
Smartstore (English) →
General Smartstore →
How to decrease database size?Eröffnet von SalehBagheri - 20 Apr 2020 database, size, decrease |
|
|
||
Smartstore (English) →
Installation & Setup Smartstore →
So pls explain me how the system checks if database was installed ?Eröffnet von kdenisinfo - 24 Sep 2019 databasae, configuration und noch 2 weitere... |
|
|