Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

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.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -