0

Create Default.aspx in the asp.net;
And open folder in windows.
Right-Click on Default.aspx then OpenWidth and click on the Internet Explorer.
when Opend. view:


"
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:///G:/My Programming/Asp/My Project (90)/Defa...

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> -^
"

1
  • You need a webserver to serve an asp.net page (iis + asp.net, apache + mono)
    – Musa
    Jul 15, 2012 at 6:21

1 Answer 1

0

.aspx page are ASP.NET server side pages means they get rendered on the Server and return result back to webbrowser

So you cannot call them by directory path you will need to host them on a webserver and then call them by the wepath e.g. localhost/test.aspx

Please read the walkthrough it will give information on everything you need for ASPX http://msdn.microsoft.com/en-us/library/1y1404zt(v=vs.90).aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.