Click here to Skip to main content
15,908,834 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Posted
Updated 6-Jun-12 5:29am
v3
Comments
Sergey Alexandrovich Kryukov 5-Jun-12 23:32pm    
Perhaps this it too complicated to me: "iis not run my application through IIS". Through what does IIS run your application? :-)
--SA
2011999 6-Jun-12 0:10am    
Version 5.1 IIS
Sergey Alexandrovich Kryukov 6-Jun-12 12:09pm    
Use "Improve question" above, not comment.
--SA

I'm guessing that you have not actually created the site in IIS. Sorry if I'm wrong. This[^] article might help.
 
Share this answer
 
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.


Try!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900