Data Services Wizard Option Not Available

Thread is closed for posting
8 posts, 0 answers
  1. Geoff Davis
    Geoff Davis avatar
    11 posts
    Member since:
    Oct 2009

    Posted 15 Dec 2009 Link to this post

    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.
  2. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 19 Dec 2009 Link to this post

    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.
  3. Ingo Oltmann
    Ingo Oltmann avatar
    44 posts
    Member since:
    Nov 2005

    Posted 21 Dec 2009 Link to this post

    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 
  4. Peter Bahaa
    Admin
    Peter Bahaa avatar
    26 posts

    Posted 22 Dec 2009 Link to this post

    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.
  5. Donald Hamm
    Donald Hamm avatar
    21 posts
    Member since:
    May 2008

    Posted 08 Jan 2010 Link to this post

    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
  6. Peter Bahaa
    Admin
    Peter Bahaa avatar
    26 posts

    Posted 12 Jan 2010 Link to this post

    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.
  7. Alex
    Alex avatar
    141 posts
    Member since:
    Mar 2010

    Posted 10 Mar 2010 Link to this post

    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)
  8. Peter Bahaa
    Admin
    Peter Bahaa avatar
    26 posts

    Posted 11 Mar 2010 Link to this post

    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.
Back to Top