Dotnetnuke Xml Parsing Error Not Well-formed
Contents |
Number 1, Column 2:<%@ Page language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.Services.Install.Install" CodeFile="Install.aspx.vb" %> -^ Nguyên nhân: When you access an ASP.NET page in your browser, xml parsing error not well formed invalid token at line 1 you may get an XML Parsing Error that says that the
Xml Parsing Error Not Well Formed Firefox
XML is not well formed. The error message also displays the page directive statement present in the 1st xml parsing error unknown not well formed invalid token line of the .aspx file. First we will fix this error, then we will look at one possible reason why you may be getting this error in ASP.NET. Cách giải quyết: Start -> Run Fix the ‘XML Parsing Error' Click Start > Run, and type the following command depending on which ASP.NET framework is in use by the default web site in your IIS. ASP.NET 2.0 Framework %Windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i ASP.NET 1.1 Framework %Windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i You should see a command window that is displayed briefly, that shows that ASP.NET is being installed. After the registration is successful, the window will be closed. Now refresh the .aspx page that you got the XML Parser error for in the browser and your page should be rendered correctly. Why did you get this error ? I have seen this error happen to me in situations where I had installed IIS after the installing the .Net Framework. This make sense. If you install IIS after you install the .Net Framework, then the framework is not registered with IIS. So when a request for a .aspx page comes to IIS, it simply passes on the contents of the page as-is without processing it. So in effect, the browser receives the entire .aspx page's code, tried to parse it as an XML file, encounters the parsing error at the second character in the page directive and stops. Share this:RedditLike this:Like Loading... Related This entry was posted on October 10, 2007 at 3:20 pm and is filed under DotNet Skills, Programming . You
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/Retired Forums/DotNetNuke (RETIRED)/dotnetnuke first timer dotnetnuke first timer RSS 9 replies Last post Aug 22, 2005 05:14 AM by Shuf ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Reply Shuf None 0 Points 36 Posts dotnetnuke first timer Aug 16, 2005 03:35 PM|Shuf|LINK i've been playing with asp.net v2 and while on it, i stumbled into dotnetnuke. quite impressed with it so thought i would give it a go. downloaded it, configure appropriately (i think) but then when i try to run it. i got this error XML Parsing Error: not https://vuonghv.wordpress.com/2007/10/10/xml-parsing-error-not-well-formed/ well-formed Location: http://localhost/ExampleDNN/Default.aspx Line Number 1, Column 2:<%@ Page CodeBehind="Default.aspx.vb" language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.Framework.CDefault" %> -^ what could possibly went wrong? Reply mvermef None 0 Points 238 Posts Re: dotnetnuke first timer Aug 16, 2005 03:49 PM|mvermef|LINK This is because version 3.1 is designed for 1.1 version of the .NET framework. Not 2.0v yet, although they are working on it as we speak. Reply Shuf None 0 Points 36 Posts Re: dotnetnuke http://forums.asp.net/t/911533.aspx?dotnetnuke+first+timer first timer Aug 17, 2005 09:44 AM|Shuf|LINK ic ic can i leave v2 installed on my pc? at the moment i have both v1.1 and v2 running. so how can i use v1.1 for DNN? Reply Shuf None 0 Points 36 Posts Re: dotnetnuke first timer Aug 17, 2005 01:06 PM|Shuf|LINK i just uninstalled v2. please tell me if there are ways to keep both version installed. anyway, i managed to install DNN on my pc [:)]. Pretty impressed with it. Where could I find a great tutorial to create a custom skin for it. and how easy it would for deployment? Reply mikeh36 Member 1 Points 925 Posts Re: dotnetnuke first timer Aug 17, 2005 01:42 PM|mikeh36|LINK Shuf i just uninstalled v2. please tell me if there are ways to keep both version installed. anyway, i managed to install DNN on my pc [:)]. Pretty impressed with it. Where could I find a great tutorial to create a custom skin for it. and how easy it would for deployment? You can have both versions installed but I don't remember what exactly you have to do. Basically though you have to tell DNN through IIS (I think) to use the ASP.NET 1.1 assembly instead to the 2.0 Beta assembly. I'm sure someone else here has
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 http://stackoverflow.com/questions/5404342/asp-net-xml-parsing-error-no-element-found-line-number-1-column-1-error Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss 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 a minute: Sign up ASP.NET XML Parsing Error: no element found Line Number 1, Column 1 Error up vote 10 down vote favorite 1 Hey I found a weird xml parsing 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 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 xml parsing error 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.4k65097 asked Mar 23 '11 at 11:13 StevieB 6031869128 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 error... Would it be possible to try looking at it from another computer to see if that's the problem? share|improve this answer answered Apr 1 '11 at 18:06 jbgoode 30514 add a comment| up vote 2 down vote The most likely cause for such problem is security, if the problem occurs! check file security and make sure its acc