Async calls from a hosted control?

Discussion in 'ASP .Net Web Services' started by Backslider, May 26, 2005.

  1. Backslider

    Backslider Guest

    I have a .NET control that calls a .NET Web Service to do its work.
    They are both written on the 2.0 .Net Framework Beta2. My control
    makes Async calls to the web service. This seems to work ok when the
    control is running in a win form app. But, when I put the control into
    a web page (using the object tag), I never get the event from the Async
    method completed.

    Does anyone know why the callback would not work when the control is in
    a browser? (note: it is still a win form control, this is not ASP. It
    is just using the browser to download the control from a web server,
    and then running inside the brwoser). I used TDIMon to look at the
    messages being sent, and when it runs in an EXE, I get
    TDI_SEND TCP:0.0.0.0:3378 130.211.4.176:80 SUCCESS-425 Length:387
    TDI_EVENT_CHAINED_RECEIVE TCP:0.0.0.0:3378 130.211.4.176:80 DATA_NOT_ACCEPTED-424 Length:1460
    Flags: LOOKAHEAD DISPATCH
    TDI_RECEIVE TCP:0.0.0.0:3378 130.211.4.176:80 SUCCESS-426 Length:4096
    Flags:

    When it is run in the browser I get:
    TDI_SEND TCP:0.0.0.0:3376 130.211.4.176:80 SUCCESS-36 Length:363
    TDI_EVENT_CHAINED_RECEIVE TCP:0.0.0.0:3376 130.211.4.176:80 PENDING Length:1460
    Flags: LOOKAHEAD DISPATCH
    TDI_EVENT_CHAINED_RECEIVE TCP:0.0.0.0:3376 130.211.4.176:80 PENDING Length:494
    Flags: ENTIRE_MESSAGE LOOKAHEAD DISPATCH

    Any help?

    Backslider
     
    Backslider, May 26, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DotNetShadow
    Replies:
    0
    Views:
    1,584
    DotNetShadow
    Feb 7, 2005
  2. =?Utf-8?B?Q2FybG8gRm9saW5p?=

    Monitoring asp.net async calls

    =?Utf-8?B?Q2FybG8gRm9saW5p?=, Feb 1, 2007, in forum: ASP .Net
    Replies:
    7
    Views:
    602
    Steven Cheng[MSFT]
    Feb 8, 2007
  3. adda

    RE: ScriptManager ASYNC calls

    adda, Feb 21, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    447
    Braulio Diez
    Feb 21, 2008
  4. Steven
    Replies:
    0
    Views:
    390
    Steven
    Nov 30, 2005
  5. John Davison
    Replies:
    1
    Views:
    105
    Richard Cornford
    Mar 6, 2007
Loading...

Share This Page