Showing posts with label iis. Show all posts
Showing posts with label iis. Show all posts

Thursday, March 22, 2012

Strange IIS Problem

I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to
run ASP applications. I connect to the Internet using a LAN
connection. My PC is a standalone machine.
Of late, what I find is if I am not connected to the Internet, it
takes quite some time for local intranet ASP pages (that physically
reside in my PC) to get downloaded completely but if I am connected to
the Internet, then the same ASP pages get downloaded in a jiffy. Since
last 2-3 days, I have been noticing this strange problem. Earlier
local intranet ASP pages would get downloaded within no time
irrespective of whether I was connected to the Internet or not.
What could be the probable cause of this eccentricity & how do I
resolve it?
Please note that I have been working with the same setup (i.e. same IP
address to connect to the Internet, same ports etc.) since last 3-4
years but this is the first time I am encountering this problem.
Another petty discrepancy - usually whenever IE is opened (assuming
that the home page is set to 'about:blank'), the right-hand side of
the Status Bar shows the text 'Internet'. When a ASP page on the local
intranet is accessed, the text on the right-hand side of the Status
Bar in IE changes from 'Internet' to 'Local Intranet' but now I find
that even if a ASP page on the local intranet is accessed in IE, the
text on the right-hand side of the Status Bar still remains
'Internet'; it doesn't change to 'Local Intranet'!On Mar 1, 3:19 am, r...@.rediffmail.com wrote:
> I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to
> run ASP applications. I connect to the Internet using a LAN
> connection. My PC is a standalone machine.
> Of late, what I find is if I am not connected to the Internet, it
> takes quite some time for local intranet ASP pages (that physically
> reside in my PC) to get downloaded completely but if I am connected to
> the Internet, then the same ASP pages get downloaded in a jiffy. Since
> last 2-3 days, I have been noticing this strange problem. Earlier
> local intranet ASP pages would get downloaded within no time
> irrespective of whether I was connected to the Internet or not.
> What could be the probable cause of this eccentricity & how do I
> resolve it?
> Please note that I have been working with the same setup (i.e. same IP
> address to connect to the Internet, same ports etc.) since last 3-4
> years but this is the first time I am encountering this problem.
> Another petty discrepancy - usually whenever IE is opened (assuming
> that the home page is set to 'about :blank'), the right-hand side of
> the Status Bar shows the text 'Internet'. When a ASP page on the local
> intranet is accessed, the text on the right-hand side of the Status
> Bar in IE changes from 'Internet' to 'Local Intranet' but now I find
> that even if a ASP page on the local intranet is accessed in IE, the
> text on the right-hand side of the Status Bar still remains
> 'Internet'; it doesn't change to 'Local Intranet'!
let's assume that it's not related to ASP.NET :-)
It seems that you need to check LAN Settings in IE - Tools - Internet
Options. I think you should bypass proxy for local sites and except
the local addresses (for example 10.* if your intranet IP starts from
10.*)

Strange IIS Problem

I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to
run ASP applications. I connect to the Internet using a LAN
connection. My PC is a standalone machine.

Of late, what I find is if I am not connected to the Internet, it
takes quite some time for local intranet ASP pages (that physically
reside in my PC) to get downloaded completely but if I am connected to
the Internet, then the same ASP pages get downloaded in a jiffy. Since
last 2-3 days, I have been noticing this strange problem. Earlier
local intranet ASP pages would get downloaded within no time
irrespective of whether I was connected to the Internet or not.

What could be the probable cause of this eccentricity & how do I
resolve it?

Please note that I have been working with the same setup (i.e. same IP
address to connect to the Internet, same ports etc.) since last 3-4
years but this is the first time I am encountering this problem.

Another petty discrepancy - usually whenever IE is opened (assuming
that the home page is set to 'about:blank'), the right-hand side of
the Status Bar shows the text 'Internet'. When a ASP page on the local
intranet is accessed, the text on the right-hand side of the Status
Bar in IE changes from 'Internet' to 'Local Intranet' but now I find
that even if a ASP page on the local intranet is accessed in IE, the
text on the right-hand side of the Status Bar still remains
'Internet'; it doesn't change to 'Local Intranet'!On Mar 1, 3:19 am, r...@.rediffmail.com wrote:

Quote:

Originally Posted by

I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to
run ASP applications. I connect to the Internet using a LAN
connection. My PC is a standalone machine.
>
Of late, what I find is if I am not connected to the Internet, it
takes quite some time for local intranet ASP pages (that physically
reside in my PC) to get downloaded completely but if I am connected to
the Internet, then the same ASP pages get downloaded in a jiffy. Since
last 2-3 days, I have been noticing this strange problem. Earlier
local intranet ASP pages would get downloaded within no time
irrespective of whether I was connected to the Internet or not.
>
What could be the probable cause of this eccentricity & how do I
resolve it?
>
Please note that I have been working with the same setup (i.e. same IP
address to connect to the Internet, same ports etc.) since last 3-4
years but this is the first time I am encountering this problem.
>
Another petty discrepancy - usually whenever IE is opened (assuming
that the home page is set to 'about:blank'), the right-hand side of
the Status Bar shows the text 'Internet'. When a ASP page on the local
intranet is accessed, the text on the right-hand side of the Status
Bar in IE changes from 'Internet' to 'Local Intranet' but now I find
that even if a ASP page on the local intranet is accessed in IE, the
text on the right-hand side of the Status Bar still remains
'Internet'; it doesn't change to 'Local Intranet'!


let's assume that it's not related to ASP.NET :-)

It seems that you need to check LAN Settings in IE - Tools - Internet
Options. I think you should bypass proxy for local sites and except
the local addresses (for example 10.* if your intranet IP starts from
10.*)
I've been getting the exact same problem myself...IIS 5.1 is dog slow to return a localhost page.

Also started in the last few days. I've been searching all over to find a solution but no luck..

Seems to be tied into display of images, as htm pages with no images come up quickly.

Hope somebody who has found an answer, sees this.

<rn5a@.rediffmail.comwrote in message news:1172715577.007290.38550@.z35g2000cwz.googlegro ups.com...

Quote:

Originally Posted by

>I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to
run ASP applications. I connect to the Internet using a LAN
connection. My PC is a standalone machine.
>
Of late, what I find is if I am not connected to the Internet, it
takes quite some time for local intranet ASP pages (that physically
reside in my PC) to get downloaded completely but if I am connected to
the Internet, then the same ASP pages get downloaded in a jiffy. Since
last 2-3 days, I have been noticing this strange problem. Earlier
local intranet ASP pages would get downloaded within no time
irrespective of whether I was connected to the Internet or not.
>
What could be the probable cause of this eccentricity & how do I
resolve it?
>
Please note that I have been working with the same setup (i.e. same IP
address to connect to the Internet, same ports etc.) since last 3-4
years but this is the first time I am encountering this problem.
>
Another petty discrepancy - usually whenever IE is opened (assuming
that the home page is set to 'about:blank'), the right-hand side of
the Status Bar shows the text 'Internet'. When a ASP page on the local
intranet is accessed, the text on the right-hand side of the Status
Bar in IE changes from 'Internet' to 'Local Intranet' but now I find
that even if a ASP page on the local intranet is accessed in IE, the
text on the right-hand side of the Status Bar still remains
'Internet'; it doesn't change to 'Local Intranet'!
>

Strange IIS Issue

Windows XP Professional Version 2002 (Includes Service Pack 2)

I attempt to Install I.I.S. (Add Windows Components)
I include
Common Files
Documentation
FrontPage 2000 Server Extensions
Internet Information Services Snap-In
SMTP Service
World Wide Web Service (All items checked)

During the install the the program Pauses at "Completing configuration of SMTP Service" for quite some time (Minutes). "Problem may lie here?"

Once it finally moves on to "Completing configuration of FrontPage 2000 Server Extensions" it pops up the following error.

Microsoft Server Extensions
"Unable to access configuration for Microsoft Personal Web Server"

Once I click [OK] the wizard claims I have successfully completed the Windows Components Wizard.

However when I run the MMC console for Internet Information Services, I notice that under the version tab it says "IIS V5.0". Isn't XP supposed to be V5.1?? .. It is on my other workstation and my laptop.

Any attempt to expand the "MyComputer" (local computer) tab produces the following error.

ERROR
"You have been denied access to this machine

This makes no sense at all. There is no error number, just that statement. This is my desktop, I am the only user, and Administrator.

Any suggestions? .. Ideas? .. I'm stumped.I get the feeling the Full Monty is coming...

(Windows reinstall)
Did you previously try to install PWS? Microsoft PWS? Made for 98.

Are you an administrator? If you are do you have full permissions to the C: drive? Its giving you a permissions error you say... make sure you have permission...

Thats all i can hope to offer.
The computer is brand new, and the installation was done by a Tech at BCom where I bought the "parts".

The Tech mentioned he had some problems with drivers, although I suspect he did not install PWS or any I.I.S. related software.

And Yes .. I am the only user and an administrator. I have installed I.I.S. on my laptop and on my other desktop. I have also configured Microsoft Visual Studio 2003 .NET so I can develop and debug ASP.NET code.

What is odd about this install, is this inability to click on the I.I.S. (local computer) without triggering the aformentioned error.

The version as listed on the other workstations is 5.1. This version displays itself as 5.0. That in itself doesn't seem right, althoug perhaps some later patch updated it to 5.1. Been a while and I don't remember.

I have decided to reinstall the O.S. (Yup the full monty as mentioned by "Lord_Rat").

I'll post again if this ends up resolving these issues.

Strange IIS connection error

Hi all
While developing a web app in visual interdev.net 2003
i get this error when i try to run the app:

There are too many people accessing the Web site at this time.

-----------------------

Please try the following:

a.. Click the Refresh button, or try again later.

b.. Open the localhost home page, and then look for links to the
information you want.
HTTP 403.9 - Access Forbidden: Too many users are connected
Internet Information Services

The problem is intermitent. I'm using IIS 5.1 and ASP 1.1

What can cause this? It's never happened to me before in the last 3 years

Thanks in advance

JohnWhat can cause this? It's never happened to me before in the last 3 years

It is caused by too many users being connected to Internet Information
Services.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:h_cOg.42635$89.33698@dotnet.itags.org.fe1.news.blueyonder.co.u k...

Quote:

Originally Posted by

Hi all
While developing a web app in visual interdev.net 2003
i get this error when i try to run the app:
>
There are too many people accessing the Web site at this time.
>
-----------------------
>
Please try the following:
>
a.. Click the Refresh button, or try again later.
>
b.. Open the localhost home page, and then look for links to the
information you want.
HTTP 403.9 - Access Forbidden: Too many users are connected
Internet Information Services
>
The problem is intermitent. I'm using IIS 5.1 and ASP 1.1
>
What can cause this? It's never happened to me before in the last 3 years
>
Thanks in advance
>
John
>
>


"Kevin Spencer" <uce@dotnet.itags.org.ftc.govwrote in message
news:%23GqxNrA2GHA.3464@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

It is caused by too many users being connected to Internet Information
Services.


Hi Kevin

That's the thing its on my development machine at home. Theres noone
connected to it but me?
One user can generate several connections.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:WYdOg.43278$89.6405@dotnet.itags.org.fe1.news.blueyonder.co.uk ...

Quote:

Originally Posted by

>
"Kevin Spencer" <uce@dotnet.itags.org.ftc.govwrote in message news:%23GqxNrA2GHA.3464@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

>It is caused by too many users being connected to Internet Information Services.


>
Hi Kevin
>
That's the thing its on my development machine at home. Theres noone connected to it but me?
>
>


"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:uYziF3A2GHA.1288@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

One user can generate several connections.


Yes but I don't see how by just running a web app. I always close
connections in the code and it's the first time it's happened in over 3
years. it's just a basic site with some web forms and fckeditor embedded in
some of the pages
re:

Quote:

Originally Posted by

I always close connections in the code


The problem is not data access connections. You're not running out of those.
It's http connections.

Windows XP is limited to 10 connections...of all types, both incoming and outgoing.

Run this little test and you'll probably be surprised
at the number of connections you actually have open :

Open a command window ( Start, Run, cmd ) and issue the command :

netstat -a

Make sure you're sitting down when you do that.
I'll bet you didn't know you had so many active connections open.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:qceOg.43433$89.34469@dotnet.itags.org.fe1.news.blueyonder.co.u k...

Quote:

Originally Posted by

>
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:uYziF3A2GHA.1288@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

>One user can generate several connections.


Quote:

Originally Posted by

Yes but I don't see how by just running a web app. I always close connections in the code and it's
the first time it's happened in over 3 years. it's just a basic site with some web forms and
fckeditor embedded in some of the pages


"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:%23kK7LjB2GHA.3476@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

re:

Quote:

Originally Posted by

>I always close connections in the code


>
The problem is not data access connections. You're not running out of
those.
It's http connections.
>
Windows XP is limited to 10 connections...of all types, both incoming and
outgoing.
>
Run this little test and you'll probably be surprised
at the number of connections you actually have open :
>
Open a command window ( Start, Run, cmd ) and issue the command :
>
netstat -a
>
Make sure you're sitting down when you do that.
I'll bet you didn't know you had so many active connections open.


Hey Juan you are right that is a shock. But why has localhost got so many
connections open with lots of different ports? Am I being hacked or what? As
I say this is the first time in three years I've got that error so I'm
assuming I have more connections now for some reason
re:

Quote:

Originally Posted by

Hey Juan you are right that is a shock.


heh, heh... I knew it'd be a surprise. :-)

re:

Quote:

Originally Posted by

Am I being hacked or what?


Nope. That's just the way things work.

re:

Quote:

Originally Posted by

But why has localhost got so many connections open with lots of different ports?


Your server ( IIS 5.1 ) is listening on several ports and your active connections
( browser requests from IIS ) stay alive for the default time-to-live configured for Windows XP.

You shouldn't mess with the default time-to-live, but you can tweak
Windows XP so you can have more connections ( although you aren't supposed to ).

See :
http://www.theeldergeek.com/increas...connections.htm
and
http://www.helpwithwindows.com/WindowsXP/tune-120.html
They have the same instructions...

Note : Doing what those sites recommend implies editing the Windows Registry.

What I am telling you is not a recommendation to go ahead and hack
the Windows Registry and, if you do it, you do it at your own risk.

At the very least, backup your registry so you can restore it later in case of an "accident".
After those required disclaimers, feel free to proceed at your own risk.

:-)

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:cZfOg.44739$89.34883@dotnet.itags.org.fe1.news.blueyonder.co.u k...

Quote:

Originally Posted by

>
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:%23kK7LjB2GHA.3476@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

>re:

Quote:

Originally Posted by

>>I always close connections in the code


>>
>The problem is not data access connections. You're not running out of those.
>It's http connections.
>>
>Windows XP is limited to 10 connections...of all types, both incoming and outgoing.
>>
>Run this little test and you'll probably be surprised
>at the number of connections you actually have open :
>>
>Open a command window ( Start, Run, cmd ) and issue the command :
>>
>netstat -a
>>
>Make sure you're sitting down when you do that.
>I'll bet you didn't know you had so many active connections open.


>
Hey Juan you are right that is a shock. But why has localhost got so many connections open with
lots of different ports? Am I being hacked or what? As I say this is the first time in three years
I've got that error so I'm assuming I have more connections now for some reason
>
>


Thanks for the help Juan. If it keeps happening as reguarly as it is doing
lately I might just give it a tweak :)

"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:eDEqZbC2GHA.868@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

re:

Quote:

Originally Posted by

>Hey Juan you are right that is a shock.


>
heh, heh... I knew it'd be a surprise. :-)
>
re:

Quote:

Originally Posted by

>Am I being hacked or what?


>
Nope. That's just the way things work.
>
re:

Quote:

Originally Posted by

>But why has localhost got so many connections open with lots of different
>ports?


>
Your server ( IIS 5.1 ) is listening on several ports and your active
connections
( browser requests from IIS ) stay alive for the default time-to-live
configured for Windows XP.
>
You shouldn't mess with the default time-to-live, but you can tweak
Windows XP so you can have more connections ( although you aren't supposed
to ).
>
See :
http://www.theeldergeek.com/increas...connections.htm
and
http://www.helpwithwindows.com/WindowsXP/tune-120.html
>
They have the same instructions...
>
Note : Doing what those sites recommend implies editing the Windows
Registry.
>
What I am telling you is not a recommendation to go ahead and hack
the Windows Registry and, if you do it, you do it at your own risk.
>
At the very least, backup your registry so you can restore it later in
case of an "accident".
After those required disclaimers, feel free to proceed at your own risk.
>
:-)
>
>
>
>
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:cZfOg.44739$89.34883@dotnet.itags.org.fe1.news.blueyonder.co.u k...

Quote:

Originally Posted by

>>
>"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
>news:%23kK7LjB2GHA.3476@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

>>re:
>>>I always close connections in the code
>>>
>>The problem is not data access connections. You're not running out of
>>those.
>>It's http connections.
>>>
>>Windows XP is limited to 10 connections...of all types, both incoming
>>and outgoing.
>>>
>>Run this little test and you'll probably be surprised
>>at the number of connections you actually have open :
>>>
>>Open a command window ( Start, Run, cmd ) and issue the command :
>>>
>>netstat -a
>>>
>>Make sure you're sitting down when you do that.
>>I'll bet you didn't know you had so many active connections open.


>>
>Hey Juan you are right that is a shock. But why has localhost got so many
>connections open with lots of different ports? Am I being hacked or what?
>As I say this is the first time in three years I've got that error so I'm
>assuming I have more connections now for some reason
>>
>>


>
>
>