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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:23:23+00:00 2026-05-28T05:23:23+00:00

I am working on a project that utilizes .Net API (several .Net DLLs) provided

  • 0

I am working on a project that utilizes .Net API (several .Net DLLs) provided by the customer. I have built an application based on this API. Application works as expected on my machines. But when I tried deploying it on client’s machine it fails with a rather generic exception. I tried googling for this exception but nothing conclusive could be found.

To give a rough idea about this API, it wraps a web service consumer and therefore requires marshaling of method parameters into XML (no source code available for this). Following is the stack trace for the exception:-

System.InvalidOperationException: There was an error generating the
XML document. —> System.ArgumentException: String cannot have zero
length. at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterStreamInformation.Write5_StreamInformation(Object
o) — End of inner exception stack trace — at
System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
Object o, XmlSerializerNamespaces namespaces, String encodingStyle,
String id) at
System.Xml.Serialization.XmlSerializer.Serialize(TextWriter
textWriter, Object o, XmlSerializerNamespaces namespaces) at
Microsoft.SqlServer.DataWarehouse.Loader.StringSerializer`1.Serialize(TSerializable
instance) at
Microsoft.SqlServer.DataWarehouse.Loader.LoaderClient.BeginExecuteBinary(AsyncCallback
endLoadCallback, AsyncCallback startSendingDataCallback, Object state)

> at
Microsoft.SqlServer.DataWarehouse.Loader.AABinLoaderClient.CofingDoLoad(String[]
configVals)

frame in Italic represents our application while Frame in bold represents the client’s API
If anyone has encountered this exception in the past and know any workaround please do let me know.

  • 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-28T05:23:24+00:00Added an answer on May 28, 2026 at 5:23 am

    I have come across this kind of error when trying to parse XML. The most common place I have seen the “String cannot have zero length” error is when it is trying to find a particular place within a string. Do you know if this API is using the XML namespace?

    Without seeing any code it is difficult to provide any detailed analysis of your problem.

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

Sidebar

Related Questions

I have this script I am working on that utilizes the oCanvas JS Library
I'm working on a project that interfaces with Google Data APIs. I have several
I'm currently working on a project that utilizes a proprietary PCMCIA radio card to
I am working a project that does not have a trunk / branches /
I'm working on a project that utilizes the USB Host capabilities in Android 3.2.
I am currently working on a project that utilizes the jfreechart library. I am
I am working on project that uses this pattern var businessEntity = new DAL().GetObject(id);
First, I have two project working on: ASP.NET and Silverlight Both uses a class
I'm working on a Rails project that utilizes Action Mailer to send out mail
I'm working on a java project that utilizes XML files in Eclipse; however, I

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.