Helpful Information
 
 
Category: IIS
ASP wont work at all.

Hi

Im running IIS 5.1 on XP PRO. Everything is set up correctley but when i publish my site from frontpage im getting "The server you are publishing to does not support ASP" I have tried everything twice and now im all out of ideas. I thought it could be my install so i formatted and reinstalled. I know there is no problem with the hardware and IIS works fine with html but apparnetley does not support ASP. Is there a simple button i havent or have checked. Any help would be much appreciated.

Did you by any chance run the IIS lockdown tool or URLScan? If you did you may have disabled asp by accident.

You can check that .asp files are mapped properly, open the IIS service manager in Administrative tools, navigate to your web, open the properties page & look at the application configuration. You should see a mapping for .asp files to asp.dll. Verify the .dll exists too.

If you weren't an administrator user on your XP box when you installed IIS, I'd uninstall and then reinstall IIS as the Administrator.

i have to system running. I tried reinstalling iis and nothing so i tried publishing using the same server. This didnt work at first so i disabled the firewall. I still cant publish from a remote location to my server. Crazy. I got a tempaory solution any more ideas.

If you are accessing IIS on your own computer, if you have Norton script blocking running try disabling it.

I thought I was the only one. All day I've been wrestling with IIS in Windows 2003 server, 2002 server, XP Pro. None will run the asp compiler. All ASP pages come up as "404-Not Found" on any of the servers. The file is there. On the Windows XP Machine, IIS root directory points to where the pages are developed. Here's what I've done so far:

- Configured IIS based on several web site recommendations
- Followed my ASP book for server setup
- Made sure the php and jsp compilers were uninstalled
- Reinstalled IIS (even after removing php and jsp compilers)
- asp.dll does exist in the correct directory, plus all files the dll file requires.
- restarted IIS after any configuration changes, sometimes restarted the computer.
- All root directories are on the local machine using NTFS.
- No firewalls, no virus scanners are installed.

The program I am using to create asp pages is Dreamweaver (puke to frontpage). The code I am using is derived from an asp text book.

Comparing to the ease of setting up and running a php, or jsp, server on linux (or windows IIS), creating an asp server with IIS has been one heck of a heart ache. But, the customer gets what the customer wants.

I have got ASP running on my localserver but when i run it from view from another machine outside of my network it tells me that the server i am looking at does not support ASP. This was the first problem when publishing or looking at the server from another system my server is not supporting ASP pages. But this is alowing it when viewed or published locally. Any ideas. Im gonna take a look at all the ports and set up again. i have also changed the port.

ps i can view the site from a remote system but not the database results.

The server won't compile the asp pages if the page is viewed on the local machine, on a machine on the same network as the server, or a computer outside the network.

Giving a Virtual machine a try. Might just work.

You are not trying to view your asp pages directly are you? You need to open asp via the web server, like http://localhost/myasp.asp or http://somenetworkaddress/myasp.asp

Of course I'm not. Good question though.

Finally have a server serving asp pages. I created a virtual machine with VMware running windows 2000 professional. Here's the settings I am using:

- The files served are located in the "c" drive of the virtual machine
- All script settings are set to "JScript"
- Tested asp compiling by going to http://localhost/iishelp
- PHP 4.3.2 is also installed as a php compiler.
- Windows 2000 is fully updated, nothing running except IIS. No extra programs installed besides what is installed by the os installer.

Now I need to get mysql running and see if the jsp compiler will work without messing up the asp and php compiling.

I have the same problem.
ASP WON'T run, no matter what I try. I reinstalled IIS (5.1 on Win XP Pro) several times. ASP files are associated to the asp.dll (which is in the correct directory). I set Verbs to All Verbs, I tried it with no AV or Firewall. It just doesn't work!!

HTML pages work fine though.

Pease, please help!!

This is for IIS5.0 but most should be applicable to IIS5.1

http://support.microsoft.com/?id=309051

Some general tips

Use NTFS file system
Don't use "simple file sharing"
Be logged on as administrator when installing IIS
Disable antivirus, script blocking and firewalls for testing
If you messed with the IUSR_ or IWAM_ user accounts manually, un-mess with them
Uninstall, reboot, reinstall
Don't run the iis lockdown or urlscan until you get IIS running reliably.

Hi Doug,

The link you provided (http://support.microsoft.com/?id=309051) is very useful. Thank you for this.

Unfortunately, I got stuck at step 2. Apparently I can't open the Component Services.
When I click on the Component Services under Console Root in the Component Services panel I get the following error message:
"DTC Error
DTC was installed by the SQL Server. Please Reinstall"

I followed the instructions under the link "301919 PRB: Cannot Expand 'My Computer' in Component Services MMC Snap-In" under step 2 of the link you provided but it's still not working.

I searched the MS Knowledge base for that DTC error but all I found was something regarding Win NT 4 server.

Do you have any idea on how to solve this?

Thank you so much.

I don't know about your latest error.

Perhaps it's time to uninstall and then reinstall IIS?

Done it already quite a few times.

I can't believe this is happening on a brand new machine with a factory installed XP!!

Do you know if there is an alternative to Microsoft IIS?

I suspect you are doing the same thing wrong every time. I have never had a problem installing and using IIS on many XP Pro computers. If you are running any antivirus script blocking or some software firewall these programs may be interfering with the running or installing of IIS.

Did you run urlscan or the iis lockdown tool?

Are you using NTFS?

Are you the administrator user when you install?

Are you installing other software that may be conflicting with IIS?

As far as web server alternatives, there are a number of different web servers you can run on XP, like apache for one. However, if you're doing asp development IIS is the only version I know that does asp properly.

I disabled the script blocking from the Norton Antivirus 2003 (as you advised earlier). I also disabled Autoprotect (always in NAV) and shutdown ZoneAlarm (the firewall) but with the same result.

Yes, I’m running other SW packages like graphic suites, MS Office and VB6 Enterprise edition. This might have triggered some problems since the error message I get when I try to open the Component Services is “DTC was installed by the SQL server”.
I tried to uninstall the SQL server but with no success.
Unfortunately I’m quite new to XP so I'm not too sure about certain things. For example no, I'm not using NTFS. Should I change the C drive to that file system? What happens with the older programs if I do?
When I bought the computer (a few days ago), XP was preinstalled. I was asked to create a user that has administrator rights. Is this ok? Or else how should I activate the administrator user (it doesn't show at the Windows log on screen – there are just two users available, the user that I created the first time and a user created by the SQL installation program)?

No, I didn't run urlscan or the iis lockdown tool. I don't even know how to run them and what they're for.

Unfortunately, my mistake was not to install IIS the first time that I turned the PC on. I installed some software first so I don't know if the problem resides in these other SW (although this shouldn't happen, should it?).
I know that there is a restore utility that allows you to undo some installations but I don't know how to run it (is it called system restore?).
Can you please tell me how to do it?
I really wouldn't like to reinstall the whole OS.
The problem is that I use ASP with MS Access as well so if the Apache web server doesn't run that properly...

Cheers

You might look around www.iisfaq.com

FYI.

I eventually had to reinstall Windows XP Pro completely!
I had a feeling that the original installation had something wrong. For example I didn’t have the ‘My Computer’ icon on the desktop and I couldn’t copy it from the start menu.
I therefore think that I have to thank Acer if I wasted a very, very long time, energy and money over this issue.
Anyway, all’s well what ends well…

Thank you for your help.

I Just spend 3 hours with same problem (404 error when running ASP pages) and thanks to this forum I got some clues.

I was able to fix the problem, In my case I'm installing an ASP web application I have developed, my customer's server is a brand new Windows 2003 installed from factory. Internet Information Server was installed, howewer ASP Was NOT.

I found that If you go to the "Add or Remove programs in control panel" and click on windows components and there you select Internet Information services (IIS) and then click on button "Details" there is a subset of options that you may install or uninstall, if you go "deeper" selecting the "World Wide Web Service" option and clicking into the "details" button again you will find that "Active Server Pages" is an option (this is new in 2003!!!), in my case it was NOT INSTALLED. Despite the asp.dll was phisically in the windows/system32/... directory. So I only had to check (install) the ASP option and wait for windows to install this option.

I hope this can help all of you
Victor Ayala

Done it already quite a few times.

I can't believe this is happening on a brand new machine with a factory installed XP!!

Do you know if there is an alternative to Microsoft IIS?

gpt, try this link http://support.microsoft.com/default.aspx?scid=kb;en-us;315296. note though that this was made for 2000pro. i have XP PRO so i took the risk as i was going to reinstall anyway. it worked. the problem is with COM+.

alex










privacy (GDPR)