Root element is missing

前端 未结 6 2006
离开以前
离开以前 2020-12-06 05:52

I am reading xml from xxx URl but i am getting error as Root element is missing.

My code to read xml response is as follows:

  XmlDocument doc = new          


        
6条回答
  •  甜味超标
    2020-12-06 06:26

    1. Check the trees.config file which located in config folder... sometimes (I don't know why) this file became to be empty like someone delete the content inside... keep backup up of this file in your local pc then when this error appear - replace the server file with your local file. This is what i do when this error happened.

    2. check the available space on the server. sometimes this is the problem.

    Good luck.

提交回复
热议问题