473,320 Members | 1,794 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to get ASP.NET working on new box

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!
Nov 19 '05 #1
6 930
By this I mean we see the actual HTML source, it is not rendered out as it
should be...

"AE Guy" wrote:
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....


Nov 19 '05 #2
"AE Guy" <AE***@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.com...
By this I mean we see the actual HTML source, it is not rendered out as it
should be...

"AE Guy" wrote:
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....


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

- Oliver
Nov 19 '05 #3
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..

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

- Oliver


Nov 19 '05 #4
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

"AE Guy" <AE***@discussions.microsoft.com> wrote in message
news:E3**********************************@microsof t.com...
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!

Nov 19 '05 #5
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

.....

"Rick Strahl [MVP]" wrote:
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 ---


Nov 19 '05 #6
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.
"AE Guy" <AE***@discussions.microsoft.com> wrote in message
news:E3**********************************@microsof t.com...
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!

Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Mullin Yu | last post by:
hi, i have a web service that has file operations on Windows OS, and there may be a file concurrency issue if only one working directory e.g. c:\working therefore, i want to have a unique sub...
5
by: Martin Heuckeroth | last post by:
Hi We are working on a webservice application and are having some problems with the cookies and/or sessions. We have them working on our intranet but then its not working on the internet. We...
5
by: tshad | last post by:
I have been working with setting my drop boxes to allow double clicking to select an item. It worked fine until I made some changes. I then stripped the page down to the bare essentials to find...
8
by: jojobar | last post by:
Okay, I am trying to do is to test the webresource in 2.0 1. I created a new project with assembly name (and default assembly name) "Office". 2. I added the following to the AssemblyInfo.cs...
2
by: Don | last post by:
I'm having problems with intellisense, autocomplete, etc. suddenly not working in certain classes of a project I'm working on. All the options are set, and it all works fine for most classes, but...
9
by: MSDNAndi | last post by:
Hi, I have a set of simple webservices calls that worked fine using .NET Framework 1.0. I am calling a Java/Apache based webservices, the calling side is not able to supply a proper WSDL. ...
4
by: qbproger | last post by:
I'm developing a plugin for some software. The previous version of the software didn't require a start in directory to be set. This allowed me to leave the working directory to the default in the...
3
by: Jason Huang | last post by:
Hi, In our C# Windows Form application, we are using the SQL Server 2000 as the database server. The Database table MyTable has a field RegistrationDate which represents the Date a client comes...
0
by: WORKING IN FAITH | last post by:
three years I LOVE You Monica More options 1 message - Collapse all WORKING IN FAITH View profile More options Nov 13, 11:29 am three years I LOVE You Monica
3
by: lds | last post by:
On our server we have both applications that have been migrated to use v2.0 of the framework as well as apps that have not yet been migrated and still use 1.1. When I tried to deploy my v2.0 app...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.