A name was started with an invalid character. Error processing resource

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 12:22:02

问题


Here is the exact error I'm getting when I try to launch my default.aspx file from the published folder. Can anybody point me in the right direction?

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 'file:///C:/inetpub/wwwroot/MHNProServices/Default....

<%@ Page Title="" Language="C#" MasterPageFile="~/ProServices.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs"...

回答1:


This issue was caused because I needed to run the website from an IIS server, instead of launching it directly from the folder I published it to. Oops.



来源:https://stackoverflow.com/questions/3313886/a-name-was-started-with-an-invalid-character-error-processing-resource

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!