Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS 5.1 crash 1

Status
Not open for further replies.

JeroenDortmans

Technical User
Aug 7, 2001
56
NL
Hi,

I am having problems with my IIS 5.1 server on one particular asp script.
The servers runs fine until I try to run this script. Then the page won’t load and after that the server doesn’t respond until I shut it down and start it again. The script does run on a IIS 4 server, so what can this be. Here is the code of the script.

<%
DIM Path_BAT, DrawingNrVar, ComplPath, ServerPath
Path_BAT = &quot;\\IS0001\Shared_Apps\DAF_Progs\Trace2\TraceDirectView&quot;
DrawingNrVar = &quot;Drawing_number&quot;
ComplPath = Path_BAT + &quot; &quot; + DrawingNrVar
ServerPath = Server.MapPath(&quot;Temp_BAT_file\View_VOG.BAT&quot;)
Response.write ServerPath

DIM filesys, filetxt, getname, path
Set filesys = CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set filetxt = filesys.CreateTextFile (ServerPath)
path = filesys.GetAbsolutePathName (ServerPath)
getname = filesys.GetFileName(path)
filetxt.WriteLine (&quot;echo off&quot;)
filetxt.WriteLine (ComplPath)
filetxt.WriteLine (&quot;exit&quot;)
filetxt.Close
%>
 
I have the same problem.
it is on the line &quot;Set filetxt = filesys.CreateTextFile (ServerPath)&quot; that your script stops. Did you find any solution ?
 
It seems to be a general problem with Windows 2000
I have the following code in an asp page and the page &quot;hangs&quot;

Dim rFSO, rbj2
Set rFSO = server.CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set rbj2 = rFSO.OpenTextFile(server.MapPath(&quot;textfile.txt&quot;),1 ) '<- Hangs without error description

I have set full privileges for the I_USR_xxxx on the directory where the text file is.

I need urgent help on this...

Thank you
 
As stupid as it sound, the problem seems to be: NORTON-ANTIVIRUS Script protection that has to be turned off... I had the same problem and it worked fine after disabling it (and after wasting a lot of time changing all the IIS options withought any reason...)

Hope this helps
 
LOL - sorry. Wish I'd seen this earlier.

I ran into this same problem in other contexts. In my case it was in HTML Applications (.HTA files). These are standalone desktop applications that offer you a really slick method of building a GUI VBScript.

We have since eradicated any and all Norton Burglar Tools from all machines. We have a nearly 15-year history of damage control traced directly to Norton schtuff all the way back to their old &quot;DOS Undelete&quot; thingy that trashed the FAT occasionally.

In this case I suspect that they &quot;hook&quot; the FSO - probably by the crude method of replacing scrrun.dll with a hacked version. Didn't look further, we just uninstalled the stuff from all machines over a 3 month period.

Of course you may want to look at alternatives for virus protection - we just think Norton is too aggressive/obstructive and got tired of tweaking settings on 33 servers and 1200 desktops.

They ought to put Ed Norton's pic on the box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top