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

ORM Error when running Site?

1 Answer 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
julian Welby Everard
Top achievements
Rank 1
julian Welby Everard asked on 08 Jul 2010, 11:26 AM
After a recomile of my DBLibary ORM enabled DLL i now get the following error when the site starts. All compiles fine but I cant seem to work out why I get the following error

Any got any Ideas?

Julian

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Telerik.OpenAccess.OpenAccessException: Class DBLibrary.TblAESAuthorization already has a db-table-name: 'RecruitmentWebSiteTest_Data'.'dbo'.'tblAESAuthorization'
--> DBLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null/namespace[DBLibrary]/class[DBLibrary.TblAESAuthorization]/db-table-name="dbo.tblAESAuthorization"
  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.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.Telerik.OpenAccess.SPI.IDatabaseAdapter.GetObjectScope()
  at Telerik.OpenAccess.Database.GetObjectScope()
  at DBLibrary.ObjectScopeProvider.GetNewObjectScope() in C:\inetpub\wwwroot\CRPortal\DBLibrary\ObjectScopeProvider.vb:line 79
  at DBLibrary.CommonMethod.GetBrowseJobs(String LangaugeCode, Int32 BrowseType, Int32 BrowseJobOption) in C:\inetpub\wwwroot\CRPortal\DBLibrary\CommonMethods.vb:line 1907
  at DBWebServices.Service.BrowseJobs_ByJobType(String LangaugeCode, Int32 JobType, Int32 BrowsJobOption) in C:\inetpub\wwwroot\CRPortal\WebServices\Service.asmx.vb:line 180

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 09 Jul 2010, 07:07 AM
Hi julian Welby Everard,

It seems the table for the TblAESAuthorization class is specified on two places. Could you please show us the OpenAccess configuration from the app.config file or at least the mapping for the TblAESAuthorization class?

Sincerely yours,
Alexander
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
julian Welby Everard
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or