Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7649491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:58:47+00:00 2026-05-31T10:58:47+00:00

I am having a problem reading back from windows azure table storage: Here is

  • 0

I am having a problem reading back from windows azure table storage:

Here is the code that I use to retrieve the UserEntity from table storage:

TableServiceContext tableServiceContext = new TableServiceContext(storageAccount.TableEndpoint.AbsoluteUri, storageAccount.Credentials);
tableServiceContext.RetryPolicy = RetryPolicies.Retry(3, TimeSpan.FromSeconds(1));
user = (from g in tableServiceContext.CreateQuery<UserEntity>(PazoozaEnums.PazoozaTables.UsersUserFacebookActions.ToString())
        where g.PartitionKey.Equals(FacebookUserID) && g.Kind.Equals(PazoozaEnums.TableKinds.User.ToString())
        select g).AsTableServiceQuery().Execute().FirstOrDefault();

Below is the user entity that is stored in table storage. Notice it actually has values for each property. However what is being returned are nulls instead. Or 1/1/0001 for the JoinDate field and 0 for integer or long fields. I check the RowKey and PartitionKey and these are correctly being returned as part of the entity but the rest are not. Anyone have any ideas, or run into this issue before where the partitionkey and rowkey are populated correctly but the rest of the fields are not? I am using nov 2011 azure sdk, c# mvc3 on a 32 bit machine.

AccessToken     String  AAADlql9ZBqlMBANM1J30d3cmnM6s1o5MojXyZBP5B3dXNkIweJRZA2fx73klxawRhUn9HZAqBC8Y22YZAtwlKolpep5b7ZCedYYSLmO79E5QZDZD
AlternativeName     String  
AlternativeProfileLink  String  
AlternativeSmallPicture     String  
AlternativeSmallPictureSquare   String  
EmailAddress    String  someEmail@gmail.com
JoinDate    DateTime    2012-03-16T04:35:01.518053Z
Kind    String  User
Name    String  PazoozaTest Pazman
OfflineAccessToken  String  AAADlql9ZBqlMBANM1J30d3cmnM6s1o5MojXyZBP5B3dXNkIweJRZA2fx73klxawRhUn9HZAqBC8Y22YZAtwlKolpep5b7ZCedYYSLmO79E5QZDZD
PageAccessToken     String  
PageID  Int64   0
PageSize    Int32   50
ProfileLink     String  http://www.facebook.com/profile.php?id=100001771566047
SmallPicture    String  http://profile.ak.fbcdn.net/hprofile-ak-snc4/41541_100001771566047_2716161_s.jpg
SmallPictureSquare  String  http://profile.ak.fbcdn.net/hprofile-ak-snc4/41541_100001771566047_2716161_q.jpg
VideoPageSize   Int32   100

Here is my UserEntity class:

public class UserEntity : KindEntity, IUserEntity
{
    // PartitionKey = UserID
    // RowKey = (DateTime.MaxValue - DateTime.UtcNow).Ticks.ToString("d19") + Guid.NewGuid().ToString()

    public UserEntity() : this(null, null) { }
    public UserEntity(string partitionKey, string rowKey) : base(partitionKey, rowKey, PazoozaEnums.TableKinds.User.ToString()) { }

    public string Name { get; set; }
    public long PageID { get; set; }
    public int PageSize { get; set; }
    public int VideoPageSize { get; set; }
    public string EmailAddress { get; set; }
    public string AccessToken { get; set; }
    public string PageAccessToken { get; set; }
    public string OfflineAccessToken { get; set; }
    public string SmallPicture { get; set; }
    public string SmallPictureSquare { get; set; }
    public string ProfileLink { get; set; }
    public string AlternativeName { get; set; }
    public string AlternativeSmallPicture { get; set; }
    public string AlternativeSmallPictureSquare { get; set; }
    public string AlternativeProfileLink { get; set; }
    public DateTime JoinDate { get; set; }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T10:58:48+00:00Added an answer on May 31, 2026 at 10:58 am

    Given that you have not specified a RowKey in your query, it is possible that you have an existing “empty” row which is being returned instead of the row you are expecting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a problem where instead of reading a text file from the location
I'm having a problem reading data from a text file into ms sql. I
I'm having problems redirecting stdio of another program using subprocess module. Just reading from
I am reading XOR linked list (from Wikipedia).But I am having some problems in
We are having problem with the server migration. We have one application that are
I'm having problem when running my Windows Forms program. In the program, I have
I am having a problem reading inputs, can anyone help me. Each line of
I seem to be having a problem with extracting data from a stringstream. The
I'm having problems reading lines from a text file in PHP. I have this
I have some code that reads from an ini file in Javascript, using activex

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.