Thanks in advance,
Geoff.
7 Answers, 1 is accepted
There should be a new version uploaded in Telerik Labs, that has improved installer. Please give it a spin and tell us whether it fixed the problem.
Regards,
Dimitar Kapitanov
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.
We still have this issue with 64bit operating systems opened. It will be fixed in the next release of the Data Services Wizard. In the meantime there is a workaround which you can use:
1. Copy the add-in file "DSWVS08AddIn.AddIn (You can find it in your target installation directory in "IDEIntegrations") to [Personal Documents]\Visual Studio 2008\Addins.
2. Update the assembly path of the Addin in the Add-in file from
"<Assembly>C:\Program Files\Telerik\OpenAccess ORM\Data Services Wizard\VS08\DSWVS08AddIn.dll</Assembly>" to the assembly in your installation target directory "<Assembly>[target directory]/VS08/ DSWVS08AddIn.dll</Assembly>".
Hope that helps.
Best wishes,
Peter Bahaa
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.
The server encountered an error processing the request. The exception message is 'On data context type 'ImportManagementService', there is a top IQueryable property 'Batchs' whose element type is not an entity type. Make sure that the IQueryable property is of entity type or specify the IgnoreProperties attribute on the data context type to ignore this property.'. See server logs for more details. The exception stack trace is:
at System.Data.Services.Providers.ReflectionServiceProvider.PopulateMetadata(IDictionary`2 knownTypes, IDictionary`2 entitySets) at System.Data.Services.Providers.BaseServiceProvider.PopulateMetadata() at System.Data.Services.DataService`1.CreateProvider(Type dataServiceType, Object dataSourceInstance, DataServiceConfiguration& configuration) at System.Data.Services.DataService`1.EnsureProviderAndConfigForRequest() at System.Data.Services.DataService`1.ProcessRequestForMessage(Stream messageBody) at SyncInvokeProcessRequestForMessage(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
I can send the files to you but its basically Enable the Project for OA (Persist and DAL), Reverse Engineer Tables (simple ones), Create WebSite, Run DSW choose my DAL, Choose my type of service (ADO.NET DataService), Compile and then browse -- I get the above error...
Here is the generated code its complaining about:
/// <summary>
/// Gets an IQueryable of Batchs
/// </summary>
public IQueryable<DP.Import.Data.DAL.Batch> Batchs
{
get
{
return this.scope.Extent<DP.Import.Data.DAL.Batch>();
}
}
I'm running the 'updated OA' from december and the december DWS CTP...
Any help would be appreciated --
-Don
It seems you are generating an ADO.Net Data Service (Astoria), and this kind of services work in terms of conceptual entities, so primitive types that are supported by Astoria (http://msdn.microsoft.com/en-us/library/bb399213.aspx) can be 'grouped' into complex types or entity types. The difference between an entity type and a complex type is that an entity type has one or more properties that form a key or identifier for each instance, and they have at least one entity set (top-level IQueryable) in which they can be found.
Did you try to specify the key for your entity by attributing it with the [DataServiceKey("Id")] attribute where the string is the name of the property that represents the key of this entity?
If this does not help you may need to avoid including those complex types (like the one you have here in Batch class) when you are generating the OpenAccess persistent classes, to consume an ADO.Net data Service.
Please feel free to contact me if you have more questions.Kind regards,
Peter Bahaa
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.
Although I'm running on VS 2010 beta 2, on a windows 7 64 bit machine.
And the open access in the telerik labs page, list that there is 1 result, but it doesn't display it (So I have no idea how to get this 64bit installer you mentioned previously)
You can now download the new version of Telerik OpenAccess Data Services Wizard from:
http://www.telerik.com/products/orm/telerik-data-services-wizard.aspx
this will fix your issue with installation over 64x.
Regards,
Peter Bahaa
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.