asp.net应用程序中的错误 [英] error in asp.net application

查看:61
本文介绍了asp.net应用程序中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经创建了应用程序,并将其托管到IIS服务器中,

我主持的时候一切正常,
但是现在当我访问其显示的
相同的应用程序时
错误

''/''应用程序中的服务器错误
``根元素缺失''

我不知道该怎么解决.

hi all,

i have created application and i host it into IIS server,

and it was working fine when i host,
but now the same application when i access its showing

error that

Server Error in ''/''Application
''ROOT ELEMENT IS MISSING''

i don''t know how to solve this.
your help may be greatful to me

推荐答案

请确保没有丢失"PrecompileWeb"中的"Web.UI"文件夹.
或UR给定的路径正确.
希望对您有帮助.
Please make sure That ''Web.UI'' Folder from ''PrecompileWeb'' is not missing.
OR UR Given Path is Correct.
i hope this will helpful for u..


在托管它之前,请设置启动页面并启动项目.


您是第一次托管它吗?
Before you host it, set the start up page and start up project.


Are you hosting it first time ?


位于(C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ CONFIG)的"machine.config"文件已损坏.可能只有空条目.我发现的解决方案是用同一路径上的"machine.config.default"文件代替该文件.
"machine.config" file located in (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG), is corrupted. There may be only null entries. The solution that I found is to substitute this file for "machine.config.default" file, located on the same path.


这篇关于asp.net应用程序中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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