title: Parser Error "There is an error in XML document (0,0)" Salesforce Wsdl
body: <p>I ran into this problem a long time ago, but failed to document it for me and posterity.  </p>
  
  <p>I have 3 machines that are running the same code.  I am running IIS on Windows XP Pro, Windows 2003 and Windows 2008.  The code comes from our original site (all the code is exactly the same) and was placed on the other environments to see if we could start development and make further changes.  </p>
  
  <p>Win 2003 is the current function internal server.  It runs the code without any problems.  The other 2 do not, with the same error message: </p>
  
  <blockquote>
    <p><b>Parser Error</b><br />
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.</p>
    
    <p>Parser Error Message: There is an error in XML document (0, 0).</p>
    
    <p>Source Error:</p>
    
    <blockquote>
      <p>[No relevant source lines]</p>
    </blockquote>
    
    <p>Source File: /site1/App_WebReferences/salesforce/    Line: 1</p>
    
    <p>Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618 </p>
  </blockquote>
  
  <p>I don't think it is a problem with the Salesforce Wsdl file because it is saying the problem is with the very first line.  The declaration of the xml.</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
      &lt;!--
      Salesforce.com Enterprise Web Services API Version 21.0
      Generated on 2011-02-24 15:38:46 +0000.
  
      Package Versions:
      Informatica Data Loader (Version: 1.11, Namespace: infa)
      Salesforce for Google AdWords (Version: 1.2, Namespace: sfga)
      VerticalResponse for AppExchange (Version: 1.1, Namespace: vr)
  
      Copyright 1999-2011 salesforce.com, inc.
      All Rights Reserved
      --&gt;
  
      &lt;definitions targetNamespace="urn:enterprise.soap.sforce.com" ...
  </code></pre>
  
  <p>I believe that it may have something to do with the bin files or the code that would launch the site.  Global or Application that is not functioning correctly.</p>
  
  <p>I am running AspDotNetStorefront.  The newer version 9.x is running concurrently on the same Windows 2008 server.  It is running just fine.</p>
  
  <p>Further, I was thinking that IIS may have locked up some files that keeps it from properly being able to compile the files that work on another server.  This is just a theory that I don't know how to test, or even find the offending file(s).  I tried deleting out all of the .NET temporary files from the windows folder after shutting down the site in IIS.  But I don't know if that is the only place for the files.  It didn't fix the problem anyways.</p>