473,472 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

IIS lock-up when calling ASP scripts - security level problem?

2 New Member
This is my first post to this forum: I use ASP occasionally but don't know a lot of it, and the Windows IIS was invented by MS to torture me :) So I'm not sure if this should be herre or on the IIS area, but here goes:

For the local mirror on my development PC of a site I've been managing for some years, I use the built in IIS (XP pro sp2) to act as a server for local web pages, and some of them use a little bit of simple ASP scripting.

Sometimes, with so called "security" updates, Microsoft does something to the system which disallows this scripting.

I've fixed it once before but this time I don't seem to be able to (either because something different has happened or I've forgotten what I did last time)

HTML pages work fine served via localhost, and even ASP pages, provided they don't do anything too clever (ie <%'...%> comments work OK).

But somewhere in the past three days (during which an MS security update occurred), the scripts have stopped working again.

What happens is that when I click a link to a page that uses the scripts, the IIS stalls ("waiting for localhost..."). Sometimes it requires a PC reboot to get it moving again. When this happens, I can't stop/start the IIS service in the services control applet, until I reboot the PC.

Here's the script that causes the pain (hopefully doesn't disappear when read in this message):

Expand|Select|Wrap|Line Numbers
  1. <%
  2.     filespec = "ctimes/" + request("id") + ".htm"
  3.     filespec = server.mapPath(filespec)
  4.     content = server.createobject("scripting.fileSystemObject").openTextFile(filespec).readall
  5.     response.write(content)
  6. %>
and the link is something like:
Expand|Select|Wrap|Line Numbers
  1. <a href="ct.asp?id=ct01oct06">more</a>
which is supposed to include, within the calling page, a file called 'ct01oct06.htm' from subfolder 'ctimes'.

It's roughly the equivalent of a
Expand|Select|Wrap|Line Numbers
  1. <cfinclude template="#stuff#">
.

The scripts have been working since 1999 on this PC and several other PCs with IIS, and work fine on the remote host.

I think it must be a security setting thing but I can't work out what.

I'm also getting an EventID 10016 error on DCOM, ("The application-specific permission settings do not grant Local Activation permission for the COM Server application") relating to MDM.EXE, the machine debug manager, but that may or may not be related.

Can anyone help?

DN
Sep 27 '06 #1
1 4615
dcnicholls
2 New Member
Arrgghh!! McAfee virus scan was the problem. It had enabled (without permission) "Enable Script Stopper" after a reinstall.

Problem solved. And here I was blaming MS. For once they were innocent!

DN
Sep 27 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Rich Sienkiewicz | last post by:
Some classes, like Queue and SortedList, have a Synchronized method which gives a thread safe wrapper object for these classes. But the lock() statement does the same thing. Is there any rules as to...
4
by: Christoph Zeltner | last post by:
hi, i am writing a thesis on the concurrency control in db2 udb and oracle. I found in the documentary of db2, that a resource holding a (U)pdate-Lock can still be requested by a read-lock...
7
by: Sunny | last post by:
Hi, I can not understend completely the lock statement. Actally what is locked: 1. the part of the code between {...} or 2. the object in lock() In the docs is written: for 1: The lock...
13
by: Andrew Morton | last post by:
I am caching some data in VB.NET using System.Web.Caching, is it possible to lock the cache so that other sessions attempting to access the same cache wait when it is being updated? I have the...
2
by: adri4n | last post by:
as wat ive mentioned in the title.. im would like to know whether the a particular record/table is being locked in my program. some of the methods which i would like to develop are as below: ...
190
by: blangela | last post by:
If you had asked me 5 years ago about the future of C++, I would have told you that its future was assured for many years to come. Recently, I have been starting to wonder. I have been teaching...
5
by: jeff.ranney | last post by:
Hi all. I wrote this C# code: lock(this) { / /write to a file }
20
by: Kurt | last post by:
Below is a class that can accessed from multiple threads and I want the class to be thread safe. I have a private timer member whose interval can be changed by different threads. Which is the correct...
6
by: michael.spoden | last post by:
Hi, how can I fix lock-waits during an online backup? Is an online backup in DB2 V8.2 not realy online? I'm using DB2 V8.2 Fixpak 15 on Linux. The command to perform the backup is: db2 backup...
3
by: Marco | last post by:
Hi all, with db2 snapshot I know the lock waits number but I can not see the tables with locks an I can not see queries that produces locks. How can I know those details? Thanks Marco...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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.

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.