Close

'AnywhereSlidersObjectContext'

[email protected]
12 years ago
#724 Quote
Avatar
  • 2
Hi,

I click to install the Nop Anywhere Sliders from the Admin/Plugins page and it gives me the following message:

"The model backing the 'AnywhereSlidersObjectContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269)."

Any thoughts on how to proceed further?

Thanks!
Support
12 years ago
#726 Quote
Avatar
  • Moderator
  • 1044
[email protected] wrote:
Hi,

I click to install the Nop Anywhere Sliders from the Admin/Plugins page and it gives me the following message:

"The model backing the 'AnywhereSlidersObjectContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269)."

Any thoughts on how to proceed further?

Thanks!


Hi,

Thank you for reporting this issue.
Could you tell us where you are trying to install the Sliders - SQL Server or Compact Edition database? Which version of Sliders are you using?

Best Regards,
Nop-Templates Support Team
[email protected]
12 years ago
#727 Quote
Avatar
  • 2
The error message came when I tried to install the sliders into the Compact Edition database.  I then tried to install on the SQL Server and it worked just fine.  Thanks for pointing that out.  v. 2.5.

Thanks!

Support
12 years ago
#733 Quote
Avatar
  • Moderator
  • 1044
[email protected] wrote:
The error message came when I tried to install the sliders into the Compact Edition database.  I then tried to install on the SQL Server and it worked just fine.  Thanks for pointing that out.  v. 2.5.

Thanks!



Hi,

The problem is fixed now and the plugin can be installed into Compact Edition database without problems.

Thank you again for reporting this issue!

Best Regards,
Nop-Templates Support Team
entuland
10 years ago
#2804 Quote
Avatar
  • 2
Hello,
the problem seems to persist on version 2.65 with MSSQL CE edition.

I took the plugin from here:
http://www.nopcommerce.com/p/612/ahsenslider-banner-slider.aspx

The full error page I get follows (at least, part of it, the "code" marker doesn't seem to work and my input seems to get truncated).

Can I work around the error on my side?

[code]
Server Error in '/' Application.
The model backing the 'SliderObjectContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).
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.InvalidOperationException: The model backing the 'SliderObjectContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).

Source Error:


Line 12: @if (!String.IsNullOrEmpty(Model.ConfigurationActionName))
Line 13: {
Line 14:     @Html.Action(Model.ConfigurationActionName, Model.ConfigurationControllerName, Model.ConfigurationRouteValues);
Line 15: }
Line 16: else


Source File: d:\inetpub\webs\WEBSITENAME\Administration\Views\Widget\ConfigureWidget.cshtml    Line: 14

Stack Trace:


[InvalidOperationException: The model backing the 'SliderObjectContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).]
   System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context) +394
   System.Data.Entity.Internal.<>c__DisplayClass8.<PerformDatabaseInitialization>b__6() +19
   System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action) +72
   System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization() +186
   System.Data.Entity.Internal.LazyInternalContext.<InitializeDatabase>b__4(InternalContext c) +7
   System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input) +118
   System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action) +190
   System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase() +73
   System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +28
   System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() +56
   System.Data.Entity.Internal.Linq.InternalSet`1.GetEnumerator() +15
   System.Data.Entity.Infrastructure.DbQuery`1.System.Collections.Generic.IEnumerable<TResult>.GetEnumerator() +40
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +315
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
   Nop.Plugin.Widgets.AhsenSlider.Controllers.WidgetsAhsenSliderController.GetAllSliderModels() +72
   Nop.Plugin.Widgets.AhsenSlider.Controllers.WidgetsAhsenSliderController.Configure() +42
   lambda_method(Closure , ControllerBase , Object[] ) +40
   System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +208
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +55
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +263
   System.Web.Mvc.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() +19
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDes
Boyko
10 years ago
#2805 Quote
Avatar
  • Moderator
  • 1570
entuland wrote:
Hello,
the problem seems to persist on version 2.65 with MSSQL CE edition.

I took the plugin from here:
http://www.nopcommerce.com/p/612/ahsenslider-banner-slider.aspx

The full error page I get follows (at least, part of it, the "code" marker doesn't seem to work and my input seems to get truncated).

Can I work around the error on my side?


Hi entuland,

You are using a plugin that is NOT developed by us. You should contact the plugin vendor.
This forum is about the Nop Anywhere Sliders plugin, which you could give a try (we have a free trial version).

Best Regards,
Nop-Templates Support Team
Regards,
Nop-Templates.com Team
entuland
10 years ago
#2813 Quote
Avatar
  • 2
Boyko wrote:
Hello,
the problem seems to persist on version 2.65 with MSSQL CE edition.

I took the plugin from here:
http://www.nopcommerce.com/p/612/ahsenslider-banner-slider.aspx

The full error page I get follows (at least, part of it, the "code" marker doesn't seem to work and my input seems to get truncated).

Can I work around the error on my side?

Hi entuland,

You are using a plugin that is NOT developed by us. You should contact the plugin vendor.
This forum is about the Nop Anywhere Sliders plugin, which you could give a try (we have a free trial version).

Best Regards,
Nop-Templates Support Team


Hello Boyko,
thanks for your message, I apologize for the mistake.

I will definitely have a look to your Anywhere Sliders plugin.

Cheers!