Using [SoapDocumentMethod(OneWay=true)] attribute causes Trusted SQL Connection to fail

From: Christopher D. Wiederspan (wiederspan_at_reachdigital.com)
Date: 12/17/04

  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: AD password policy in Forms auth against AD"
    Date: Fri, 17 Dec 2004 09:03:16 -0700
    
    

    I have a web service and I'm using a connection string to SQL Server that
    specifies "Integrated Security=SSPI" to impersonate the calling user. My
    setup works fine until I add the [SoapDocumentMethod(OneWay=true)] attribute
    to the web service, and then I start getting the error: Login failed for
    user '(null)'. I'm guessing that this has something to do with threading and
    the new thread not having the context of the calling user. Can somebody
    enlighten me?

    Thanks,
    Chris


  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: AD password policy in Forms auth against AD"

    Relevant Pages