Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 26, 2006 04:09 AM by bansalanuj
Mar 17, 2006 05:01 AM|LINK
I am new to ASP.NET and whenever I try to run my asp.net page, all I get is the code! E.g.
<%@ Page Language="vb" Debug="True" %>
Sub Display_Output (Src As Object, Args As EventArgs)
If Not NameIn.Text = "" Then
GreetingOut.Text = "Hello, <b>" & NameIn.Text & "</b>. " _
& "Today is " & Format(DateString, "Long Date") & " " _
& "and the time is " & Format(TimeString, "Long Time") & ".<br/>" _
& "Check out our special prices on software products listed below:<br/>"
ProductsGrid.Visible = True
on the web browser instead of an HTML page
Mar 17, 2006 05:10 AM|LINK
and welcome to the ASP.NET forums.
If you installed IIS after you installed the .NET framework try running the
aspnet_regiis -i tool to set the correct ISAPI filters. Also you can try running that tool if you use IIS as your server in the first place.
Mar 17, 2006 05:25 AM|LINK
Mar 17, 2006 04:43 PM|LINK
Make sure you're opening this through a URL, such as
http://localhost/mypage.aspx, and not by using File -> Open.
Mar 17, 2006 05:49 PM|LINK
Mar 17, 2006 06:05 PM|LINK
can you provide the url that's in your address of your browser when you surf to the page that you expect to be seeing? Also check the virtual folders in your IIS and if it's actually up and running. You can get into the manager by going to
Start, Run and type in inetmgr and press
Mar 17, 2006 06:24 PM|LINK
http://localhost/Display_Welcome.aspx. I ran inetmgr and IIS is running well. Thanks.
Mar 17, 2006 06:44 PM|LINK
Thanks, I did that and it displayed a "The page cannot be displayed" page
It did this through a URL? What are you using to get it to display just the ASP.NET codes?
Try the IP address of the system or the system name instead of "localhost". Set your Internet Explorer to ignore proxy address. Test a Hello World HTML file.
Mar 17, 2006 06:55 PM|LINK
<head> hello </head>
and it displayed the html codes and tags on the browser. Do you think is it has anything to do with my browser setting? Thanks
Mar 18, 2006 12:34 PM|LINK
How exactly are you loading this into your browser? Do you have IIS installed on the system?