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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:10:32+00:00 2026-05-24T20:10:32+00:00

I developed a WCF Data Service, which runs fine, I can do every operation

  • 0

I developed a WCF Data Service, which runs fine, I can do every operation I want through.

I developed a small c# client which tests all functions: adding, removing, modifying, retrieving data.

Everything works fine on my visual studio server, but once I’m on the IIS Server:

  • I can add/retrieve data
  • I cannot edit data

When I try to edit data I get this error:

System.Data.Services.Client.DataServiceRequestException was unhandled
Message=Une erreur s’est produite lors du traitement de cette
requête.
Source=System.Data.Services.Client
StackTrace:
à System.Data.Services.Client.DataServiceContext.SaveResult.HandleBatchResponse()
à System.Data.Services.Client.DataServiceContext.SaveResult.EndRequest()
à System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions
options)
à System.Data.Services.Client.DataServiceContext.SaveChanges()
à WSTester.Program.ModifySomeThings(Entities entities) dans
D:\Workspace\10067.GfK
Telecontrol.TOM\Release\V3.1\WSTester\Program.cs:ligne 90
à WSTester.Program.Main(String[] args) dans
D:\Workspace\10067.GfK
Telecontrol.TOM\Release\V3.1\WSTester\Program.cs:ligne 23
à System.AppDomain._nExecuteAssembly(RuntimeAssembly
assembly, String[] args)
à System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)
à Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
à System.Threading.ThreadHelper.ThreadStart_Context(Object
state)
à System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
ignoreSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException:
System.Data.Services.Client.DataServiceClientException
Message=
Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>

401 – Unauthorized: Access is denied due to invalid
credentials.

.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
–>

Server Error

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.

Source=System.Data.Services.Client
StatusCode=401
StackTrace:
à System.Data.Services.Client.DataServiceContext.SaveResult.d__1e.MoveNext()
InnerException:

Which is strange, because I’ve all rights in my WCF Data service(and it works with visual studio), and I’m in anonymous mode in IIS, so I should have all rights to runs this query. IIS_USR has FULL CONTROL on the web folder, so I really don’t see what can be the problem

  • 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-24T20:10:33+00:00Added an answer on May 24, 2026 at 8:10 pm

    Try using the impersonation features of the app pool to user that has permissions. I have had many problems in the past using the default AppPoolIdentity features of IIS 7 and generally assign it to either a user setup for this very purpose or set it to use networkservice.

    It is most likely that the pool doesn’t have the proper permissions to execute properly.

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

Sidebar

Related Questions

I have developed a VB.NET WCF service that recives and sends back data. When
Has anyone developed a PHP based Client for a WCF Service? I'm in the
I've developed an application which starts several WCF Service which use the SecurityMode.Message to
We have a WCF service developed in C# which is being used by several
I am working on a simple WCF service, MiniCalcService which has only one operation
I have developed a WCF WebService. On client side they are unable to send
My application is in asp.net 2.0. Is it possible to consume WCF service developed
Hi We developed web service using WCF service and hosted on Windows 2003 server
I have developed a Web service using WCF Service Application. This service application is
I have a windows application that acts as a WCF Service that I developed

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.