Click here to Skip to main content
15,921,028 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Reading file from javascript Pin
Paddy Boyd10-Jul-06 6:09
Paddy Boyd10-Jul-06 6:09 
GeneralRe: Reading file from javascript Pin
theprinc10-Jul-06 6:15
theprinc10-Jul-06 6:15 
AnswerRe: Reading file from javascript Pin
Guffa10-Jul-06 7:41
Guffa10-Jul-06 7:41 
GeneralRe: Reading file from javascript Pin
dwatkins@dirq.net11-Jul-06 9:46
dwatkins@dirq.net11-Jul-06 9:46 
GeneralRe: Reading file from javascript Pin
User 171649212-Jul-06 8:27
professionalUser 171649212-Jul-06 8:27 
GeneralRe: Reading file from javascript Pin
User 171649210-Jul-06 13:34
professionalUser 171649210-Jul-06 13:34 
Questionlogged on users to share a file ? Pin
MickYL10-Jul-06 2:10
MickYL10-Jul-06 2:10 
QuestionIIS 6.0 recycling cause web client to hang Pin
sbundgaa10-Jul-06 2:04
sbundgaa10-Jul-06 2:04 
We are building a Client/Server application based on ASP.NET.

The server application is an IIS 6.0 hosted XML web service application exposing various web service methods.

The client is a Windows Forms client which are consuming the XML web services.

It's very important the application is available 24 hours a day and therefore we rely on the Worker Process Isolation/recycling feature in IIS 6.0 for maximum availibility.

Unforetunely recycling does not work very well for us - the client hangs if recycling happens during a web service request. After some amount of time we get the WebException "The operation has timed out". On the IIS6.0 machine we see the old worker process has been killed. If a new request is made to the service, a new worker process starts up and the application continues working. So the server side is apparently completely unaware of the hanging client.

To find the root cause I developed the most simple test application which consists of a ASP.Net web service exposing a single web method and a Console application which consumes this Web service in an infinite loop:

Server:

using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService
{
[WebMethod]
public void test()
{
int v = 10;
}
}


Client:

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
WebReference.Service s = new ConsoleApplication1.WebReference.Service();
int j = 0;

while (true)
{
s.test();
Console.WriteLine(j.ToString());
j++;
}
}
}
}
If I manually recycle the Application pool running the web service above, the Console application starts hanging until the time out exception occurs. Anybody got an idea why this happens? I thought recycling was supposed to be transparent for the client.

The IIS 6.0 is configured with default settings.

In the HTTPErr log file I get a Timer_AppPool error. I guess this indicates that a request from the console application somehow gets stuck?

Thanks & Regards

Steen Bundgaard
QuestionOpening dialog boxes using javascript Pin
theprinc10-Jul-06 1:35
theprinc10-Jul-06 1:35 
AnswerRe: Opening dialog boxes using javascript Pin
vinhie4710-Jul-06 17:12
vinhie4710-Jul-06 17:12 
GeneralRe: Opening dialog boxes using javascript Pin
laksh_us10-Jul-06 22:13
laksh_us10-Jul-06 22:13 
Questionhow to use subdomain Pin
Amit Agarrwal9-Jul-06 23:29
Amit Agarrwal9-Jul-06 23:29 
AnswerRe: how to use subdomain Pin
dwatkins@dirq.net11-Jul-06 3:32
dwatkins@dirq.net11-Jul-06 3:32 
GeneralRe: how to use subdomain Pin
Amit Agarrwal11-Jul-06 3:37
Amit Agarrwal11-Jul-06 3:37 
GeneralRe: how to use subdomain Pin
dwatkins@dirq.net11-Jul-06 3:42
dwatkins@dirq.net11-Jul-06 3:42 
GeneralRe: how to use subdomain Pin
dwatkins@dirq.net11-Jul-06 3:51
dwatkins@dirq.net11-Jul-06 3:51 
QuestionPress SPACEBAR or ENTER to activate and use this control Pin
militiaware9-Jul-06 21:02
militiaware9-Jul-06 21:02 
AnswerRe: Press SPACEBAR or ENTER to activate and use this control Pin
Brent Lamborn10-Jul-06 6:08
Brent Lamborn10-Jul-06 6:08 
GeneralRe: Press SPACEBAR or ENTER to activate and use this control [modified] Pin
militiaware10-Jul-06 20:26
militiaware10-Jul-06 20:26 
GeneralRe: Press SPACEBAR or ENTER to activate and use this control Pin
rmccoll4-Aug-06 4:02
rmccoll4-Aug-06 4:02 
Questioncontainer containing multiple dialog boxes Pin
Aqueel9-Jul-06 20:48
Aqueel9-Jul-06 20:48 
QuestionHow to check that file is modified or not using CAPICOM or any solution Pin
Chetan.visodiya9-Jul-06 20:27
Chetan.visodiya9-Jul-06 20:27 
QuestionAsterisk width in css Pin
Clickok9-Jul-06 16:30
Clickok9-Jul-06 16:30 
AnswerRe: Asterisk width in css Pin
Paddy Boyd10-Jul-06 0:09
Paddy Boyd10-Jul-06 0:09 
AnswerRe: Asterisk width in css Pin
Guffa10-Jul-06 6:58
Guffa10-Jul-06 6:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.