What could be causing an XML Parsing Error: no element found?

前端 未结 15 1873
刺人心
刺人心 2020-12-20 11:49

I recently migrated an ASP site from my dev machine to a live server. All the pages except my FAQ page works just fine, but my FAQ brings up:

XML Parsing Er         


        
15条回答
  •  不知归路
    2020-12-20 12:39

    I ran into this issue when installing my services on a fresh virtual machine. (ie; no other WCF services had been run on this machine, yet.)

    You need to install and add a mapping for WCF Services into IIS. The easiest way to do this is as follows:

    1. Run a command prompt with elevated administrator privileges

    2. In the command prompt, navigate to C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation

    3. Run the command ServiceModelReg.exe -i

    4. Restart IIS by running the command iisreset

提交回复
热议问题