ASP.NET with HTA (HTML application)?

Posted on 2005-03-21
Medium Priority
Last Modified: 2010-05-18
I'm attemting to develop an HTA that basically serves up some ASPX files we have.  I currently have the HTA file auto refreshing (at 0 seconds) to the ASPX file.  However, it does not render out the ASPX page, it just gives me the text of the actual code.  This is what I basically need help figuring out -- why does it not render out the pages??

We are doing this for a corporate-wide application and require a few things:
1. an icon replacing the IE logo
2. no menubars, toolbars, etc.
3. This will load every time someone logs on to their computer
3. basically a windows look and feel with web site (ASPX) functionality.

I'm assuming an HTA is the only way to go but I'm open to suggestions.  TIA!
Question by:pythaguras
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 23

Accepted Solution

b1xml2 earned 1000 total points
ID: 13593841
you must access the ASPX files via IIS. If your HTA opens up aspx pages like so: c:\Inetpub\wwwroot\mypage.aspx, you will see the results as unprocessed server-side syntax.
however, if you get your hta to open up the file like so:
http://myserver/mypage.aspx it should render, If it does not, then you will need to register ASP.NET into IIS using aspnet_iisreg.exe -i

Author Comment

ID: 13593911
Brilliant! That works perfect, thanks so much.
LVL 23

Expert Comment

ID: 13593935
happy to help out

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question