XML Parsing Error: syntax error Location:
Hello,
've developed web application using ASP.NET VB and I deployed it on shared server (GoDaddy). On My Login (After Login submit) Or on Registration (After Submit) I got the error
XML Parsing Error: not well-formed [SOMETIMES Syntax Error]
Location: http://www.myurl/
Line Number 1, Column 36:
Data is saved in db but it shows this error. If I press f5 then it goes to next page. I goggled for various solutions but none of them worked. I'm not using any XML Data related command. Even I tried it after disabling all the JQuery.
Can anyone suggest something on this.?
One more thing if it helps sometimes it shows data from _EVENTVALIDATION tag like
togo4NDIG9kSZPcODBLZaaRvD49P3sW65kS/Txbenoknm2cDAXStHxuc1ltj666YfDFGYknCGo2K73bNhonPuG3mNCegiV1wRV6QxLH8gmyWMx2KfoZBJJ4XjwU3CbQWOsiGHeK6 wKaT0KmwurWnh0MLPXpy8CphdWDlzFpz4ImCD4OFekMtAfoXPHtszd0K5rQhy0azVwqyiCqjwOP2GaNg8t/DOnvojBW+U0Y5/dtg/ALKXWCyxVLW142RfsvEOj6jOc1SUS/47J46sZc42VuQ5hPqjeuod5s3M6PNSCw/5ApKDJdAN/8vMX1FndCwaJWsPvyDfC5QHnbwyxLtc34O/GfAV4V4n0wgFZHr3c=" />
-----------------------------------^
If checked in Chrome then it shows eventvalidation code on top and complete html source code AND at bottom
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
Server: Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-Powered-By-Plesk: PleskWin
Date: Sun, 27 Jul 2014 17:51:38 GMT
Content-Length: 2121
and junk characters. lik
‹������í½`I–%&/mÊ{JõJ×àt¡€`$Ø@ìÁˆÍæ’ìiG#)«*ÊeVe]f@Ìí¼÷Þ{ï½÷Þ{ï½÷º;N'÷ßÿ?\fdlöÎJÚÉž!€ªÈ?~|?"~ãä7Nÿ®O¿<yóû¼< Mçí¢L_~õäùÙIúÑöݻ߽wr÷îÓ7OÓßûÛo¾xžîŽwÒ7u¶lŠ¶¨–Yy÷îé‹Òæm» zt÷îÕÕÕøêÞ¸ª/î¾yu÷`íâeýu»õÞÏÚÙGGÜ9¾Lß-ÊeóYÒîÇ�š?žçÙìèñ"o³t™-òÏ>º,ò«UU·¥ÓjÙæËö³®ŠY;ÿl–_Ó|›ÿKê7+·›iVæŸí~”Þ=zÜm™Ìûn^N «Ež¾©Ò×Ól¹,–¯Û¬/ó6ÝNŸj]§M›¯Ò¶ºÊêY“KnþˆÂè®Ày\Ë·é¼ÎÏí(Î ¡f|QUež*ŠfL¯Ý6Íïqž-Šòú³“lR,íïìŒèÿE›•ÅttŸþú”þÿ`gçg^¾ùäu^矜d+P-lúQZçåg5íu™7ó<'
after submit click.
Re: XML Parsing Error: syntax error Location:
The value you posted, i believe is the viewstate, not really helpful or the othe Chinese stuff. Xml errors can mean that you web.config is not well formed. Try to evaluate it and see if it is correctly formed.
Good night.
Re: XML Parsing Error: syntax error Location:
I find this value in _EVENTVALIDATION. I deleted the web.config,added new one and just added connectionstring. Still error is there.
Re: XML Parsing Error: syntax error Location:
Some options.
Make sure the application is working OK locally.
View your page source when error is there and goto Line Number 1, Column 36: and write the value.
Ask the GoDaddy people to show you the event viewer errors, specifically force an error at a specific time and as GoDaddy to email you the event viewer error from this time.