Featured post
c# - CredentialCache with IIS vs personal development server -
i have webservice testing. when use personal asp.net webserver, 1 random port works fine. uses credentials when pass defaultcredentials ssrs server run report.
when tried move local iis server, defualtcredentials username blank , id gets pass ssrs server aspnet.
i turned off annon access , integrated windows authentication on.
my local iis 5.1, doesn't have application pools separate object.
in web.config authentication set
<authentication mode="windows" />
thanks in advance.
update have
<identity impersonate="true" />
now, problem trickier stated.
the outer webservice calls ssrs webservice , works fine in browser. when call outer webservice within ssis, not work, when step through code call outer webservice occurs when make call ssrs 401 authentication error.
i have valid credentials in http manager. have package protection level @ encryptsensitivewithuserkey.
again if call outer webservice personal asp.net webserver, ssis works fine. have download wsdl every time because port changes , have re-setup webservice task. concern when go production.
(i have yet run test code see how webservice acts)
update 2
again webservice works in ie, not in ssis nor firefox when supply credentials when hit webservice
i know getting authenticated because
user.identity.name
returns login name in webservice, when assign defaultcredentials reporting service service still gives me 401 error. tried impersonate log in logged in
dim win system.security.principal.windowsidentity = ctype(user.identity, system.security.principal.windowsidentity) dim context system.security.principal.windowsimpersonationcontext = win.impersonate() reportservice.credentials = system.net.credentialcache.defaultcredentials
this answer received microsoft.
it pleasure discuss issue on phone littler earlier. saying http connection manager not support windows authentication, please have @ article at: http://msdn.microsoft.com/en-us/library/ms140114.aspx
important http connection manager supports anonymous authentication , basic authentication. not support windows authentication.
so, @ point using script task call web services option, mentioned there challenge of moving package qa uat etc. agree managing url in proxy class challenge.
please let me know if have further questions.
now not true because showed gentleman microsoft our web service did require windows authentication not working known “double-hop”. credentials not passed ssrs server.
- Get link
- X
- Other Apps
Comments
Post a Comment