Last post Jun 30, 2014 03:39 AM by gtscdsi
Jun 16, 2014 11:11 PM|myforum8|LINK
Dim strNewPreUNo As String
strNewPreUNo = Replace(strPreUNo, "/", "%2F")
Dim strReportURL As String
Dim strRptURL1 As String = "http://"
Dim strRptURL2 As String = System.Configuration.ConfigurationManager.AppSettings("dbDatabaseServerName") 'server
Dim strRptURL3 As String = "/ReportServer?/SDTSreport/" + "PreUBLA" + "&PreUno=" + strNewPreUNo ' + "&rs%3aCommand=Render&rs%3aformat=PDF'" 'rts report server folder"
Dim strRptURL4 As String = "&rc:Zoom=Page%100Width&rs%3aFormat=pdf&rs%3aCommand=Render"
strReportURL = strRptURL1 + strRptURL2 + strRptURL3 + strRptURL4
Dim strScript As String
strScript = "window.open('" + strReportURL + "','_blank','');"
ScriptManager.RegisterStartupScript(Me, Me.GetType(), "open", strScript, True)
my code above, to call a report from Report Server(open in pdf format) after the popup window appear (it will ask you to save or open), i choose open. Then after open the report, all the link and submit button not working anymore(my web form). No post back
or reaction. It work in my local machine but after deploy to production server, got this problem. Firefox will be fine, IE 8.0 not working. Pelase help.
Jun 17, 2014 10:13 PM|Starain chen - MSFT|LINK
I would like to know the details:
On the other hand, please use the developer tool to check whether there are any errors.
Jun 17, 2014 11:02 PM|myforum8|LINK
Hi , thanks for responding
request directly, no popup, just normal report asking for parameter.
2. Type the url test in production server, Same result, button and link not working after call report server.
3. my local machine version is 8.0.6001.18702, my production ie version is 7.0.6002.18005
Jun 18, 2014 03:18 AM|Starain chen - MSFT|LINK
Please use the complete URL (With the parameters like your code) to do the test.
Jun 18, 2014 04:07 AM|myforum8|LINK
still the same
Jun 18, 2014 10:34 PM|Starain chen - MSFT|LINK
What the result of do the request to report server in your local machine and other machine?
Jun 18, 2014 11:11 PM|myforum8|LINK
Jun 20, 2014 04:31 AM|gtscdsi|LINK
Could you please check in IE8 browser if the web site is in
intranet zone or trust zone?
If not, please try changing it to intranet zone or trust zone and check if it works.
Hope this helpful to you. Thanks
Jun 23, 2014 10:56 PM|myforum8|LINK
No luck, still the same problem. please advise.
Jun 24, 2014 04:59 AM|gtscdsi|LINK
In this scenario, you can use F12 Internet Explore Developer Tools to Debug your Webpages:
You can set some breakpoints in your script and check whether you hit the function of the button or link.
Hope this helpful to you.
Jun 27, 2014 04:36 AM|myforum8|LINK
No point to debug using Internet Explore Developer Tools cause in my development environment work fine.
Please correct me if i'm wrong.
Jun 30, 2014 03:39 AM|gtscdsi|LINK
By using F12 Developer tool, you can check whether there are script error in your page, such as postback. Because if there is a script error it could cause that the script of your
button , never executes.
Is it possible for you to provide a public URL that we can access for troubleshooting or a downloadable sample by which we can repro the issue?