|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
IIS getting hang on FSO
I am trying to open a textfile with file stystem object & getting the IIS hang on,no error.The code was running untill on another machine.What could be the error.If there is permisiion error,I think it shd show up that error.
IIS version is 5 on win2000.SEE *****PROBLEM********* <%Public Function ReadTextFile(filename) dim strcontent,FileObject,Sign_Details,Instream Set FileObject = Server.CreateObject("Scripting.FileSystemObject") Set InStream= FileObject.OpenTextFile (filename, 1, False, False) '***********PROBLEM********** While Not InStream.AtEndOfStream Sign_Details= Sign_Details & InStream.ReadLine & vbcrlf Wend Set Instream = Nothing Set FileObject = Nothing ReadTextFile =Sign_Details End Function %> Set InStream= is giving problem Any Luck, |
|
#2
|
||||
|
||||
|
What is the error message being given?? Copy and paste the error into google first and see what you come up with.
|
|
#3
|
|||
|
|||
|
Quote:
Its not showing up an error ,That's The problem. It keeps On hangs the IE. and few refreshes show The "Too many users connected" error,while only I am connected.Not sure ,If its due to novrang or mydoom,which hits us,but We Nortan antivirus installed & updated on the machine. |
|
#4
|
||||
|
||||
|
You might want to check that Norton isn't interferring with the FSO object. From memory, it causes problems when IIS tries to access/write files, as it thinks it's a virus. So, disable norton temporarily, run your script, and see how you go.
|
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > IIS getting hang on FSO |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|