XML Parsing Error: not well-formed
Hi guys good day. I'm using asp.net 2.0 in developing web application while in development it has no error but when I copy my project folder to the IIS wwwroot and access it through the browser it gives an xml parsing error.
Here's the error.
Code:
XML Parsing Error: not well-formed
Location: http://localhost/TastList/TaskList.aspx
Line Number 1, Column 2:
<%@ Page Language="C#" MasterPageFile="~/TaskList.master" AutoEventWireup="true" CodeFile="TaskList.aspx.cs" Inherits="TaskList" Title="Stupid Page" %>
Thanks in advance.
Re: XML Parsing Error: not well-formed
Have you activated the ASP.NET IIS module?
Re: XML Parsing Error: not well-formed
What's asp.net IIS module?
Do you mean asp.net state service? or IIS service?
The two are already running but still I get an error.
Re: XML Parsing Error: not well-formed
Your ASP.NET page is being mis-interpreted as XML, which in turn is not well formed. Check IIS and make sure that ASP.NET is actually working. Run aspnet_regiis -i. Look at the Web Services extension folder in inetmgr.