Web Hosting Talk







View Full Version : ASP stopped running on win2k


Dedicated
01-08-2002, 02:21 PM
My win2k server for some reason has stopped running asp scripts and idea how to fix it.

thanks in advance

RackMy.com
01-08-2002, 03:35 PM
Is IIS still running, can you server plain .html files?

Dedicated
01-08-2002, 04:02 PM
no problem with htm files the problem is with asp. IIS is running but when I reload it the asp will run but not for long.

RackMy.com
01-08-2002, 04:41 PM
What is it doing, does it show an errror message when you try to pull up an .asp page? What do the event logs say?

Dedicated
01-08-2002, 05:13 PM
This is the error message:

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'Request.ServerVariables'

RackMy.com
01-08-2002, 06:44 PM
Ok, a couple of things.

First, it looks like you have some bad ASP code. Can you post the whole line of ASP code that has the 'Request.ServerVariables' line.

I also think that you have server side debugging on which is causing the asp engine to hault upon debug. To check this, open up IIS's global settings and go to the "Home Directory" tab. Then click "Configuration". If you click on the "App Debugging" tab under "Application Configurations" you will see the debug check boxes. Make sure the both "Enable ASP server-side" and "Enable ASP client side" are unchecked.

Also, do these steps for all your websites.

Post back and let me know.

Dedicated
01-08-2002, 07:49 PM
"Enable ASP server-side" and "Enable ASP client side" are unchecked on all websites.


here is what I am getting right now:


Microsoft VBScript runtime error '800a01c3'

Object not a collection: 'Request.ServerVariables'

/v/tet.asp, line 42



line 42 of test.asp is:

strCookieURL = Left(Request.ServerVariables("Path_Info"), InstrRev(Request.ServerVariables("Path_Info"), "/"))

mattan
01-09-2002, 08:36 AM
...If that doesnt work try a reboot

Dedicated
01-09-2002, 08:38 AM
when I restart the IIS it will work for about 10 minutes and stop again and the same with reboot.

mattan
01-09-2002, 08:46 AM
what about components, have u installed any additional components. Also, is this a shared server or a dedicated...

Its rare to find a pure ASP script that could just crash the server, most the of the time it has to do with the ASP scripts calling some 3rd party components. Post more info on your setups and maybe we can help you out with more suggesstions..

Once, again do give it a reboot. Theres nothing like that a good ole 'reboot' to fix those pesky Windoze bugs :-)

RackMy.com
01-09-2002, 11:25 AM
Hum, that line of code should be fine. Are there any errors in the event logs? What Service Pack are you running? Has it been giving you any other errors?

anantatman
01-13-2002, 04:18 AM
The reason it works for some time and then stops working is because one of the sites (Applications) which is using ASP is
using too much memory of the IIS process.

Usually all new websites are set to use the same Application Protection (under Home Directory tab in the virtual site property dialog box)

If any of the scripts create objects but do not delete them, the objects created will persist and may cause that particular ISAPI module to crash. In this case its ASP. Sometimes the same happens to php and coldfusion.

If you have one application/site you should be able to pinpoint where its going wrong. If its many sites. Then you've gotta do some work. That's why most hosters don't encourage website development on the server itself. Other's give all websites High Application Protection (Isolated process)

There are few other problems that could be causing the scripts to work at the beginning and not later on.

Hope that helps.