470,596 Members | 1,386 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,596 developers. It's quick & easy.

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 1549
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Patrick Russell | last post: by
11 posts views Thread by Jonny | last post: by
5 posts views Thread by Martin Chen | last post: by
34 posts views Thread by Simon Wigzell | last post: by
reply views Thread by Hemant Shah | last post: by
18 posts views Thread by len.hartley | last post: by
22 posts views Thread by V S Rawat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.