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

  • Home
  • SEARCH
  • 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 6531429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:52:38+00:00 2026-05-25T09:52:38+00:00

Background Info Developing with Windows Azure and WCF RIA Services, I have seen a

  • 0

Background Info

Developing with Windows Azure and WCF RIA Services, I have seen a lot of random errors and overall frustrating situations, but this one is really the pinnacle.

I have an application with the following architecture: 2 web roles (MVC3 and ASP.NET with Silverlight RIA) => Business layer => data layer (external services / table storage / SQL Azure).
ASP.NET services (profile/roles/sessions) are stored in Table Storage.

Due to recent requirement changes, a mobile site needed to be added. I wanted to share the (server side) ViewModels for both GUI projects. To illustrate:

enter image description here

My problem

I now get the dreaded “Not Found” exception when my project is hosted in the Windows Azure environment. With fiddler I found that it was returning the following exception:

The Entity ‘XXModel’ in DomainService ‘XXService’ does not
have a key defined. Entity types exposed by DomainService operations
must have at least one public property marked with the KeyAttribute.

The strange thing is that this thing runs flawlessly in the local Azure development environment, but not when uploaded into the cloud. I think that this error has something to do with the ViewModels now being in a different assembly than the RIA Services, but why would it work locally and not remotely?

If anyone needs any supplemental information I will be happy to answer your questions.

  • 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-25T09:52:39+00:00Added an answer on May 25, 2026 at 9:52 am

    I have solved the problem. It seems that RIA Services, only when hosted in Windows Azure, cannot seem to get the attributes off of model classes defined in a different assembly then the one hosting the services.

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

Sidebar

Related Questions

Before I begin my question a little background info. I have the WCF service
Background Info: File Replication is Lame Currently, we have a massive, high-traffic ASP.NET web
Please help! Background info I have a WPF application which accesses a SQL Server
Here's some background info. I have three MySQL tables (all InnoDB). The first table
Background Info: I have a program running through a list of url; each URL
First a little background info: I have UIViewController that contains a UITableView. In the
Background Info: I have two COM+ components on a remote server, based on .NET
Background info I have an app where users can make microsites ala http://myname.the_app.com .
Some background info: We have several websites running on a 64-bit machine with IIS6
Background info I have a query regarding a questions from Sierra & Bates, SCJP

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.