无法显示XML页面 [英] The XML page cannot be displayed

查看:131
本文介绍了无法显示XML页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨每一个,

i在我的项目中使用.net4和C#编程语言,

它在我的本地主机上工作正常,



但是当我在主持人上传我的项目时,它给我一个错误!



无法显示XML页面



这是什么意思?

是我的程序问题还是它的问题主机服务器的错误!?



任何帮助或建议?

解决方案

有多种原因可能导致同样的错误。在这种情况下,有可能 IIS配置未正确完成 .NET框架未正确安装应用程序不在应用程序根目录正在使用.net Framework 版本不正确或 ASP.Net未在IIS中注册



试试这个解决方案

1. 重新安装 .net Framework 4.0 在主机服务器中

2.运行 aspnet_regiis.exe -i

3.将文件夹或虚拟目录配置为IIS中的应用程序。

4.将应用程序配置为在IIS的ASP.net选项卡中使用正确版本的.net framework (或检查IIS 6及更高版本的应用程序池)

hi every one ,,
i used .net4 and C# programing language in my project ,,
its working true on my local host Computer ,

but when i uploaded my project on the Host ,, its give me a Error !

The XML page cannot be displayed

what does it mean ?
is it my program problem or its the Error of Host Server !?

any help or advice?

解决方案

There are multiple reasons that can cause this same error. In this case there is a possibility that the IIS Configuration is not done properly or the .NET framework not installed properly or the application is not in the application root or Incorrect version of .net Framework is being used or ASP.Net is not registered in IIS.

Try this solution
1. Re-install the .net Framework 4.0 in the Host server
2. Run aspnet_regiis.exe -i
3. Configure the folder or Virtual Directory as an application in IIS.
4. Configure the application to use the correct version of .net framework in the ASP.net tab in IIS ( or check the application pool for IIS 6 and above)


这篇关于无法显示XML页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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