当我运行显示此错误的虚拟目录文件时 [英] when i run the virtual directory file showing this error
本文介绍了当我运行显示此错误的虚拟目录文件时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
运行我的.net应用程序,当我创建虚拟目录并运行此程序时,它运行良好,并显示以下错误
run my .net application its running well when i create virtual directory and run this one showing the bellow error
XML Parsing Error: not well-formed
Location: http://localhost/examplekalai/Default.aspx
Line Number 1, Column 2:
推荐答案
似乎您的ASP.NET版本未正确安装.
请按照以下步骤操作,以重新安装
打开命令提示符并导航至该目录
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
从命令提示符处按以下顺序运行这些命令:
It seems that your ASP.NET version is not properly installed.
Follow these steps, to re-install it
Open a command prompt and navigate to this dir
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
Run these commands in this order from command prompt:
aspnet_regiis.exe –i
aspnet_regiis.exe –e
IISReset (To restart the IIS)
您可能还需要重新启动计算机
You may also need to restart the computer
这篇关于当我运行显示此错误的虚拟目录文件时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文