The error message wasn't terribly helpful but I finally found what was causing the problem. It was because of my Row Key. The RowKey property that comes from the TableServiceEntity abstract class has specific requirements which I was unintentionally breaching.
My RowKey was calculated from another property of my Entity. In this particular instance this meant the string included a '/' symbol. This is not allowed by Table Storage for RowKeys.
Solution
When calculating the RowKey from the other property I am now removing special characters that the Azure Storage does not allow. This includes forward slash (/) character, backslash (\) character, number sign (#) character, question mark (?) character.Old code:
private string productName; public string ProductName { get { return productName; } //setting the RowKey and productName to the same value in one go set { RowKey = productName = value; } }New code:
private string productName; public string ProductName { get { return productName; } set { RowKey = Regex.Replace(productName = value, @"[\ /?#]", ""); } }I actually already knew about this from when I read Apress's Windows Azure Platform but the confusing error message threw me off on a tangent and hoped it hadn't done the same to anyone else.
BTW this will happen with PartationKeys too.
ReplyDeleteCool thanks
DeleteThank you!
ReplyDeleteThanks.
ReplyDeleteThis comment has been removed by the author.
ReplyDeletehow to retrieve all the table content without know Table fields name
ReplyDeleteYou’ve written nice post, I am gonna bookmark this page, thanks for info. I actually appreciate your own position and I will be sure to come back here.MenmyshopCar StereoDouble Din Android PlayerHyepersonic Double Din PlayerHyundai Creta Double Din Player
ReplyDeleteCBSE open schoolcbse privatebanzaraonjourneyAdj online
Motifz Designer Lawn. 1, 2 & 3 Piece Unstitched Premium Embroidered Lawn 2019, Premium embroidered Lawn, Premium lawn, Premium lawn 2019, Motifz, Premium lawn in Pakistan. Shipping worldwide. Stitching option available.
ReplyDeleteBecause I have a Hotmail account, so I found Hotmail login account for troubleshooting every problems. If you cannot find your problems any where, this website will help you.
ReplyDeleteBuy online wholesale printed custom cbd boxes and packaging at easy prices and shipping worldwide, with 24/7 customer support. Get a free custom quote now!!
ReplyDeleteBlackbird packaging provide you with any size, shape design, custom e liquid boxes sooner than any other packaging competitor in the market
ReplyDeleteBlackbird packaging provide you with any size, shape design, custom cbd tincture boxes sooner than any other packaging competitor in the market
ReplyDeleteGreat Article
ReplyDeleteCloud Computing Projects
Networking Projects
Final Year
Projects for CSE
JavaScript Training in Chennai
JavaScript
Training in Chennai
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals,
Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer.
Angular Training
Shop from a wide variety of Local and Imported hair masks and hair moisturizers available at Al-Fatah. Shop hair masks online and hair moisturizers in wide variety from favorite brands today available under one roof at Al-Fatah. Shop the best for your Hair. Avail Free Delivery on order above 1000pkr in selected cities only.
ReplyDeleteBlackbird packaging provide you with any size, shape design, custom soap boxes sooner than any other packaging competitor in the market
ReplyDeleteBlackbird packaging provide you with any size, shape design, wedding cookie boxes wholesale sooner than any other packaging competitor in the market
ReplyDeletehttps://www.olaladirectory.com.au/posts/dumpscafe-ncse-level-1-practice-test-questions-answers
ReplyDeletehttps://www.olaladirectory.com.au/posts/dumpscafe-mb-310-microsoft-dynamics-365-finance
https://www.olaladirectory.com.au/posts/dumpscafe-cka-certified-kubernetes-administrator-cka-program
Buy shorts pakistan from ndure at best prices delivered at your doorstep. Get free shipping
ReplyDeleteBuy gym trousers mens online pakistan from dshred at best prices delivered at your doorstep. Get free shipping
ReplyDeleteBuy men clothing online from Al-Fatah at best prices delivered at your doorstep. Get free shipping
ReplyDeleteGreat post! Thank you for sharing post. This post is very informative for computer science students. Furthermore, If you are worried related to cleaning services then you should hire commercial cleaning Dallas tx for best and quality work.
ReplyDeleteYou discuss related to azure table storage request in detail. I like your post. Further, This time to take advantages of Reverse osmosis filter chloramine shower filter California for quality water.
ReplyDeleteThank you for sharing post with us. I like your post. I learn more through your post. Moreover, We present the best professional epoxy coating services as your desired requirements.
ReplyDeleteBorjan offers its customers the best driving moccs shoes for men online in Pakistan. We have the highest quality men's driving Moccasins in Pakistan for the most affordable prices. Get Borjan's amazing collection of men's Moccs online. Get your favorite men's driving Moccs from Borjan to keep yourself in style and comfort at the same time.
ReplyDelete
ReplyDeleteFrom Ndure buy the best quality wide leg trousers for women online at affordable price. Fast Shipping.
I want to always read your blogs. I love them Are you also searching for nursing pico essay writers uk ? we are the best solution for you.
ReplyDeleteGreat Platform. Are you also searching for nursing essay writing help? we are the best solution for you. We are best known for offering the best nursing essay writing services
ReplyDeleteI like this post. Are you in need of custom thesis writing help at affordable rates? Let us help you, we offer top-quality writing hel online.
ReplyDelete