SunQuest
 
           Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old February 4th, 2004, 05:44 AM
amittal amittal is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: web Development
Posts: 44 amittal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
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,

Reply With Quote
  #2  
Old February 4th, 2004, 06:32 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
What is the error message being given?? Copy and paste the error into google first and see what you come up with.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #3  
Old February 4th, 2004, 11:04 PM
amittal amittal is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: web Development
Posts: 44 amittal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Quote:
Originally Posted by stumpy
What is the error message being given?? Copy and paste the error into google first and see what you come up with.


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.

Reply With Quote
  #4  
Old February 4th, 2004, 11:21 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
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.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > IIS getting hang on FSO


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway