Error OnStart Up

2 posts, 0 answers
  1. Fakhru
    Fakhru avatar
    37 posts
    Member since:
    Oct 2007

    Posted 30 Aug 2009 Link to this post

    I got error when using OpenAccess on my ASP.NET MVC apps, here the stact trace:

    Telerik.OpenAccess.OpenAccessException was unhandled by user code 
      Message="Unable to create RelationalKeyGeneratorFactory instance OpenAccessRuntime.Relational.sql.HighLowRelationalKeyGenerator+Factory" 
      Source="Telerik.OpenAccess" 
      CanRetry=false 
      StackTrace: 
           at Telerik.OpenAccess.SPI.Backends.ThrowException(Exception e) 
           at Telerik.OpenAccess.RT.ExceptionWrapper.Throw() 
           at OpenAccessRuntime.storagemanager.StorageManagerFactoryBuilder.createSmfForURL() 
           at OpenAccessRuntime.storagemanager.StorageManagerFactoryBuilder.createStorageManagerFactory() 
           at OpenAccessRuntime.DataObjects.PersistenceManagerFactoryImp.createStorageManagerFactory() 
           at OpenAccessRuntime.DataObjects.PersistenceManagerFactoryBase.init() 
           at OpenAccessRuntime.DataObjects.PersistenceManagerFactoryImp.init() 
           at OpenAccessRuntime.DataObjects.PersistenceManagerFactoryImp..ctor(IDictionary properties, Object classloader) 
           at OpenAccessRuntime.DataObjects.PersistenceManagerFactoryImp.getPersistenceManagerFactory(IDictionary props) 
           at OpenAccessRuntime.DataObjects.BootstrapPMF.getPersistenceManagerFactory(IDictionary props) 
           at Telerik.OpenAccess.RT.Helper.getPersistenceManagerFactory(IDictionary props) 
           at Telerik.OpenAccess.RT.DatabaseAdapter.AssertPersistenceManagerFactory(String usr, String password, Boolean open) 
           at Telerik.OpenAccess.RT.DatabaseAdapter.GetObjectScope(TransactionProvider provider) 
           at Telerik.OpenAccess.RT.DatabaseAdapter.GetObjectScope() 
           at Telerik.OpenAccess.Database.GetObjectScope() 
           at _9JuliSoftware._Default.get_UniqueScope() in C:\Documents and Settings\F8R\My Documents\Visual Studio 2008\Projects\9julisoftware\Default.aspx.cs:line 32 
           at _9JuliSoftware.Controllers.HomeController.Index() in C:\Documents and Settings\F8R\My Documents\Visual Studio 2008\Projects\9julisoftware\Controllers\HomeController.cs:line 21 
           at lambda_method(ExecutionScope , ControllerBase , Object[] ) 
           at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) 
           at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) 
           at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) 
           at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassa.<InvokeActionMethodWithFilters>b__7() 
           at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) 
      InnerException: System.InvalidCastException 
           Message="Unable to cast object of type 'Factory' to type 'OpenAccessRuntime.Relational.RelationalKeyGeneratorFactory'." 
           Source="Telerik.OpenAccess.Runtime" 
           StackTrace: 
                at OpenAccessRuntime.Relational.RelationalKeyGeneratorFactoryRegistry.getFactory(String name) 
           InnerException:  
     


    Best Regards,
    Fakhru Rahman
  2. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 31 Aug 2009 Link to this post

    Hi Fakhru,

    It seems this problem has already been encountered by another customer. His solution could be found in this forum thread. Please, tell us if this does not help in your case.

    Kind regards,
    Alexander
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
Back to Top