当我发布asp.net应用程序iis不能通过IIS运行我的应用程序时 [英] When i am publish asp.net application iis not run my application through IIS

查看:70
本文介绍了当我发布asp.net应用程序iis不能通过IIS运行我的应用程序时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

当我发布我的申请书时,请不要通过iis运行我的申请书

另外,此步骤需要采取什么步骤

当我运行我的应用程序时,出现此错误如何解决.


Dear All,

When i am publish my applicatin con''t run through iis my application

aditionally what are the steps need for this

when i am run my aplication i got this error how to resolve it.


The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 


--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource 'http://localhost/IncomeDec/Account/Login.aspx'. L...

<%@ Page Title="Log In" Language="C#" MasterPageFile="~/MasterPages/Main.Master"
-^


在此先感谢您


Thanks in advance

推荐答案

我猜您实际上尚未在IIS中创建该站点.对不起,如果我错了. [
I''m guessing that you have not actually created the site in IIS. Sorry if I''m wrong. This[^] article might help.


有很多原因会导致此错误.例如,如果浏览器以XML格式加载ASPX文件,则表明IIS无法正确提供ASP.NET页.
最常见的问题是未安装ASP.NET,应用程序不在应用程序根目录中,使用的框架版本不正确或ASP.NET未在IIS中注册.

尝试以下解决方法:

  • 安装正确的ASP.NET框架
  • 注册.NET框架-运行aspnet_regiis.exe -i
  • 将文件夹或虚拟目录配置为IIS中的应用程序
  • 在IIS的"ASP.NET"选项卡中配置正确的框架版本.
There are many reasons that can cause this error. For example, if the ASPX file is being loaded by the browser as XML, tells that IIS is not correctly serving ASP.NET pages.
The most common problems are that ASP.NET is not installed, the application is not in an application root, the incorrect version of the framework is being used or that ASP.NET is not registered in IIS.

Try the following resolution:

  • Install correct ASP.NET framework
  • Register .NET framework - Run aspnet_regiis.exe -i
  • Configure the folder or virtual directory as an application in IIS
  • Configure correct version of framework in the ASP.NET tab in IIS.


这篇关于当我发布asp.net应用程序iis不能通过IIS运行我的应用程序时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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