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

Data Services Wizard Option Not Available

7 Answers 286 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.
Geoff Davis
Top achievements
Rank 2
Geoff Davis asked on 15 Dec 2009, 06:16 PM
I have installed the December CTP of the Telerik Data Services Wizard but I cannot see the Telerik/Data Services Wizard menu option as explained in the Data Services Walkthrough. It's as through the installer didn't update VS2008.

Thanks in advance,

Geoff.

7 Answers, 1 is accepted

Sort by
0
Dimitar Kapitanov
Telerik team
answered on 19 Dec 2009, 06:55 AM
Hi Geoff Davis,
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.
0
Ingo Oltmann
Top achievements
Rank 1
answered on 21 Dec 2009, 04:10 PM
Hi Dimitar,

I have the same problem as Geoff has. Even the updated version from Telerik Labs does not install in VS 2008. I am using Visual Studio Team System.
Any hints?

Regards,
Ingo 
0
Peter Bahaa
Telerik team
answered on 22 Dec 2009, 05:26 PM
Hi Ingo Oltmann,

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.
0
Donald Hamm
Top achievements
Rank 1
answered on 08 Jan 2010, 10:51 PM
I finally have it installed on Windows XP (32 bit).  I followed the example that's on Mr. Forte's blog.  When I tried to run the service in the browser (not even linking it up to Silverlight) I get the following error:

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
0
Peter Bahaa
Telerik team
answered on 12 Jan 2010, 07:44 AM
Hello Donald Hamm,

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.
0
Alex
Top achievements
Rank 1
answered on 11 Mar 2010, 02:56 AM
Hi, I've installed the Q1 2010 open access and I also have the same problem (I also had the same problem with previous versions)
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)
0
Peter Bahaa
Telerik team
answered on 11 Mar 2010, 07:59 PM
Hi Alexander Sun,

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.
Tags
General Discussions
Asked by
Geoff Davis
Top achievements
Rank 2
Answers by
Dimitar Kapitanov
Telerik team
Ingo Oltmann
Top achievements
Rank 1
Peter Bahaa
Telerik team
Donald Hamm
Top achievements
Rank 1
Alex
Top achievements
Rank 1
Share this question
or