Apr 09, 2014 04:12 PM|dotnetzoom|LINK
The program executes as expected when run from the IDE. However, after publishing the project, the ASPX file is not associated with any program (IE or Firefox, for example). The file appears to be a text file (text file icon). When attempting to open the file,
I receive the following error:
Internet explorer will not be able to intrepret the aspx page when it is opened directly from windows explorer. You need to open the page
http://localhost/Websitename/WebForm2.aspx which will be served by IIS and html will be displayed in the browser. If you want to understand the complete lifecycle of an ASP.NET web page, you can take
a look at the MSDN documentation.