Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
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" %> -^
Posted

1 solution

Hi,

This error could come when the IIS server isnt configured properly.
Hence, go to virtual directory's Properties tab and check the version of ASP.NET that you are using.

You can also try to re-register the IIS server. For this, Open VisualStudioCommandPrompt and type
C#
aspnet_regiis - i
and Enter.

Please reply incase this doesnt work.

Regards,
Praneet
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900