OpenAccess Method Not Found

2 posts, 0 answers
  1. Tom
    Tom avatar
    1 posts
    Member since:
    Aug 2013

    Posted 18 Feb 2014 Link to this post

    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

  2. Kristian Nikolov
    Admin
    Kristian Nikolov avatar
    206 posts

    Posted 21 Feb 2014 Link to this post

    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.
  3. DevCraft banner
Back to Top