954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

unable to open .aspx file on my IE7.0

hi there
can anybody please help me out....i just start learning asp.net and have downloaded visual web developer 2008 Express Edition....and it opens my .aspx file.....but i want to check its contents on my browser.....i wrote the simple program that prints Hello world in the center with the yellow background.....first i saved this file as .html and opened it successfully with my browser.....then i saved it as .aspx and it display the entire code instead of giving output like html did
i m using Windows XP and have Microsoft .NET framework 1.1, 2.0 with SP2, 3.0 with SP2, 3.5 with SP1 and have Microsoft Windows SDK for visual studio 2008 SP1 Express tools for .NET framework.....i also put check in front of IIS in add/remove windows component but still nothing happen:( ....i m using IE 7.0....i will be very grateful to u if u can guide me what to do.....because i m new in asp.net.....

thanx in adance

amby

amby
Light Poster
30 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
 

aspx is not straight html code, it must be compiled, whether thats at runtime or precompiled

you can right click on your file in visual studio and click view in browser, this will launch the vs asp.net host to allow you to view it, otherwise you need to publish to iis to view it

dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143
 

hey thanks a lot
it worked..... thanks for your guidance....i really appreciate your help
amby

amby
Light Poster
30 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
 

yeah hit the play button icon in VWD and it will start up a mini web server for you.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

try creating a new web project and copy your helloworld html code into default.aspx file of the newly created project i hope it helped

geletaabate
Newbie Poster
3 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

You got XP pro, vista? or what? what version?

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You