IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old September 10th, 2003, 04:14 AM
kamilsey kamilsey is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 4 kamilsey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old September 10th, 2003, 01:58 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,717 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 40 m 34 sec
Reputation Power: 688
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.

Reply With Quote
  #3  
Old September 12th, 2003, 04:40 AM
kamilsey kamilsey is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 4 kamilsey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #4  
Old September 12th, 2003, 12:54 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,717 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 40 m 34 sec
Reputation Power: 688
If you are accessing IIS on your own computer, if you have Norton script blocking running try disabling it.

Reply With Quote
  #5  
Old September 23rd, 2003, 03:27 AM
WizzBangCA WizzBangCA is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 5 WizzBangCA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #6  
Old September 23rd, 2003, 04:08 AM
kamilsey kamilsey is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 4 kamilsey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #7  
Old September 23rd, 2003, 11:30 AM
WizzBangCA WizzBangCA is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 5 WizzBangCA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #8  
Old September 23rd, 2003, 11:58 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,717 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 40 m 34 sec
Reputation Power: 688
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

Reply With Quote
  #9  
Old September 23rd, 2003, 12:15 PM
WizzBangCA WizzBangCA is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 5 WizzBangCA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #10  
Old May 28th, 2004, 06:54 AM
gpt gpt is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 38 gpt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 39 m 43 sec
Reputation Power: 5
Tried it all

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!!

Reply With Quote
  #11  
Old May 28th, 2004, 02:59 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,717 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 40 m 34 sec
Reputation Power: 688
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.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #12  
Old May 30th, 2004, 11:01 AM
gpt gpt is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 38 gpt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 39 m 43 sec
Reputation Power: 5
IIS stil not working. Component Services problems

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.

Reply With Quote
  #13  
Old May 30th, 2004, 12:31 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,717 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 40 m 34 sec
Reputation Power: 688
I don't know about your latest error.

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

Reply With Quote
  #14  
Old May 30th, 2004, 03:26 PM
gpt gpt is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 38 gpt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 39 m 43 sec
Reputation Power: 5
Professional??

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?

Reply With Quote
  #15  
Old May 30th, 2004, 04:33 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,717 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 40 m 34 sec
Reputation Power: 688
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.

Reply With Quote