Error parsing AppSettings value with a query string

前端 未结 3 1482
粉色の甜心
粉色の甜心 2021-02-05 10:05

In my AppSettings in web.config, I have something like this:


    

        
3条回答
  •  伪装坚强ぢ
    2021-02-05 10:48

    In XML an ampersand tells the parser "the data immediately following this ampersand is an entity which needs to be translated." If the data immediately following is not a valid XML entity, then you get this error. If possible, use & for your ampersand within the XML.

提交回复
热议问题