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

Discussion in 'ASP .Net' started by Christopher D. Wiederspan, Dec 17, 2004.

  1. 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
     
    Christopher D. Wiederspan, Dec 17, 2004
    #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. bdb112
    Replies:
    45
    Views:
    1,346
    jazbees
    Apr 29, 2009
  2. Christopher D. Wiederspan
    Replies:
    0
    Views:
    134
    Christopher D. Wiederspan
    Dec 17, 2004
  3. Christopher D. Wiederspan
    Replies:
    1
    Views:
    171
    Dan Rogers
    Dec 20, 2004
  4. John Bailey
    Replies:
    3
    Views:
    552
    John Bailey
    Mar 9, 2007
  5. Jesse Houwing

    SoapDocumentMethod and oneway=true

    Jesse Houwing, Apr 26, 2007, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    146
    Jesse Houwing
    Apr 26, 2007
Loading...

Share This Page