Integrating pl/sql with report

Hi all,
I have a report with query
select con_id,si_no,gr_no,cl_no,pr_no from kconts
where the value of pr_no is like 1001:1003:1006 (values stored using multiple select list) in each record.
so in each row of the report the values of pr_no will be displayed like this.
I have a pl/sql code for converting the pr_no to pr_name.
example the above pr_no will be like cement:coal:petrol
This is working fine in sql workshop.
now, i want to integrate into the report and get the names instead of nos.
ie each row of the report should display in the pr_no column as
cement:coal:petrol and not as 1001:1003:1006
Is it possible to do it?
COuld anyone please give me an solution?
thanks in advance
bye
srikavi
Message was edited by:
srikavi

Srikavi,
You need to create a function which will loop through the pr_no and get the description
for each value and concatenate that into the string you want to see:
CREATE OR REPLACE FUNCTION get_string (p_pr_no IN VARCHAR2)
   RETURN VARCHAR2
IS
   v_new_string   VARCHAR2 (32000);
BEGIN
   FOR c IN (SELECT description
               FROM my_table
              WHERE INSTR (':' || p_pr_no || ':', ':' || pr_no || ':') > 0)
   LOOP
      v_new_string := v_new_string || ':' || c.description;
   END LOOP;
   v_new_string := RTRIM (v_new_sting, ':');
   RETURN v_new_string;
END get_string;. After that, you include
the function in your sql:
SELECT con_id, si_no, gr_no, cl_no, get_string (pr_no) pr_no
  FROM kcontsDenes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://htmldb.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • Form on SQL with report

    I had created a form on table with report. When the user clicks on the link image on the report, it query up the data on the form. It does all of the DML on the form behind the scenes. Now I have to do the same thing, but the form needs to be based on SQL Query instead. What do I have to do to have the link from the report automatically call of the data in the form?

    The easiest way is to create a view with an INSTEAD OF trigger which does the insert/update/delete into the underlaying tables.
    That will allow you to use all the processes the wizard creates for you and without having to write any code in APEX.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • Integrating PL/SQL with Perl

    Hello All,
    I have just started learning PL/SQL and this my first R&D stuff with PL/SQL :)
    I have a very basic beginner question.
    Suppose I want to insert 1 lakh rows in a table through Perl. One and easiest way to do is to prepare and execute insert queries using Perl module - 'DBI' module in a loop
    But I guess this will send lot of traffic over the LAN. What I rather feel is that if I execute these 1 lakh SQL queries using PL/SQL it will be comparatively more network efficient and fast.
    So I have following questions:
    1. Is it possible to integrate PL/SQL with Perl using 'DBI' module
    2. Is there a way in PL/SQL that it will return status of all the 1 Lakh SQL queries after execution that will let me know which SQL queries were successfully executed and which failed.

    1. Is it possible to integrate PL/SQL with Perl using 'DBI' moduleyes, just use a PL/SQL statement instead of a sql one
    2. Is there a way in PL/SQL that it will return status of all the 1 Lakh SQL queries after execution that will let me know which SQL queries were successfully executed and which failed.yes, you have to manage an exception block for each row and store the single row result in a cumulative variable:
    The following code is an incomplete and not testet example:
    my $STM = "
    declare
    ret varchar2(10);
    begin
      begin
        insert into mytab values(1);
        ret := ret||'0';
      exception
        when others then
          ret:=ret||'1';
      end;
      begin
        insert into mytab values(2);
        ret := ret||'0';
      exception
        when others then
          ret:=ret||'1';
      end;
    ... and so on ...
      select ret into :OUTRES from dual;
    end;";
    my $outres;
    my $hnd = $db->prepare($STM);
    $hnd->bind_param_inout( ":OUTRES", \$outres, 10);  -- 10 is the variable length, e.g. the number of inserts
    $hnd->execute();
    print "inserts output: $outres\n";At the end of the script you should hava a string of bits. A 0 for each successful insert an 1 for each unsuccessful...
    Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/10/crittografia-in-plsql-utilizzando-dbms_crypto/]

  • Integrating PL / SQL with a Button on a Web Page ...

    I would be very grateful if someone could help with the following query.
    I have a database with a table called '*Tbl1*', which contains the following columns:-
    1). tbl1_unique_id (number, primary key);
    2). tbl1_title (VARCHAR2, 200);
    3). tbl1_description (VARCHAR2, 2000);
    4). tbl1_notes (VARCHAR2, 500);
    5). tbl1_status (Open, Closed).
    I have also created a page, which displays all of the records where the tbl1_status is equal to 'Open'.
    What I would like to do is add a button to the page, which when pressed, replaces whatever information is in the tbl1_notes column with a default statement.
    I have managed to produce PL / SQL code, which will query the table and update only those rows where tbl1_status is equal to 'Open' when using the 'SQL Commands' window, but I am having trouble integrating it with a button on the web page.
    I think that I need a 'Page Process', but I do not know what type (Data Manipulation, On Demand, PL / SQL, etc) or how to set it up correctly.
    Any help you can provide with regard to the above query will be appreciated.

    Trevor,
    Navigate to the page where you would like to add the process. Add the button if you've not already done so. Then click the "create page process" button under the Page Processing column.
    Select PL/SQL and click Next >.
    Enter a Name and click Next >.
    Paste your code from the SQL Workshop and click Next >.
    Enter success/failure messages if you like and click Next >.
    Select the button you added and click Create Process.
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/apex/

  • Integrating J2EE application with SQL Server Reporting Services

    Hello everybody,
    I want to integrate a J2EE application with SQL Server 2005 Reporting Services. In fact, it is the first time to be involved in developing an interoperability component between .Net web service and Java application. So I have learned for some time how to pass this challenge. Moreover, I found the following virtual lab is an excellent starting point "MSDN Virtual Lab: Implementing SQL Server Reporting Services with a Java Enterprise Edition (EE) Application" [http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032315323&EventCategory=3&culture=en-US&CountryCode=US]
    After going through the lab, I tried to apply the same code in my machine but I have stuck with the following error:
    {color:#ff0000}*; nested exception is:*
    org.xml.sax.SAXParseException: Premature end of file.
    {color}{color:#333333}I use the following tools:
    - Netbeans IDE 6.5
    - Java SDK: build 1.6.0_01-b06
    - Web Server: Apache Tomcat 6.0
    - axis Jars (axis.jar, axis-ant.jar, commons-discovery-0.2.jar, commons-logging-1.0.4.jar, jaxrpc.jar, log4j-1.2.8.jar, saaj.jar, wsdl4j-1.5.1.jar)
    - Reporting Tool: SQL Server 2005 Reporting Services
    I will be so grateful if someone help me. I am waiting your response
    this is a snippet of my code :
    {color}{color:#333333}
    package net;
    {color}{color:#333333}
    //import java.io.*;
    import com.microsoft.schemas.sqlserver._2005._06._30.reporting.reportingservices.*;
    import java.io.Serializable;
    * @author Abdullah Al Fararjeh
    public class NetData implements Serializable
    static String[] data;
    public NetData(){}
    public static String[] getData(String myURL, String searchStr)
    try{
    CatalogItem[] returnedItems;
    String folderName = "/";
    returnedItems = FindReports(folderName, myURL, searchStr);
    if(returnedItems != null && returnedItems.length > 0){
    int count = returnedItems.length;
    data = new String[count];
    for(int x = 0; x < returnedItems.length; x++){
    data[x] = returnedItems[x].getPath();
    else
    data = new String[] {"No Records Found"};
    return (data);
    catch(Exception e){
    System.out.println(e.getMessage());
    String[] s = new String[1];
    s[0] = e.getMessage();
    return (s);
    private static CatalogItem[] FindReports(String folderName, String serverUrl, String searchStr)
    try
    //CatalogItem find;
    ReportingService2005Locator loc = new ReportingService2005Locator();
    //retrieve a report from the service locator
    ReportingService2005Soap port = loc.getReportingService2005Soap(new java.net.URL(serverUrl));
    //set the HTTP Basic Authentication credintials using Stub object methods
    javax.xml.rpc.Stub stub = (javax.xml.rpc.Stub) port;
    stub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, "abdullahPC\\abdullah");
    stub._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY, "mypassword");
    //set up a search condition where the item name contains the specified search string
    SearchCondition condition = new SearchCondition();
    condition.setCondition(ConditionEnum.Contains);
    condition.setName("Name");
    if(searchStr != null)
    condition.setValue(searchStr);
    else
    condition.setValue("");
    //create an array of SearchCondition which will contain our single search condition
    SearchCondition[] conditions;
    conditions = new SearchCondition[1];
    conditions[0] = condition;
    //Call the web service with the appropriate parameters
    CatalogItem[] returnedItems;
    System.out.println("before port.findItems");
    returnedItems = port.findItems(folderName, BooleanOperatorEnum.Or, conditions);
    System.out.println("after port.findItems");
    return returnedItems;
    catch(Exception e){
    System.out.println(e.getMessage());
    return null;
    {color}
    Edited by: Abdullah on Feb 8, 2009 3:03 AM

    I also need to do this. Were you successful in getting this to work? Is it possible for you to share how you accomplished this?

  • SQL Server Reporting Services SharePoint Integrated mode - Power View is not supported

    Hi there,
    My environment is the following:
    SharePoint Server 2013
    SQL Server 2012 SP1 Enterprise edition
    I am getting the following message when trying to open BISM item with PowerView icon:
    "The feature: "Power View" is not supported in this edition of Reporting Services."
    My problem is that the first time I installed SQL Server Reporting Services SharePoint integrated, I used the SQL Server 2012 Standard edition ISO. But then I learned that Power View is only available with Enterprise and BI editions. So I uninstalled Reporting
    Services Add-in from Control Panel, Reporting Services from the installation media and deleted the three Reporting DBs in the SharePoint DB server.
    Then I used SQL Server 2012 SP1 Enterprise media to install again Reporting Services but not sure why I am still getting the message:
    "The feature: "Power View" is not supported in this edition of Reporting Services."
    Anyone can advice me what could be the problem? Maybe I have not complete deleted  the previous SQL Server Reporting Service Share Point integrated mode from the previous installation? What would be the proper way to uninstall Reporting Services?
    Any help will be welcome.
    Thanks and best regards,
    Joss

    Hi  Joss,
    I am in the same situation, 
    SQL Server was installed in the standard mode because of that the powerview option is not working. 
    I have changed teh edition using maintenance --> upgrade edition. the sql server components like DB engine, SSAS and integration services are now showing in enterprise edition. The reporting services are installed from the application end still showing
    as the reporting services are standard.
    we reinstalled the reporting services but still persists the issue.
    suggest me is there any work around to fix the issue other than reinstalled the whole SQL Server.
    Thanks
    Ramu

  • SQL Server Reporting Services Integration

    If anyone has been considering looking at SQL Services Reporting Service, a business intelligence tool from Microsoft, you will be glad to know that I have just submitted a project to code share that provides integration between SSRS and the Plumtree portal.
    In brief, the integration code implemements the iAuthenticationExtension and iAuthorizationExtension interfaces, allowing SSRS to authenticate plumtree users and authorize them based on plumtree groups.
    It might be a few days before it is available on code share, as it has to be manually reviewed.
    Caveat: it works in Firefox/Safari, but not quite so nice as it does in IE.  This is a Microsoft BI tool, after all. :)

    Hi, Tim.
    The description and questions were brought up in an email conversation
    with a developer:
    There seems to be a disconnect between the Plumtree environment and Microsoft's SQL Server Reporting Services.
    The present configuration: .Net version of Plumtree 5.0.4 suite of servers Windows 2000 Server SP4 (fully patched) SQL Server 2000 with latest patches SQL Server Reporting Services 2000 with latest patches
    The app in question gathers SSRS reporting criteria via .NET web pages.
    The disconnect occurs at the call to SSRS.
    Without the gateway - the call to SSRS completes and a web page containing the report is displayed.
    With the gateway - the call to SSRS does not complete and no report is displayed.
    I understand this is a problem that has been reported on the DevCenter.Plumtree.Com site by Tim Larson of Mission to the World
    URL =http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_0_9690_0_0_47/http;/prodgadget14.plumtree.com/publishedcontent/publish/sc___code_share/code_source/articles/sql_server_reporting_services_integration_.html?qid=84973886&rank=2
    Can the call to SSRS be accomplished if gatewaying is turned on for this app? - Is there a workaround? - not gatewaying the app is not an option

  • SQL Server Reporting services. failed to establish connection with project server. verify the url is correct.

    Dear All,
    I'm working on reporting of Project Server 2010, while configuring SQL SERVER REPORTING SERVICES faced issue after two complete days of troubleshooting along with this gone through plenty of forums, unable to figure out any solution. So finally posting on
    technet in order to find solution.
    ISSUE/PROBLEM:
    At initial configured the SQL REPORTING CONFIGURATION to sharepoint integrated database (SQL SERVER is installed on seperate machine), change the service to Domain Account and also installed sharepoint add in on server story was fine at this point. Furthur
    moving to SHAREPOINT ADMIN console and while configuring the Sharepoint Integrated Reporting continuously facing this error:
    Failed to establish connection with report server. . . . (Snapshot is attached for your further reference).
    My point of concern is that whenerver i try to open the REPORT SERVER URL on project server machine it prompts me to enter username and password but whenever i insert the domain credentails it didnt accept though it can be accesible by using the credentials
    of Local Admin of sql server machine. So i wana come to know whether its permission issue if yes then where i should mention the domain credentials.? 
    REGARDS DANISH DANIE

    Dear Paul,
    I am able to open the URL (http://psdb/ReportServer )using
    domian credential and page open with these contents
    Reporting Services Error
    The configuration parameter SharePointIntegrated is set to True but Share Point Object Model cannot be loaded
    Second,
    Configured the SPN on domain controller , performed the steps required to change the AUTHENTICATION in rsreportserver.config
    file also done the registry settings to disable the loop back settings.
    Same error still ! .... what should i do now ??? 
    REGARDS DANISH DANIE

  • Integrating Reports from SQL Server Reporting Services

    Dear Experts,
    I am given the URL to a report from SQL Server Reporting Services. The URL looks like
    [http://<report_server_host>/ReportServer/Pages/ReportViewer.aspx?/<category>/<report>&<list_of_parameter_value_pairs>]
    When this URL is executed, the user will be prompted for user name and password.
    And I am given the following requirements:
    - Integrate the report into SAP NetWeaver Portal
    - The report has to be passed parameters with values generated at runtime and which must be hidden (because it is sensitive data)
    Initially, I have been working on two options:
    1. using Application Integrator (portal application: com.sap.portal.appintegrator.sap, portal component: Generic)
    2. using URL iView
    With the Application Integrator, however, I got the following error:
    The operation you are attempting on item "/" is not allowed for this item type. (rsWrongItemType)
    I cannot find the solution to this. It looks like the URL which contain "/" after "?" is not appropriate for the Application Integrator.
    So I turn my focus away from the Application Integrator, but to using the URL iView instead. And in order to hide the parameters passed, I make the following settings in the URL iView:
    Request Method = POST
    Fetch Mode = Server-Side
    But then I got the following error:
    Failed to fetch the content. The response status was 401.
    Message:
    (I have defined an HTTP system and used it in the URL iView.)
    Does anyone know how to fix the errors (either with the Application Integrator or the URL iView)?
    Your answers will be much appreciated!
    Regards
    Sakprasat Sum

    Hi
    Was a solution for this found?
    I am trying to achieve the same thing, create an iView that links to an existing SQL Reporting Services report.
    Cheers,
    Andrew

  • Migration Report from SQL 2008 R2 SharePoint Integration to SQL 2012 SharePoint Integration - Url Parameters (ReportViewer)

    Dear All,
    I have issues in Url Parameters in SharePoint Integrated Mode (Reporting in SQL Server 2012).
    Test Server - Working fine
    with URL Parameter
    1. SharePoint 2010 + SQL Server 2008 R2 Reporting - SharePoint Integration Mode
    2. I have 1 PageView Web Part to call a Reports. Eg:-
    http://myserver_Test/ReportServer/Pages/ReportViewer.aspx?http://myserver_Test/SSRS%20Reports/Report_1.rdl
    Production Server - Failed
    with URL Parameter
    1. SharePoint 2010 + SQL Server 2012 Reporting - SharePoint Integration Mode
    2. Same a Test Server, I have a PageView Web Part to call a Reports but failed with page not found. Eg:-
    http://myserver_Production/ReportServer/Pages/ReportViewer.aspx?http://myserver_Production/SSRS%20Reports/Report_1.rdl
    I have check the Reporting folder (C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\WebServices\Reporting) and can't found any web page as
    ReportViewer.aspx.
    Thanks

    Dear All,
    Did anyone know, how can I Use the HTML Viewer in SharePoint Integrated Mode for SQL Server 2012 Reporting.
    I'm able to user the HTML Viewer in SharePoint Integrated Mode with the Reporting is SQL Server 2008 R2.
    http://techpunch.wordpress.com/2008/09/17/sql-server-reporting-services-url-parameters-in-sharepoint-integrated-mode/
    I know there is possible to call a report with RSViewerPage, but my users are
    not happen with the UI of default SharePoint reports display (RSViewerPage).
    http://msdn.microsoft.com/en-us/library/a58b4ca6-129d-45e9-95c7-e9169fe5bba4(v=sql.110)
    Appreaciate you help.
    Thanks

  • SQL Server Reporting Service 2008 R2 - The request failed with HTTP status 401: Unauthorized.

    I got the error "The request failed with HTTP status 401: Unauthorized." when I call the Reporting Service Web Service.
    The code is very simple:
    // Initialise the reporting service Web Service
    this.RSWebService = new ReportingService2010();
    // Pass windos authentication credentials to Web Service
    this.RSWebService.Credentials = System.Net.CredentialCache.DefaultCredentials;
    // List children
    List<CatalogItem> reports = this.RSWebService.ListChildren(folder, false).ToList();
    The SQL Server is installed on a different machine (say server A) from the Web server (say server B). We are using Windows Server 2003.
    The code work fine for all the scenario below:
    i) Run locally (XP) to call the web service on the sql server
    ii) Provide the Network Credentials with the username, password, and domain when calling the web service
    iii) If the web server and sql server is using same server (i.e. not distributed)
    I'm using windows authentication and impersonation. Any idea?

    Hi Raymond,
    If I understand correctly, the issue only happens in the environment that the web server is different with the SQL Server Reporting Services server. This means the web server is a remote server of the Report Server. Windows Integrated authentication is used
    in this case. When running the web page, the 401 error occurs.
    If so, it is actually a double hop issue. The double-hop problem will usually only be an issue to those of you who write some sort of web-based code (a web application or web service) that uses impersonation.
    To fix the issue, we can configure kerberos authentication for the web application and the SQL Server Reporting Services.
    Below is a great article that has delivered many solutions to fix the issue you met:
    http://odetocode.com/articles/216.aspx
    Additionally, you can read the following article to know more about double-hop:
    http://blogs.technet.com/b/askds/archive/2008/06/13/understanding-kerberos-double-hop.aspx
    http://blogs.msdn.com/b/knowledgecast/archive/2007/01/31/the-double-hop-problem.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT
    Thanks Jin. I believe this is the cause of the problem as well.
    I tried to register the SPN but unfortunately it still doesn't work. I'm not sure whether I'm using the correct SPN name.
    I have 3 reporting server instance on the SQL box. So the Web Service URL is like
    http://Server:80/VirtualDirectoryDev,
    http://Server:80/VirtualDirectoryTest  and
    http://Server:80/VirtualDirectoryStaging .
    What's the SPN I need to register?
    I tried
    Setspn -a http/Server:80/VirtualDirectoryDev domain\account
    and
    Setspn -a http/aerver:80 domain\account.
    But both of them are not working :(

  • Setting fields defined in SQL updateable report with a process

    I have SQL statement defined in a SQL updateable report with hidden fields. I want to be able to update these hidden fields with values from other displayed fields on the page. How do I reference these hidden items - I have referencign them as :my_field but get and error telling me thats its underfined.

    But, the reason I am doing this is because I want to format the page with 6 columns in one <TD> cell with some extra text and formatting etc - I don't want 1 column per <TD>. Thats why I am using the APEX_ITEM.TEXT so I can format the 1 <TD> the way I want it (with 6 columns it there).
    In the short term can you tell me how to reference hidden fields please.
    I will create the case in apex.oracle.com in the next few days to make it clearer.
    P.S. see my previous post: SQL QUERY updateable report with APEX_ITEM fields to update hidden columns

  • Issue With Report Builder After Installing SP3 for SQL 2008 R2

    Hello.  We are experiencing an issue with Report Builder 3.0 since installing SP3 for SQL 2008 R2 over the weekend.  You can no longer launch Report Builder from the Reporting Services URL (http://dicomweb/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application
          Server  : Microsoft-HTTPAPI/2.0
          X-AspNet-Version: 2.0.50727
     Application url   :
    http://dicomweb/ReportServer/ReportBuilder/RptBuilder_3/MSReportBuilder.exe.manifest
          Server  : Microsoft-HTTPAPI/2.0
          X-AspNet-Version: 2.0.50727
    IDENTITIES
     Deployment Identity  : ReportBuilder_3_0_0_0.application, Version=10.50.6000.34, Culture=neutral, PublicKeyToken=c3bce3770c238a49, processorArchitecture=x86
     Application Identity  : MSReportBuilder.exe, Version=10.50.6000.34, Culture=neutral, PublicKeyToken=c3bce3770c238a49, processorArchitecture=x86, type=win32
    APPLICATION SUMMARY
     * Online only application.
     * Trust url parameter is set.
    ERROR SUMMARY
     Below is a summary of the errors, details of these errors are listed later in the log.
     * Activation of
    http://dicomweb/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application resulted in exception. Following failure messages were detected:
      + File, Microsoft.ReportingServices.ComponentLibrary.Controls.dll, has a different computed hash than specified in manifest.
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.
    WARNINGS
     There were no warnings during this operation.
    OPERATION PROGRESS STATUS
     * [10/15/2014 9:35:56 AM] : Activation of
    http://dicomweb/ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application has started.
     * [10/15/2014 9:36:29 AM] : Processing of deployment manifest has successfully completed.
     * [10/15/2014 9:36:29 AM] : Installation of the application has started.
     * [10/15/2014 9:36:31 AM] : Processing of application manifest has successfully completed.
     * [10/15/2014 9:36:35 AM] : Found compatible runtime version 2.0.50727.
     * [10/15/2014 9:36:35 AM] : Detecting dependent assembly Sentinel.v3.5Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil using Sentinel.v3.5Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,
    processorArchitecture=msil.
     * [10/15/2014 9:36:35 AM] : Detecting dependent assembly System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil using System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089,
    processorArchitecture=msil.
     * [10/15/2014 9:36:35 AM] : Request of trust and detection of platform is complete.
    ERROR DETAILS
     Following errors were detected during this operation.
     * [10/15/2014 9:36:43 AM] System.Deployment.Application.InvalidDeploymentException (HashValidation)
      - File, Microsoft.ReportingServices.ComponentLibrary.Controls.dll, has a different computed hash than specified in manifest.
      - Source: System.Deployment
      - Stack trace:
       at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)
       at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)
       at System.Deployment.Application.ComponentVerifier.VerifyComponents()
       at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification
    notification, DownloadOptions options)
       at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
       at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
       at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
       at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    COMPONENT STORE TRANSACTION DETAILS
     No transaction information is available.

    Hi DMcGarveyt,
    This is an known issue in SSRS 2008 R2 SP3. For this issue, Microsoft has published an article addressing this issue. It is not planning to release a fix for this defect. But there's workarounds for this issue. Please refer to the link below:
    Report Builder of SQL Server 2008 R2 Service Pack 3 does not launch.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to fix a report textbox aggregate expression error in SQL server reporting with multiple datasets?

    I have a SQL Server Reporting Services report that has a textbox within a Report with variations of the following expression 
    =Sum(IiF(Fields!RegisterID.Value = 6000, 1, 0) 
    and 
    Iif(Fields!PointID.Value = 500, 1, 0)) / Sum(Iif(Fields!PointID.Value = 500, 1, 0)) 
    I see the following error when I try to preview the report: 
    The Value expression for the text box ‘Textbox2’ uses an aggregate expression without a scope. A scope is required for all aggregates used outside of a data region unless the report contains exactly one dataset. 
    What am I missing in this this expression to make it run incorrectly

    Can you include dataset name in your sum functions? e.g. Sum(IiF(Fields!RegisterID.Value = 6000, 1, 0) 
    and 
    Iif(Fields!PointID.Value = 500, 1, 0)) should include your dataset name as Sum(IiF(Fields!RegisterID.Value = 6000, 1, 0) and Iif(Fields!PointID.Value = 500, 1, 0),"datasetname")Like wise  Sum(Iif(Fields!PointID.Value = 500, 1, 0))  should also have dataset name Sum(Iif(Fields!PointID.Value = 500, 1, 0),"datasetname") 
    Gaur

  • Is there a way to create SQL Dev reports with validated binds?

    Is there a way to create SQL Dev reports with validated binds similar to the way user defined extensions can have <prompts> with a <value> that is a SQL statement returning a list of possible values?
    This sure would make select appropriate values for binds in reports easier and less error prone.

    Maybe a forum search on "Windows registry" would turn up some useful things. You're not the first to ask this. You might save yourself and everyone else some time if you'd simply do that.

Maybe you are looking for