Asking UserName and Password when open SSRS subreport in new window by using JavaScript in action>Go to URL

  • Hi Experts,

    I am trying to open new subreport windows by using action>Go to URL

    I have provided reports access by using custom application on .aspx pages by using report viewer...

    When i client to show the subreport then it ask me user name and password in IE strictly but if i use Google chrome then some time it ask or sometime not...

    I am using below code in my report :

    ="void window.open('http://MyReportServerName/ReportServer?/ReportsFolderName/

    mysubreportName&rc:Toolbar=False&ClientID_UsedInReport=" & Parameters!ClientID_UsedInReport.Value & "&prm_encounterid=" & Fields!encounterid.Value &

    "', '_blank', 'toolbar=0,scrollbars=0,status=0,location=0,menubar=0,resizable=0,

    directories=0,width=1400,height=200,left=50,top=550');"

    and now i am trying to pass UserName and Password with url after lot of R&D... but still it is not working...

    ="void window.open('http://MyReportServerName/ReportServer?/ReportsFolderName/

    mysubreportName&rc:Toolbar=False&ClientID_UsedInReport=" & Parameters!ClientID_UsedInReport.Value &

    "&prm_encounterid=" & Fields!encounterid.Value &rs:Command=Render&rs:Format=HTML4.0&dsu:Data=DomainName\UserName&dsp:Data=Password

    "', '_blank', 'toolbar=0,scrollbars=0,status=0,location=0,menubar=0,resizable=0,

    directories=0,width=1400,height=200,left=50,top=550');"

    Please give the solution ASAP.. This is really important for me..

    I was referring below link...

    http://tiku.io/questions/2673209/how-to-pass-credentials-when-accessing-ssrs-report-through-url

  • will any one help me on that pls

  • Somewhere it is showing that we can pass variables in custome application page then how.. pls share the proper link that how can i pass parameters from one aspx page report viewer ssrs report to another aspx page report viewer ssrs sub report ...http://www.bidn.com/blogs/BrianKnight/ssis/972/ssrs-action-to-open-a-url-in-a-new-window

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply