oData Saving Changes

3 posts, 1 answers
  1. Ash
    Ash avatar
    2 posts
    Member since:
    May 2011

    Posted 09 Nov 2011 Link to this post

    Hi Folks,

    I can read from the OData service fine but I am having trouble writing to it.
    I get a 401

    401 - Unauthorized: Access is denied due to invalid credentials.
    You do not 
    have permission to view this directory or page using the credentials that you 
    supplied.

    We are currently on a trial license (15 purchased seats on the way).

    Would the trial affect things??

     I get the same 401 using my code and the sample oData Code.

    _oDataContext =

     

    new TitanDataContext(new Uri(_serviceUrl));

     

    _oDataContext.Credentials = System.Net.

     

    CredentialCache.DefaultNetworkCredentials;
    ...

     

    _oDataContext.UpdateObject(teamPulseStories[0]);

     

    _oDataContext.SaveChanges();

    Any Advice would be greatly appreciated,

    Ashley

  2. Answer
    Jordan
    Admin
    Jordan avatar
    123 posts

    Posted 10 Nov 2011 Link to this post

    Hi Ash,

    We've made changes to the authentication with the latest release. I want to confirm that you've try to access TeamPulse oData service from your application. Is it true?

    If that is your case there is a problem accessing the oData service outside TeamPulse. This is fixed and will be released with our next offical version at the beggining of December.

    If updating the oData from your application is a showstopper for you let me know.

    Kind regards,
    Jordan
    the Telerik team
    Idea and Feedback Portal is here!
    Join us for the Portal Release Webinar and be among the first to see it.
    Reserve a seat today!
  3. Ash
    Ash avatar
    2 posts
    Member since:
    May 2011

    Posted 11 Nov 2011 Link to this post

    Hi Jordan,

    Yes I have accessed Team Pulse oData service from a custom application. I am reading fine, but unable to write.
    I can just implement the Reading scenarios for now and wait for the December release before implementing the update scenarios.

    Thanks for the heads up.

    Ashley 
Back to Top