IMPERSONAT webservice to separate sql box

W

William Newsom

I have a similar problem i have set up a 1 sql server 1 web server 1 client
and cannot pass through my identity

turned on impersonate in webconfig
only NT auth is on for IIS
turned on trust delegation on the www server
sql has the domain users setup on db

dont know whats going on EVERY NEWSGROUP has the same question HOW DOES
SOMEONE SET IT UP i have read white paper after white paper even the ones
labeled how to configure asp.net applications for a delegation scenerio it
still doesnt work logon failed for (null) user.


ANYONE PLEASE HELP its been 7+ hours.
 
J

Jan Tielens

Quite often the problem is that the PreAuthenticate property of the
webservice client is not set to true. In your client app, when you invoke
the webservice, you should do something like this:

Dim s As New localhost.MyService
s.PreAuthenticate = True
s.Credentials = System.Net.CredentialCache.DefaultCredentials
s.MyMethod

Did you use this code?

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
 
W

William Newsom

yes
Jan Tielens said:
Quite often the problem is that the PreAuthenticate property of the
webservice client is not set to true. In your client app, when you invoke
the webservice, you should do something like this:

Dim s As New localhost.MyService
s.PreAuthenticate = True
s.Credentials = System.Net.CredentialCache.DefaultCredentials
s.MyMethod

Did you use this code?

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,144
Latest member
KetoBaseReviews
Top