VS 2010 XML Parsing Error: syntax error Location:-VBForums
Results 1 to 4 of 4

Thread: XML Parsing Error: syntax error Location:

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2006
    Posts
    241

    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{JJt`$ؐ@iG#)*eVe]f@흼{{;N'?\fdlJɞ!?~|?"~7NO<y<ML_~Iݻ߽wr7Oox w7ulYy鋏ҏmzt޸/yu`euGG9L-eYÇ�?"ot->,UUjY;l_|K7+iV~=zmn^NEl,۬/6Nj]MҶYKny\˷( f|QUe*fLݝ6q-lR,Ett`gg^u^矜d+P-lQZg5u7<'

    after submit click.

  2. #2
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    5,063

    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.
    Slow as hell.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2006
    Posts
    241

    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.

  4. #4
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    5,063

    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.
    Slow as hell.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.