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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:22:23+00:00 2026-05-29T22:22:23+00:00

I am using WCF Data Service’s processing pipeline do some message notification set-up prior

  • 0

I am using WCF Data Service’s processing pipeline do some message notification set-up prior to processing the change sets. I am using batch mode to submit my changes. I am testing a scenario where the notification service is not running, and therefore we throw a specific message prior to the change set processing.

Here’s how my code is set up

ProcessingPipeline.ProcessingChangeset += ProcessingChangeset;

You can easily mimic my error as follows:

private void ProcessingChangeset(object sender, EventArgs e)
{
    throw new Exception("Some Specific Messsage");
}

When I run my test, I do not get the “Some Specific Message” exception that I expect. Instead I receive:

System.Data.Services.Client.DataServiceRequestException: An error
occurred while processing this request. —>
System.InvalidOperationException: Missing change set boundary
delimiter. Please make sure that change set boundary delimiter is
specified to mark the end of a change set.

I inspected the test response using Fiddler to see the contents.

--batchresponse_f158ae30-03c4-479e-8dda-a9129d2a1036
Content-Type: multipart/mixed; boundary=changesetresponse_92c24e82-47ad-43a2-b3e2-79d9e5ada261

--batchresponse_f158ae30-03c4-479e-8dda-a9129d2a1036
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 500 Internal Server Error
DataServiceVersion: 1.0;
Content-Type: application/xml

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
  <code></code>
  <message xml:lang="en-US">An error occurred while processing this request.</message>
  <innererror>
    <message>Some Specific Message</message>
    <type>System.Exception</type>
    <stacktrace>   at SM.Service.BaseService`1.ProcessingChangeset(Object sender, EventArgs e) in C:\svn\gr-core\ServiceManager\trunk\SM.Service\BaseService.cs:line 71&#xD;
   at System.Data.Services.DataServiceProcessingPipeline.InvokeProcessingChangeset(Object sender, EventArgs e)&#xD;
   at System.Data.Services.DataService`1.BatchDataService.HandleBatchContent(Stream responseStream)</stacktrace>
  </innererror>
</error>
--changesetresponse_92c24e82-47ad-43a2-b3e2-79d9e5ada261
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 204 No Content
Content-ID: 2
Cache-Control: no-cache
DataServiceVersion: 1.0;


--changesetresponse_92c24e82-47ad-43a2-b3e2-79d9e5ada261--
--batchresponse_f158ae30-03c4-479e-8dda-a9129d2a1036--

It looks like the duplicate batchresponse entries may be the issue. Has anyone encountered this or found a work around so the appropriate message can be returned?

Our other functional tests that have errors in the change set processing (not prior) all return the expected messages.

  • 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-29T22:22:27+00:00Added an answer on May 29, 2026 at 10:22 pm

    This does indeed look like a bug. I checked on our recent builds and the behavior is definitely better (no duplicate boundaries, but a correct error response as far as I can tell).
    You could try the latest CTP which might have this fixed here: http://blogs.msdn.com/b/astoriateam/archive/2011/10/13/announcing-wcf-data-services-oct-2011-ctp-for-net-4-and-silverlight-4.aspx

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

Sidebar

Related Questions

I am putting together a WCF Data Service for PatientEntities using Entity Framework. My
I am caching two bits of data in my WCF Data Service using the
I've created an OData endpoint (using entity framework, WCF data service) and added a
I am using WCF service I have a Data Contract: [DataContract] [KnownType(typeof(CustomBranches))] public class
We are using a WCF Data Service to broker our data server side, and
I am creating a WCF Data Service using the WCF Data Services Toolkit and
I've just created a new data service using the WCF Data Services 4.1 CTP2
Problem Background I'm building a custom WCF Data Service provider using the Alex James
I am trying to create WCF Data service project using Entity Framework. ( I
I'm using query string based api keys for my WCF Data Service. I can

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.