This is a migrated thread and some comments may be shown as answers.

OpenAccess Method Not Found

1 Answer 107 Views
Integration with other products
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tom
Top achievements
Rank 1
Tom asked on 18 Feb 2014, 03:28 PM
Hi,

I am trying to integrate Telerik Data Access Profiler into an existing project. I installed the DA software and upgraded
my references in Visual Studio:

VisualStudio2010 > Telerik > Telerik Data Access > Upgrade References


Now I am getting the following runtime error:


Method not found:
'Telerik.OpenAccess.Metadata.Fluent.NavigationPropertyConfiguration`2<!0,!1>

Telerik.OpenAccess.Metadata.Fluent.NavigationPropertyConfiguration`2.IsManaged()'.



Full Trace


[MissingMethodException: Method not found: 'Telerik.OpenAccess.Metadata.Fluent.NavigationPropertyConfiguration`2<!0,!1> Telerik.OpenAccess.Metadata.Fluent.NavigationPropertyConfiguration`2.IsManaged()'.]
DynamicModule.ns.Wrapped_OpenAccessMetaDataProvider_92572fe62a454301b9d1d413ac9d9bcd.Initialize(String providerName, NameValueCollection config, Type managerType) +299
Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, Type providerType, ExceptionPolicyName policy, ManagerBase`1 manager) +2264
Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(IDataProviderSettings providerSettings, ExceptionPolicyName policy, ManagerBase`1 manager) +126
Telerik.Sitefinity.Data.ManagerBase`1.SetProvider(String providerName, String transactionName) +658
Telerik.Sitefinity.Data.ManagerBase`1..ctor(String providerName, String transactionName) +276
Telerik.Sitefinity.Data.ManagerBase`1..ctor() +37
Telerik.Sitefinity.Data.Metadata.MetadataManager..ctor() +28

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +113
System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +232
System.Activator.CreateInstance() +117
Telerik.Sitefinity.Data.ManagerBase`1.GetManager(String providerName, String transactionName) +139
Telerik.Sitefinity.Data.ManagerBase`1.GetManager() +77
Telerik.Sitefinity.Data.Metadata.MetadataManager.GetManager() +32
Telerik.Sitefinity.Services.SystemManager.Initialize() +257
Telerik.Sitefinity.Abstractions.Bootstrapper.RegisterRoutes() +879
Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +370
Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +130
System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +10
System.Web.HttpApplication.InitModulesCommon() +80
System.Web.HttpApplication.InitModules() +64
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +792
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +336
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +525

1 Answer, 1 is accepted

Sort by
0
Kristian Nikolov
Telerik team
answered on 21 Feb 2014, 09:05 AM
Hi Tom,

We are sorry to see you are experiencing issues.

In order to investigate the situation you are faced with, we would need some additional details. Could you please answer the following questions:
  1. Are you using Sitefinity with the project in question? If so, which version are you using?
  2. Did the exception start to appear only after you installed Telerik Data Access and upgraded the references of your project?
  3. Can you detail when during runtime is the exception thrown?
  4. If possible, could you send us the project containing your Telerik Data Access model?
I have converted this thread to Products Feedback in order to allow you to attach files.

We are looking forward to your feedback,

Regards,
Kristian Nikolov
Telerik
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
Tags
Integration with other products
Asked by
Tom
Top achievements
Rank 1
Answers by
Kristian Nikolov
Telerik team
Share this question
or