This question is locked. New answers and comments are not allowed.
Hello,
after finishing my test project and successfull testing on local VS2010, i have deployed it to my test server (WIN 2003 Server + IIS 6, Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1).
But after requesting a page which accesses the database i get following error:
Exception Details: Telerik.OpenAccess.Exceptions.MetadataException: Class 'DynamicXAPLoading.Web.LS_KOPF' cannot use single field identity and an objectid-class is required. --> OracleConnectionModel/namespace[DynamicXAPLoading.Web]/class[LS_KOPF]
What could be wrong, because it works without errors on local development environment.
Richard.
after finishing my test project and successfull testing on local VS2010, i have deployed it to my test server (WIN 2003 Server + IIS 6, Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1).
But after requesting a page which accesses the database i get following error:
Exception Details: Telerik.OpenAccess.Exceptions.MetadataException: Class 'DynamicXAPLoading.Web.LS_KOPF' cannot use single field identity and an objectid-class is required. --> OracleConnectionModel/namespace[DynamicXAPLoading.Web]/class[LS_KOPF]
What could be wrong, because it works without errors on local development environment.
[MetadataException: Class 'DynamicXAPLoading.Web.LS_KOPF' cannot use single field identity and an objectid-class is required. --> OracleConnectionModel/namespace[DynamicXAPLoading.Web]/class[LS_KOPF]]
Telerik.OpenAccess.RT.ExceptionWrapper.Throw() +7
OpenAccessRuntime.storagemanager.StorageManagerFactoryBuilder.createSmfForURL() +269
OpenAccessRuntime.storagemanager.StorageManagerFactoryBuilder.createStorageManagerFactory() +261
OpenAccessRuntime.DataObjects.PersistenceManagerFactoryImp.createStorageManagerFactory() +427
OpenAccessRuntime.DataObjects.PersistenceManagerFactoryBase.init() +625
OpenAccessRuntime.DataObjects.PersistenceManagerFactoryImp.init() +41
OpenAccessRuntime.DataObjects.PersistenceManagerFactoryImp..ctor(PropertySet properties, Object classloader) +738
OpenAccessRuntime.DataObjects.BootstrapPMF.getPersistenceManagerFactory(PropertySet props) +210
Telerik.OpenAccess.RT.Helper.getPersistenceManagerFactory(PropertySet props) +223
Telerik.OpenAccess.RT.DatabaseAdapter.AssertPersistenceManagerFactory(String usr, String password, Boolean open) +1156
Telerik.OpenAccess.RT.DatabaseAdapter.Telerik.OpenAccess.SPI.IDatabaseAdapter.GetMetaData() +19
Telerik.OpenAccess.OpenAccessContextBase.get_Metadata() +170
Telerik.OpenAccess.Ria.OpenAccessTypeDescriptionContext..ctor(Type dataContextType) +140
Telerik.OpenAccess.Ria.OpenAccessDomainServiceDescriptionProvider.FindContext(Type t) +129
Telerik.OpenAccess.Ria.OpenAccessDomainServiceDescriptionProvider.FindContext(Type t) +153
Telerik.OpenAccess.Ria.OpenAccessDomainServiceDescriptionProvider..ctor(Type domainServiceType, DomainServiceDescriptionProvider parent) +60
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType) +0
System.RuntimeMethodHandle.InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct signature, RuntimeType declaringType) +15
System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +281
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1136
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
System.ServiceModel.DomainServices.Server.DomainServiceDescriptionProviderAttribute.CreateProvider(Type domainServiceType, DomainServiceDescriptionProvider parent) +261
System.ServiceModel.DomainServices.Server.DomainServiceDescription.CreateDescriptionProvider(Type domainServiceType) +362
System.ServiceModel.DomainServices.Server.DomainServiceDescription.CreateDescription(Type domainServiceType) +34
System.ServiceModel.DomainServices.Server.<>c__DisplayClass8.<
GetDescription
>b__7(Type type) +9
System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +72
System.ServiceModel.DomainServices.Server.DomainServiceDescription.GetDescription(Type domainServiceType) +196
System.ServiceModel.DomainServices.Hosting.DomainServiceHost..ctor(Type domainServiceType, Uri[] baseAddresses) +263
System.ServiceModel.DomainServices.Hosting.DomainServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) +28
System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +420
System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1440
System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +44
System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +615
[ServiceActivationException: The service '/Services/DynamicXAPLoading-Web-MyDomainService_Service.svc' cannot be activated due to an exception during compilation. The exception message is: Exception has been thrown by the target of an invocation..]
System.Runtime.AsyncResult.End(IAsyncResult result) +679246
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +190
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, String routeServiceVirtualPath, Boolean flowContext, Boolean ensureWFService) +234
System.ServiceModel.Activation.HttpHandler.ProcessRequest(HttpContext context) +24
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Richard.