How to get ASP.NET working on new box

G

Guest

I have a web app that I'm trying to get running on a new computer. System is
XP PRO. I enabled IIS, ran aspnet_regiis -i, copied web app file (straight
copy, no FPE) to the WWWROOT folder, changed properties of the folder and
created the application.

When we go to the web app in a browser on the local box (it is running
disconnected from a network), we see the HTML of the ASPX page....

I'm sure it is something simple, advice & help would be appreciated.

Thanks!
 
G

Guest

By this I mean we see the actual HTML source, it is not rendered out as it
should be...
 
O

Oliver Wong

AE Guy said:
By this I mean we see the actual HTML source, it is not rendered out as it
should be...

Check the headers, and in particular, the content type. Is it
"text/HTML" as opposed to "text"?

- Oliver
 
G

Guest

Oliver,

Where would I check this? This web app runs perfectly on my dev box, and on
the web server where it normally runs on the Net. The problem is trying to
get it (any ASP.NET web app?) to run on this new box. I have a feeling that
ASP.NET is not properly installed...

Thanks..
 
R

Rick Strahl [MVP]

This sounds like ASP.NET is not registered or at the very least the script
maps aren't set up. aspnet_regiis should take care of this. You can manually
double check nad make sure that in your virtual directory (or Web Root) you
have the ASPX scriptmaps configured to point at the ASPNET_ISAPI.DLL. You
can do that on the Web virtual/root page and click on Configure... and
Application Mappings.

If it's not there you can manaully add the reference, or (better) re-run
aspnet_regiis and make sure it has no errors. That tool has to be run with
admin rights...


+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog
 
G

Guest

Thanks Rick...

What switch(es) should I use when I run aspnet_regiis this time? The
initial time I ran it I used:

aspnet_regiis -i

.....
 
C

Chris B.

I ran into this once. The problem in that case was the machine was also a
PDC (Primary Domain Controller) asp.net won't register the web services
components on a PDC, it has to be done manually.

Guessing that is not the problem here, but thought I would share.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top