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 6546995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:46:35+00:00 2026-05-25T11:46:35+00:00

I recently deployed a .Net 4 WCF Data Service hosted on IIS 6, within

  • 0

I recently deployed a .Net 4 WCF Data Service hosted on IIS 6, within a corporate environment (intranet), using Entity Framework. I access the service using OData and have been successful retrieving data from tables hosted on SQL Server 2005.

The issue is that I am unable to insert new rows. What I’ve done so far is to set entity rights to ALL -> ie.

config.SetEntitySetAccessRule("*", EntitySetRights.All);

I’m using integrated security on IIS. When I do a POST using jQuery, it returns 500 error code. I’m able to insert rows to a local database in my development environment.

Thanks

  • 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-25T11:46:35+00:00Added an answer on May 25, 2026 at 11:46 am

    I figured it out. I was receiving error

    “Unable to update the EntitySet because it has a DefiningQuery and no >element exists in the element to support the current >operation.”

    This was caused because the table, although having an identity field, didn’t specify it as a Primary Key. Set the Primary key and all is well.

    Fixing the System.Data.UpdateException – DefiningQuery and no Error helped.

    Thanks

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

Sidebar

Related Questions

I recently deployed my ASP.NET 3.5 application to my test server, a newly installed
I've recently deployed an ASP.NET application to my shiny new VPS and while I'm
I have recently installed .net 3.5 SP1. When I deployed a compiled web site
We use BigIP to load balance between our two IIS servers. We recently deployed
I've recently deployed some A/B testing experiments using vanity to my heroku instance. However,
I just recently deployed a web application (.NET MVC) that has quite a bit
I am recently using Uploadify and have deployed it to 3 different servers: Windows,
Doing cross platform development with 64bit. Using gcc/linux and msvc9/server 2008. Just recently deployed
Folks, In a layered .Net solution that we have recently deployed, we now realise
I recently deployed a site http://boardlite.com . One of the tester websites http://www.gidnetwork.com/tools/gzip-test.php suggests

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.