BackgroundWorker.RunWorkerAsync is not returning immediately.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • urbadave
    New Member
    • Apr 2010
    • 2

    #1

    BackgroundWorker.RunWorkerAsync is not returning immediately.

    Has anyone run into a situation where a call to BackgroundWorke r.RunWorkerAsyn c does not return immediately?

    I've used BackgroundWorke r in many WPF and WinForm apps, but this is the first time I've tried to use it in ASP.NET.

    I've set the main page with the Async="True" attribute.

    I've created the BackgroundWorke r with WorkerReportsPr ogress = false and WorkerSupportsC ancellation = false.

    The DoWork method calls a web service: SQL Server Reporting Services (SSRS). The call to RunWorkerAsync does not return until after the call to the SSRS Render method returns. If this was a WPF or WinForm app, it would return immediately.

    Any ideas?

    urbadave.
Working...