Asp.net Xml Parsing Error No Element Found Location Http
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About xml parsing error no element found location line number 1 column 1 Us Learn more about Stack Overflow the company Business Learn more about hiring
Xml Parsing Error No Element Found Autodiscover
developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the
Xml Parsing Error No Element Found Php
Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ASP.NET XML Parsing Error: no
Xml Parsing Error No Element Found Location Http //localhost Line Number 1 Column 1
element found Line Number 1, Column 1 Error up vote 10 down vote favorite 1 Hey I found a weird temperamental page which randomly gives me the following error XML Parsing Error: no element found Location: http://kj2011/site_2011/nonprofit-database/overview.aspx Line Number 1, Column 1: This page was fine for like 2 weeks but as of yesterday I randomly get the above error. I was to delete the pages xml parsing error syntax error line number 1 column 1 and recreate the error is gone but would come back again few hours later. I have some other templates i.e http://kj2011/site_2011/nonprofit-database/financial.aspx Which has the same Master File and User Controls but never gets the error just the overview.aspx page. Any Ideas ? asp.net xml share|improve this question edited Mar 29 '11 at 15:47 Alex 24.3k64997 asked Mar 23 '11 at 11:13 StevieB 5931869128 bump added bounty still have an issue with this weird problem if anyone has any idea –StevieB Mar 29 '11 at 15:46 2 Could you post some code examples? –Alex Mar 29 '11 at 15:49 add a comment| 10 Answers 10 active oldest votes up vote 17 down vote That sounds like the Firefox error page that's returned when FF expects HTML and gets an empty document instead. Try looking at it with Firebug enabled and see what the Net tab says - perhaps you have a good header, but no html. Usually that kind of thing is not due to an ASP.NET error (since with those you still have a document body for the Yellow Screen of Death page), but is more along the lines of a networking e
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or xml parsing error: no element found iis posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss xml parsing error no element found in oracle apps Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes xml parsing error: no element found java a minute: Sign up XML-parser error: no element found up vote 0 down vote favorite I have a asp.net application which is located on a server. It was working but then I added a whole bunch of stuff and now http://stackoverflow.com/questions/5404342/asp-net-xml-parsing-error-no-element-found-line-number-1-column-1-error I get: XML-parser error: no element found Address: http://www.dtm.se/payex/Default.aspx Row 1, Column 1: (I have translated this error message from Swedish so it might not be 100% accurate) The error occurs in Firefox when I upload the code to "my" site. In IE 8 and Google Chrome I get blank pages. When I compile it it locally it runs without issues. I have set up IIS (7.0) on my machine and it works there to. I have checked the files on the http://stackoverflow.com/questions/823542/xml-parser-error-no-element-found server just in case there was something wrong with the upload but the code was there. I also have tried to remove the code I have added to see if I can get it to work again. But no. Of course I am not 100% sure I got everything back to the way it was. It doesn't matter which file I am trying to load all of them get this error message. Hmm, when I write this I get the feeling it might be something wrong with the way the asp.net application i set up on the server. But since it worked from the beginning... There is a lot of code so I don't know really what to upload here but maybe someone recognize this error message and knows what it is or maybe point me in the right direction. c# asp.net iis share|improve this question asked May 5 '09 at 6:04 Fred 1691217 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote Your Default.aspx page appears to have the following output:
It appears that Firefox assumes this to be an XML document (with no data) and throws an error in this case (Maybe something to do with the DOCTYPE). It is also possible that .NET generates a response type of "application/xml" in this case, though I cannot confirm that.