MessageBox.Show -Embedded Code-SSRS Reports - vbscript

I am viewing my deployed report at report server.
Suppose I have Embedded Code based on the link below.
http://msdn.microsoft.com/en-us/library/ms155798(SQL.90).aspx
As this report are view form a web application
do the statement System.Windows.Forms.MessageBox.Show(“..”)
Work?
Will it cause error?

This is not a VBScript question. The embedded code is VB. I suggest you remove that tag. That said, message box modals will not work in web applications and yes the code will error.

Related

How to make a Download BLOB column in Classic Report that has a Web service as Source (using SQL)

I am trying to consume my own file REST service in Oracle Apex (v.19.2) using apex_web_service.make_rest_request in a WITH_PLSQL call as the Classic Report source.
My POST and GET REST calls works fine, but I fail to define the parameters for the 'Download BLOB' column in my Classic Report, such that users can download files.
I am currently clueless to what to do...
(I have no problems with all other processes with consuming numerous other ORDS REST services, it is just the files download that is the problem). Thanks in Advance!
The declarative BLOB download in classic (or interactive) reports do not work for reports on top of Web Source Modules. The reason is that the BLOB would first need to be downloaded to the APEX engine, and from there to your browser - which is pretty inefficient.
In most cases, there are separate REST endpoints to download the actual file contents. If these endpoints can be accessed from the browser, I would simply build a Link Column, in which the link to the "file download" button is constructed. When the end user clicks that link, the browser downloads the file, bypassing APEX.
If that does not work and you need to download the file to APEX, and from there to the browser, you would need to use custom PL/SQL code. This article illustrates this nicely (see the "Download" section):
https://blogs.oracle.com/oraclemagazine/better-file-storage-in-oracle-cloud
I hope this helps

How to redirect or show custom error message?

I need to show custom error page when the DB server down,
I think you are looking for error pages in the framework. It is located under application/views/errors/html there's a file named db_error.php folder. I think that's where you are looking for based on the question and image you posted. You can manipulate those page and customize the design of the page. You can also refer to the guide here.

open ssrs report in an iframe

I have developed a website which runs at SSL (https). I want to open some SSRS reports at the website in an iframe. But it is not opened since browsers say that "Blocked loading mixed active content" in the browser's console.If I hit report's URL in another tab or another browsers window then it opens.Also if I run my website at http only then browser opens the report in the iframe perfectly at the website.I think this problem is arises since website runs on https and report url is http only.
What can I do to resolve this issue without change in any of the URL.
Thanks in advance.
What version of SSRS are you using? It is possible to install multiple instances of SSRS on the same machine. They may not have access to the same sets of reports, but I'm not sure if that would even be an issue for you. The configuration you are attempting seems a bit messy. Personally I would try to get all of the sites on SSL to be consistent, but that sounds like you may not be able to achieve that, politically.
Anyway, here's a link to get you started with the multiple SSRS instance approach, if you'd like to try it.
http://technet.microsoft.com/en-us/library/ms403426(v=sql.90).aspx

shieldui mvc demo works for me when published, but not other user

I'm testing out ShieldUI graphing in an MVC site using the demo version. (Incidentally, I really like it.) When I publish my site to Azure, my sample graphs look normal to me (apart from "demo version" warning). But when another user views the published site, he doesn't see the graphs. Instead he sees a message that says "thank you for using the trial version of ShieldUI for ASP.NET MVC." Why does it work for me, but not the other user? We're hitting the same site.
The trial message is rendered by the trial version of the Shield.Mvc.UI assembly you are using in the MVC project, but the message should not prevent the chart from showing properly. Make sure you're not getting any javascript errors in the browser console. If the problem does not go away, can you post some code we can look at?

ASP.NET MVC and SSRS 2008 R2 ReportViewer (Control)

Dear all,
I have to use the report viewer control within a MVC 3 application and have problems to realize this by using a webforms page. Each time I call my reports via a report list view
I have got an error that the resource cannot be found. I know that this is caused by a wrong route mapping which must be set in the global asax file. How should I define the route to solve this issue?
Here is the virtual path of my report list view:
http://servername/reports/
After selecting a report it should be possible to call the report webforms page via a link
(the virtual path looks like this: http://servername/reports/reportname).
Can anyone help me?
Thanx in advance.
Try adding the following ignore routes to your route definitions:
routes.IgnoreRoute("reports");
routes.IgnoreRoute("reports/{*pathInfo}");

Resources