0
  • VS2013 Update 2

I am getting the following error:

Constructor on type 'Glimpse.EF.AlternateType.GlimpseDbProviderServices' not found. 

After following advice on How can I get Glimpse to work with EF6? I downgraded EF to 6.02 (from 6.1.1) but am still getting the error. I have also ensured that I no longer hvae Glimpse referenced anywhere in the solution.

Is there another work around to get my project to run up?

EDIT

Added stack trace for what it is worth:

[MissingMethodException: Constructor on type 'Glimpse.EF.AlternateType.GlimpseDbProviderServices' not found.]
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1136
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +128
   System.Activator.CreateInstance(Type type, Object[] args) +19
   Glimpse.Ado.AlternateType.GlimpseDbProviderFactory`1.GetService(Type serviceType) +382
   System.Data.Common.DbProviderServices.GetProviderServices(DbProviderFactory factory) +149
   System.Data.Common.DbProviderServices.GetProviderServices(DbConnection connection) +14
   System.Web.Providers.ModelHelper.GetStorageMetadata(String providerName, DbConnection connection, String ssdl) +66
   System.Web.Providers.ModelHelper.CreateMetadataWorkspace(String providerName, DbConnection connection, String csdl, String ssdl, String msl) +246
   System.Web.Providers.ModelHelper.CreateEntityConnection(ConnectionStringSettings setting, String csdl, String ssdl, String msl) +198
   System.Web.Providers.ModelHelper.CreateMembershipEntities(ConnectionStringSettings setting) +82
   System.Web.Providers.DefaultRoleProvider.RoleExists(String roleName) +138
   System.Web.Security.Roles.RoleExists(String roleName) +56
   XXXX.Common.Helpers.Security.SecurityHelper.RegisterRoles() in e:\xxxxxx\SecurityHelper.cs:82
   XXXX.Platform.Global.Application_Start(Object aSender, EventArgs aEventArgs) in e:\xxxxxx\Global.asax.cs:60

[HttpException (0x80004005): Constructor on type 'Glimpse.EF.AlternateType.GlimpseDbProviderServices' not found.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9936761
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

[HttpException (0x80004005): Constructor on type 'Glimpse.EF.AlternateType.GlimpseDbProviderServices' not found.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9915300
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Community
  • 1
  • 1
TheEdge
  • 9,291
  • 15
  • 67
  • 135

1 Answers1

0

Remove Glimpse dlls from the BIN folder .

IndieTech Solutions
  • 2,527
  • 1
  • 21
  • 36