部署asp.net网站 [英] deploying asp.net websites

查看:67
本文介绍了部署asp.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在开发一个asp.net网站,但是当我尝试使用IIS部署它并通过Internet浏览器访问它时,当我输入我的webaddress''localhost/default时,会收到以下错误消息.aspx'':

Hi there, i am developing an asp.net website, but when i try to deploy it using IIS and access it through my internet browser, i get the following error message, when i type in my webaddress''localhost/default.aspx'':

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/default.aspx'. Line 1, Position 2
<![CDATA[<%@Page Language="C#" AutoEventWireup="false" CodeFile="Default.aspx.cs" Inherits=_"Default">
-^

How can i go about this problem?
thanks in advance%>]]>

推荐答案

我猜想是将<![CDATA[放到那里.


这篇关于部署asp.net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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