Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2005

Tip: Looking for answers? Try searching our database.

web service performance problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken Andersson - 20 Dec 2005 10:37 GMT
I'm developing a ASP.Net 2.0 web service. I am using windows XP sp2 version 5.1
When testing the service, I created a number of threads that access the web
service at the same time. When I increase the number of threads to more than
10, I get the errrors below. I've found out that the exceptions are thrown
before it gets to my program.

I suspect that I have to do some configuration but I need help to find out
where to start looking.

------- Errors -----------
"The request failed with HTTP status 403: Access Forbidden"
  at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
--------
or
--------
System.Net.WebException: The underlying connection was closed: An unexpected
error occurred on a receive. ---> System.IO.IOException: Unable to read data
from the transport connection: An established connection was aborted by the
software in your host machine. ---> System.Net.Sockets.SocketException: An
established connection was aborted by the software in your host machine
  at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32
size, SocketFlags socketFlags)
  at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset,
Int32 size)
  --- End of inner exception stack trace ---
  at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  at System.Net.HttpWebRequest.MakeMemoryStream(Stream stream)
  --- End of inner exception stack trace ---
  at
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
request)
  at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest
request)
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
reez - 20 Dec 2005 13:05 GMT
Hi Ken

There is a setting in IIS that limits the number of concurrent users to
10 by default in WinXP (I think - I can't verify because i don't have
IIS installed on this PC but i remember this being a problem i
encountered before). Click around in IIS and look at the properties for
the server, the website and the virtual directory. Sorry i can't
remember exactly where this setting was.

Let me know if this works.

Reeza.
Ken Andersson - 21 Dec 2005 08:36 GMT
I havnt found a way to increase the number of connections in IIS on Win XP.
I dont think its possible.
Ive read on msdn that Win XP is not a server OS and you should run
applications that need meny connections on a server. So im gonna test the
performance after ive deployed it to the Windows Server 2003 later.

Regards

> Hi Ken
>
[quoted text clipped - 8 lines]
>
> Reeza.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.