473,473 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem running ASP scripts on a html page

Hi,
I am setting up a new server for an already running website. The problem is
the person before me ran ASP scripts on .html extension pages (The old
machine is a windows 2000 server with IIS 5.0). Now when I transfer all the
pages on to the new machine I am having trouble running the ASP scripts on
the .html pages. The pages work fine when I rename them to .asp. But with the
..html extension I cannot run the scripts. I am thinking that I am missing
some settings or some dlls which take care of running the ASP scripts on the
..html page. But I do not know what I am missing. Please post if you know
anything about this.
Thanks,
Sravani
Jul 22 '05 #1
3 1640
Sravani wrote:
Hi,
I am setting up a new server for an already running website. The
problem is the person before me ran ASP scripts on .html extension
pages (The old machine is a windows 2000 server with IIS 5.0). Now
when I transfer all the pages on to the new machine I am having
trouble running the ASP scripts on the .html pages. The pages work
fine when I rename them to .asp. But with the .html extension I
cannot run the scripts. I am thinking that I am missing some settings
or some dlls which take care of running the ASP scripts on the .html
page. But I do not know what I am missing. Please post if you know
anything about this.
Thanks,
Sravani


By default, .htm pages are not included in the ISAPI filter in IIS Manager.
You need to add the extensions you wish to have treated as active server
pages.

If you need more detail, ask in the .iis group.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #2
Open the IIS control panel.

Click on the Home Directory Tab and then the Configuration button.

Under the mappings tab, you need to add an entry for htm and html. Under
the executable path, copy the line from the asp entry.

This should mean that the ASP engine processes the html pages
"Sravani" <Sr*****@discussions.microsoft.com> wrote in message
news:4A**********************************@microsof t.com...
Hi,
I am setting up a new server for an already running website. The problem is the person before me ran ASP scripts on .html extension pages (The old
machine is a windows 2000 server with IIS 5.0). Now when I transfer all the pages on to the new machine I am having trouble running the ASP scripts on
the .html pages. The pages work fine when I rename them to .asp. But with the .html extension I cannot run the scripts. I am thinking that I am missing
some settings or some dlls which take care of running the ASP scripts on the .html page. But I do not know what I am missing. Please post if you know
anything about this.
Thanks,
Sravani

Jul 22 '05 #3
Hi
Thank you very much for the help. I got it set to treat .html pages as ASP
pages and now it works fine. Thanks again.
Sravani

"Sravani" wrote:
Hi,
I am setting up a new server for an already running website. The problem is
the person before me ran ASP scripts on .html extension pages (The old
machine is a windows 2000 server with IIS 5.0). Now when I transfer all the
pages on to the new machine I am having trouble running the ASP scripts on
the .html pages. The pages work fine when I rename them to .asp. But with the
.html extension I cannot run the scripts. I am thinking that I am missing
some settings or some dlls which take care of running the ASP scripts on the
.html page. But I do not know what I am missing. Please post if you know
anything about this.
Thanks,
Sravani

Jul 22 '05 #4

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

Similar topics

3
by: Aardwolf | last post by:
I've had PHP on my Win2K server running IIs 5 for about 2 weeks now. I have an annoying problem in that I can not run the php scripts/pages locally, instead they open up in the browser as a...
12
by: Patrick Russell | last post by:
I am trying to figure out why the code listed below works in php v4.3.0 but not in v4.3.10: $string = "Param1=Val1;Param2=Val2;Param3=Val3"; $exploded_string = explode(";",$string);...
11
by: Jonny | last post by:
Netscape 7.02 is giving me a headache with a downloaded snow script. Starting with a blank page, I inserted the script and checked it in IE 6 and Netscape 7.02. Everything worked and looked fine. A...
5
by: Martin Chen | last post by:
I have a frame set (as per MS FrontPage 2000). It has a contents and a main frame. The contents frame has a menu bar written with with javascript (in the context of a table). In IE6.1 everything...
34
by: Simon Wigzell | last post by:
document...focus() will scroll the form to move the specified text field into view on everything I have tried it with except Safari on the MAC. The form doesn't move. Any work around? Thanks.
0
by: Hemant Shah | last post by:
Folks, Here is my setup: DB2 V8.2 ESE running on Linux with utf-8 code set. Database territory = us Database code page ...
18
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to...
2
by: DC | last post by:
The Code <%@ import namespace="System" %> <%@ import namespace="System.Web" %> <%@ import namespace="System.Web.UI" %> <%@ import namespace="System.Web.UI.HtmlControls" %> <%@ import...
22
by: V S Rawat | last post by:
(bringing the discussion here for php.general) I am on xpsp3, wampserver 2.0, having apache 2.2.8, php 5.2.6, MySQL 5.0.51b. http://localhost/ is E:\wamp\www\ I have put the first php script...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.