已发布的ASP.NET网站上的XML分析器错误 [英] XML Parser Error on published ASP.NET Website

查看:96
本文介绍了已发布的ASP.NET网站上的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" %> -^

推荐答案





当IIS服务器配置不正确时,可能会出现此错误。

因此,请转到虚拟目录的属性选项卡,然后检查您正在使用的ASP.NET版本。



您也可以尝试重新注册IIS服务器。为此,打开VisualStudioCommandPrompt并键入
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
aspnet_regiis - i

并输入。



请回复此情况不起作用。



问候,

Praneet

and Enter.

Please reply incase this doesnt work.

Regards,
Praneet


这篇关于已发布的ASP.NET网站上的XML分析器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆