Asp.net Xml Parsing Error Not Well-formed
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and xml parsing error not well formed invalid token at line 1 policies of this site About Us Learn more about Stack Overflow the company xml parsing error not well formed firefox Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Xml Parsing Error Unknown Not Well Formed Invalid Token
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
Xml Parsing Error Not Well-formed Line Number 1 Column 2
minute: Sign up XML Parsing Error: not well-formed ASP.NET up vote 0 down vote favorite I Published a website using VS2012, ASP.NET C#, the publish succeeds however, when i open the .ASPX file, this shows ups: XML Parsing Error: not well-formed Location: file:///E:/Test/Default.aspx Line Number 1, Column 2: <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_bf0k3pjd" maintainScrollPositionOnPostBack="true" %> -^ any idea? asp.net iis-7 xml parsing error not well-formed location publish share|improve this question asked Nov 24 '14 at 0:36 dandy 1817 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote The file location should give a hint. That's a location on the file system and not being passed through a web server. When you view it using file:// then the browser simply displays the contents. The @Page directive in the first line doesn't conform to XML/XHTML/HTML standards so it throws this error. The browser knows nothing about the @Page or anything else in the page except the bits that are HTML. It will still attempt to display all the content, but it really doesn't know what to do with it other than view it as a plain html page. If you run this through an actual web server you shouldn't see this error and the page should be processed properly. share|improve this answer answered Nov 24 '14 at 2:04 Mark Fitzpatrick 1,19346 is there a way i can publish my web application on local-host? –dandy Nov 25 '14 at 1:09 Install IIS o
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 5 & IIS 6 ASP.NET Administration XML Parsing Error : No Well-Formed XML Parsing Error : No Well-Formed RSS 8 replies Last post Feb 07, 2012 12:07 AM by HCamper ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply yenjie 1 Post XML Parsing Error : No Well-Formed Jun 10, 2005 01:50 AM|yenjie|LINK Dear Sir, Could anyone http://stackoverflow.com/questions/27096230/xml-parsing-error-not-well-formed-asp-net advice me , what does bellow message mean ? XML Parsing Error: not well-formed Location: http://localhost/aspnet_webadmin/2_0_40607/error.aspx Line Number 1, Column 2:<%@ Page inherits="System.Web.Administration.WebAdminPage"%> Regards Nicholas Reply tomkmvp 9756 Posts MVPModerator Re: XML Parsing Error : No Well-Formed Jun 10, 2005 01:46 PM|tomkmvp|LINK Generally speaking, it means whatever XML you're using is not properly formed - maybe a missing tag somewhere or http://forums.iis.net/t/892423.aspx?XML+Parsing+Error+No+Well+Formed+ a typo? Tom Kaminski (former IIS MVP 2002-2010) http://mvp.support.microsoft.com/ Reply marz70_2000 1 Post Re: XML Parsing Error : No Well-Formed Jun 18, 2005 03:23 PM|marz70_2000|LINK Nicholas, I have the same problem, and to make me sure that my page isn't bad, I make a page with thw .NET wizard having the same problem. Do you find any solution ? please let me know if you solve the problem !!! Regards, Diego Reply qbernard 7037 Posts MVPModerator Re: XML Parsing Error : No Well-Formed Jun 19, 2005 07:44 AM|qbernard|LINK I would suggest your post it to relevant developer group. Tell them what you are trying to do and where you hit the errors. Cheers, Bernard Cheah Reply dabhi_mayur 1 Post Re: XML Parsing Error : No Well-Formed Sep 19, 2011 01:03 PM|dabhi_mayur|LINK 1. Register iis with the version of .net framework (.net 4.0 or .net 3.5 etc.) a. Find aspnet_regiis.exe for the version you want to install . for example C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319 b. aspnet_regiis –i ( it will register iis version) c. aspnet_regiis -k W3SVC ( it will Remove all scriptmaps to
SQL Server 2014 Express resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 https://social.msdn.microsoft.com/Forums/en-US/47f6eb6a-b062-4f4d-8b7f-b4afb1b2725d/xml-parsing-error-not-wellformed?forum=xmlandnetfx Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: XML Parsing Error: not well-formed Data Platform Development > XML, System.Xml, MSXML and XmlLite xml parsing Question 0 Sign in to vote I have WinXP Pro SP2. I downloaded and installed Visual Web Developer 2005 Express Edition. I am going through the Walkthroughs to better understand ASP.NET. I got to the Walkthrough: Creating a Web Site with Membership and User Login (ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_vwdcon/html/296c0be6-9ad5-4104-9a1b-a853986fa1a3.htm) I performed every step up to Testing Login flawlessly (and every other Walkthrough up xml parsing error to this point). When I press Ctrl+F5 to run the Website I get this error: XML Parsing Error: not well-formedLocation: http://localhost/membership/Default.aspxLine Number 1, Column 2:<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>-^ I can't find any additional information on the problem in the MS Knowledge Bases so I don't know how to fix it. Suggestions? Thursday, April 20, 2006 4:46 PM Reply | Quote Answers 0 Sign in to vote What we see that somehow ASPX file is parsed by XML parser. ASPX is not an XML and so this error is expected from XML parser. I'd recommend you to go to http://forums.asp.net/ to find why this happens. Friday, April 21, 2006 9:56 PM Reply | Quote All replies 0 Sign in to vote What we see that somehow ASPX file is parsed by XML parser. ASPX is not an XML and so this error is expected from XML parser. I'd recommend you to go to http://forums.asp.net/ to find why this happens. Friday, April 21, 2006 9:56 PM Reply | Quote 0 Sign in to vote .ASPX