HTTP 403.9 - Access Forbidden: Too many users are connected.
- From: Ganbare Goemon <GanbareGoemon@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Sep 2006 06:57:02 -0700
Hi,
I have a problem with the "FileSystemObject" on IIS: it returns the "HTTP
403.9 - Access Forbidden: Too many users are connected" message.
My configuration is:
- CPU Intel Pentium 4 2.8 GHz
- 1 GB memory DDR
- HD > 300 GB
- Windows XP Pro 32 bit version 2002 with Service Pack 2 (no server edition)
- Internet Information Services 5.1
- Internet Explorer 6.0.29
- Router and Windows Firewall (no products like Norton Firewall)
- Norton Antivirus
The IIS installation is standard (like as for the whole Windows XP), no
particular settings have been done. The user I use to log-in has
administrator privileges; the same for IIS.
I've already tried to disable the "HTTP Keep-Alives Enabled" (the timeout
connection is set to 15 seconds): it doesn't work. I can't also figure out
where is the "Connection" option where
I can modify the number of connections.
Checking on some web sites (one among others,
_ttp://weblogs.asp.net/cazzu/archive/2003/10/10/31476.aspx), I've also tried
to increment the connections limit like in the reported procedure:
"...find the adsutil.vbs script (should be in c:\inetpub\AdminScripts or
similar) and run the following command: adsutil set w3svc/MaxConnections 40"
The response was: "MaxConnections : (INTEGER) 40", but I still
have the problem and there is no way to see any of the ASP pages back to work
again.
This "HTTP 403.9" problem occurs me only when I try to execute any
FileSystemObject Methods to access (in any way) files or folders in IIS with
the ASP VBScript.
I've also tried these msdn.microsoft.com examples:
Const ForReading = 1
Const TristateUseDefault = -2
Case 1:
Set fso = CreateObject("Scripting.FileSystemObject")
if fso.FileExists(myfile) then
Set f = fso.OpenTextFile(myfile, ForReading, False)
.....
Case 2:
Set fso = CreateObject("Scripting.FileSystemObject")
if fso.FileExists(myfile) then
Set f = fso.GetFile(myfile)
Set ts = f.OpenAsTextStream(ForReading, TristateUseDefault)
.....
[myfile] is a normal text file written with notepad, without any read/write
permission limitations.
At the "OpenTextFile" or "OpenAsTextStream" command, Internet Explorer
remains struck with a blank page, doing nothing else. After some refreshes,
the message "HTTP 403.9 - Access Forbidden: Too many users are connected"
appears.
The page doesn't work even if I enable the web-sharing permissions on the
whole IIS for "Script Source Access", "Write" ("Read" is always on),
"Directory browsing" and "Execute Permissions: Script and Executables" and
also even if I share the folder on the network for anyone (included Guests)
with full control.
In order to test the ASP page again, I have to restart IIS or upload it on
the Web (where it works always). Restarting IIS makes me to run the ASP pages
again, but only until the next FileSystemObject command execution.
Note: the use of "MSXML2.DOMDocument" object doesn't give me any problem to
access read/write any XML file I like, so I'm carried to belive that the IIS
account I use works fine.
The network is as follow:
10 different computers sharing specific only some folders; I'm the only
administrator working on the IIS machine which is installed in, no one else
access it directly or with other computers: it's a small company with a small
network and without a Server; the only IIS is installed in my computer.
My questions are:
- Why the object "Scripting.FileSystemObject" makes IIS to stop working
anymore?
- Is there some particular setting I have to put on the "FileSystemObject"
(or elsewhere) in order to see it always works, like online?
- At least, how do I solve this problem?
I'd appreciate any help that'll really help me solve this matter.
Many thanks in advance to anyone that helps me out.
B. Federico from Italy
.
- Prev by Date: Re: format hdd with vbscript
- Next by Date: Re: Insert Variable into Registry as Reg_Binary?
- Previous by thread: Insert Variable into Registry as Reg_Binary?
- Next by thread: Re: VBScript for Outlook profile
- Index(es):
Relevant Pages
|