SQL as Report Writing tool

Hi,
I am using Oracle 11.2.0.1 on windows xp. After google for report writing tool, i think if i am able to get the output by either SQL or PL/SQL; then i think i need not to learn those new report writing tools; i will continue read Oracle PL/SQL and/or SQL. Here it is my required output :
=======================================================================================================================================================================
S.No.  Customer Name & Address                <-------------------Product Sold Description------------------>            Qty               Rate             Amount
=======================================================================================================================================================================
1      Table1.CustomerName                    1.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate                  
       Table1.Address1                        2.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate                   
       Table1.Address2    <----Wrapable       3.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate                   
       Table1.Address3                        4.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate     Table3.Net_Amt
=======================================================================================================================================================================
2      Table1.CustomerName                    1.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate                  
       Table1.Address1                        2.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate                   
       Table1.Address2    <----Wrapable       3.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate                   
       Table1.Address3                        4.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate                  
                                              5.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate                  
                                              6.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate                   
                                              7.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate                   
                                              8.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rate     Table3.Net_Amt
=======================================================================================================================================================================
3      Table1.CustomerName                    1.  Table2.Prod_Id     Table3.Product_Name     <-------Wrapable        Table3.Qty          Table3.Rat      Table3.Net_Amt
       Table1.Address1               
       Table1.Address2    <----Wrapable
       Table1.Address3                
=======================================================================================================================================================================
Wrapable Means If product name / Address2 are bigger than 30 characters, then they should be wrapped to next line.If you says me to provide create table and couple of insert statements, i will provide, i am just mentioning the tablename.column name for what i wish to get from SQL, rather than learning the report writing tool and this will at the later stage will definitely a best option in view of 3rd party report writing tool.
Kindly help me, how do i get above output (if you need create table and/or insert statements) please.
Thanks.

Hi,
user12050217 wrote:
create table table2
lineno number(4),
item_no varchar2(2),
eno varchar2(4),
product_id varchar2(7),
cust_id varchar2(5),
rate number(6,2),
qty number(5),
amount number(10,2),
remarks varchar2(10),
bill_amt number(10,2),
bill_date date,
bill_no varchar2(10));
insert into table2 values(1,'1',2145,'2145219','Z0105',17.43,143,2492.49,'no remark',2492.49,sysdate,'RF-K-00412');
insert into table2 values(2,'2',2145,'2145400','Z0105',8,50,400,'',400,sysdate-1,'RF-K-00378');There's no need to post all the columns in table2; just post the ones that play some role in this problem.
using SYSDATE in the sample data is asking for trouble. If people from different time zones are trying to help you, or if it takes more than one day to get the problem solved, then it's hard to compare results. In case bill_date matters in this problem, let's use this sample data for table2:
insert into table2 values(1,'1',2145,'2145219','Z0105',17.43,143,2492.49,'no remark',2492.49,DATE '2011-12-03' ,'RF-K-00412');
insert into table2 values(2,'2',2145,'2145400','Z0105',8,50,400,'',400,DATE '2011-12-03' -1,'RF-K-00378');
insert into table2 values(3,'1',2146,'2145100','K3125',10,50,500,'',500,DATE '2011-12-03' -2,'RF-K-00215');
insert into table2 values(4,'2',2146,'2145112','K3125',6.42,478,3068.76,'',3068.76,DATE '2011-12-03' -2,'RF-K-00215');
insert into table2 values(5,'3',2146,'2145115','K3125',6.42,478,3068.76,'',3068.76,DATE '2011-12-03' -2,'RF-K-00215');
insert into table2 values(6,'4',2146,'2145612','K3125',1340,10,13400,'',13400,DATE '2011-12-03' -2,'RF-K-00215');
insert into table2 values(7,'5',2146,'2145725','K3125',100,1,100,'',100,DATE '2011-12-03' -2,'RF-K-00215');I just replaced SYSDATE with DATE '2011-12-03'.
And here it is required Output :
====================================================================...
S.No.  Customer Name & Address                <-------------------Product Sold Description------------------>            Qty ...
======================================================================...
2145   Shri My Cust Name2                     1 2145219 Product Name                                                     143   ...
This is address2                       2 2145400 This may be a long product                                         8   ...
Address2                                         name which may wrap in
Address3                                         report
=======================================================================...
2146   My My Cust Name1                       1 2145100 Another long name in product, so please                           10   ...
This is address1                                 take care
This is long line of address which     2 2145112 Short Name                                                       478       ...
should be wrap                         3 2145115 Sulphar Mixer                                                    478           ...
4 2145612 One costly product name, may name not fit                         10     ...
in the report
5 2145725 Silver Coating                                                     1              100.00            1502.84
=======================================================================================================================================================================The above data is just for example and i have created required output manually, so there may be some typo.How would you feel if someone posted a solution full of bugs and said "this solution is just for example ... so there may be some typo."?
Why is the product description shorter for s.no.=2145? In s.no., there's room for this much of the descripotion on one line
One costly product name, may name not fit In s.no=2145, why can't you have:
This may be a long product name which may Why do you have to start a new line after "product"? Is this one of the typos you mentioned?
... I think to get the output, i will need function which will take address or product name as an input paramter and will return 2 or 3 lines in the select statement, but what should be code of that function, how do i call in select statement, etc. i wish to learn all these things.I agree. A function to split the text into lines of the right length would be very handy. Here's a pipelined function to do that:
CREATE OR REPLACE PACKAGE     word_wrap
AS
TYPE     ww_row     IS RECORD ( r_num     NUMBER
                    , r_txt     VARCHAR2 (4000)
TYPE     ww_tbl  IS TABLE OF ww_row;
FUNCTION     wrap
(     in_txt  IN      VARCHAR2     -- Text to be wrapped
,     in_len     IN     PLS_INTEGER     -- Maximum line length
RETURN  ww_tbl
PIPELINED;
END     word_wrap;
SHOW ERRORS
CREATE OR REPLACE PACKAGE BODY     word_wrap
AS
--          **   w r a p   **
--          wrap splits in_txt into several row2 consisting of r_num (1, 2, 3, ...),
--          and r_txt, up to in_len characters from in_txt.  if possible, the last
--          character in r_txt will be a "nonword" character, such as whitespace or
--          punctuation.  If words are longer than in_len, however, it may have
--          to break a word in the middle.
--          Example:
--              wrap ('I am the monarch or the sea', 10)
--          returns these 3 rows:
--              1     I am the
--              2     monarch
--              3     of the sea
--          On rows 1 and 2, r_txt ends with a space.
--          If we change the last argument to 6:
--              wrap ('I am the monarch or the sea', 6)
--          it returns these 6 rows:
--              1     I am
--              2     the
--              3       monarc
--              4       h of
--              5     the
--              6       sea
FUNCTION     wrap
(     in_txt  IN      VARCHAR2     -- Text to be wrapped
,     in_len     IN     PLS_INTEGER     -- Maximum line length
RETURN  ww_tbl
PIPELINED
IS
    break_pos          PLS_INTEGER;               -- Position of next break character in remaining_txt
    line_len          PLS_INTEGER     := GREATEST ( NVL ( in_len
                                                  , 1
                                  , 1
                                  );     -- Actual max line length (in case a bad in_len was passed)
    remaining_txt     VARCHAR2 (4000) := in_txt;     -- Part of in_txt that hasn't been output yet
    return_row          ww_row;                        -- Row to be returned
    r_num          PLS_INTEGER     := 1;          -- Number of next row
BEGIN
    WHILE  remaining_txt     IS NOT NULL
    AND        r_num          >= 1
    AND        r_num          < 10
    LOOP
        return_row.r_num := r_num;
        IF  remaining_txt          IS NULL
     OR  LENGTH (remaining_txt)     <= line_len
     THEN     -- Everything fits on this row
         return_row.r_txt := remaining_txt;
         remaining_txt := NULL;
     ELSE     -- Not everything fits, so we need to split
         break_pos := REGEXP_INSTR ( SUBSTR (remaining_txt, 1, line_len)
                                     , '\W\w*$'     -- non-word, follewd by any number of word characters, then end
         IF  break_pos = 0
         THEN    --  No good place to break before line_len
             break_pos := line_len;
         END IF;
         return_row.r_txt := SUBSTR (remaining_txt, 1, break_pos);
         remaining_txt := SUBSTR (remaining_txt, 1 + break_pos);
     END IF;
        PIPE ROW (return_row);
     r_num := r_num + 1;
    END LOOP;
    RETURN;
END     wrap;
END     word_wrap;
SHOW ERRORSYou can use the fucntion with your sample data like this:
SELECT       t3.product_id
,       ww.r_txt
,       ww.r_num
FROM          table3     t3
CROSS JOIN   TABLE ( word_wrap.wrap ( t3.description
                                        , 42
             )     ww
ORDER BY  t3.product_id
,            ww.r_num
;Output:
PRODUCT R_TXT                                         R_NUM
2145100 Another long name in product, so please           1
2145100 take care                                         2
2145112 Short Name                                        1
2145115 Sulphar Mixer                                     1
2145219 Product Name                                      1
2145400 This may be a long product name which may         1
2145400 wrap in report                                    2
2145612 One costly product name, may name not fit         1
2145612 in the report                                     2
2145725 Silver Coating                                    1For the report you want, I suggest you start with the products. Modify the query above so that it produces something like this:
D_NUM ENO  PRODUCT R_TXT
    1 2145 2145219 Product Name
    2 2145 2145400 This may be a long product name which may
    3 2145         wrap in report
    1 2146 2145100 Another long name in product, so please
    2 2146         take care
    3 2146 2145112 Short Name
    4 2146 2145115 Sulphar Mixer
    5 2146 2145612 One costly product name, may name not fit
    6 2146         in the report
    7 2146 2145725 Silver CoatingNotice the d_num column at the beginning. It starts with 1 for each eno, and numbers each line in order. You can use the analytic ROW_NUMBER fucntion to produce this column. You won't need to display d_num in the final output, but you will need it for the next step in the solution, which is:
Do something similar for the addresses. Since you have Oracle 11, you can use the SELECT ... UNPIVOT feature to get all the address lines into one column, then use the wrap function to break down the long lines, and number them. Again, use ROW_NUMBER to produce d_num. (You might consider permanently storing the addresses in the unpivoted form, with just one address line per row. Since this will create a one-to-many relationship between customers and addresses, you'll need a separte table for the addresses.)
Finally, do a full outer join to combine the result sets of the two steps above, using the customer id and d_num to match rows. This is an example of a Prix Fixe Query . The page I refereneced earlier has a more detailed description and example.
Edited by: Frank Kulash on Dec 5, 2011 7:04 AM
Added pacakge spec.

Similar Messages

  • Report writing tool?

    Is there any report writing tools for JAVA?

    I've downloaded an evaluation version of JReport.
    But i found problem while i'm trying to run the demo.
    I can't create new Designer.
    I can set the path, but i can't set the catalog (always return null).
    I can't see what the problem is.
    Does anyone here familiar with this problem?
    Thanks in advance,
    Selly

  • Printing/report writing

    Could anyone recommend any good printing/report writing tools that can be
    integrated with Forte? I have found these capabilities to be less than
    satisfactory from within Forte itself.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi Matt,
    We have a enterprise strength report writing product (Report Workshop
    for Forte) built in Forte having native support for Integrating with
    Forte Applications. You can visit our website
    http://www.indcon.com/products for further information. This product is
    now available for evaluation and sale.
    Report Workshop For Forte:
    Report Workshop for Fort&eacute;TM is an enterprise strength, distributed,
    report development and management environment. Report Workshop is a user
    friendly, adaptable, scaleable and versatile environment to develop and
    distribute reports. It has the capability to scale with increasing load
    and makes optimal use of resources owing to its server-centric,
    multi-tiered architecture. It supports multiple report formats, multiple
    RDBMS and even non-relational data.
    Fort&eacute; is ingrained in Report Workshop, providing seamless integration
    with Fort&eacute; applications. Report Workshop also leverages Fort&eacute;'s
    capability of providing a scaleable architecture for distributed
    business applications.
    Report Workshop Capabilities
    WYSIWYG Report Development Environment
    *Browse distributed database schema in easy graphical way
    *Jump start with default report formats
    *Override report formats to suit specific needs with point and click
    ease
    *Preview reports with actual data
    *Iterate above steps until perfection is reached
    Sever Based Enterprise Strength Reporting
    *N-tiered scaleable application
    *Share the report objects
    *Execute once and share the reports among end users
    *Optimizes database connections
    *Minimal network traffic with capability of shipping one report page at
    a time
    Distribute reports with state-of-the-art distribution channels
    *E-mail
    *Publish HTML on Web
    *Network printing
    *View it with viewer
    *Save in Excel format for further analysis
    Schedule Management
    *Create schedules for periodic execution and distribution
    *Customize schedules to suit your organization's holiday plan
    *View history of schedule runs
    Version Management
    *Retain report results for future use
    *Define purge policy
    *View/Print/E-mail versioned reports
    Native Fort&eacute; Application Program Interface
    *Integrate your Fort&eacute; application with Report Workshop
    Rich Features
    Support for multiple report formats
    *Tabular
    *Grid
    *Group
    *Free
    *Composite
    Support for multiple data sources
    *SQL (Oracle, Sybase, ODBC, DB2, Ingres and Rdb Databases)
    *External Data Source ( Forte Applications)
    .CORBA Objects
    Client and server based printing (on NT servers)
    For additional information about Report Workshop for Fort&eacute;, please feel
    free to contact us. 
    An evaluation copy of Report Workshop is available and can be downloaded
    from the Internet.
    Indus Consultancy Services
    140, E.Ridgewood Ave.
    Paramus, NJ 07661
    www.indcon.com
    Phone: 201-261-3100
    - Pradnesh Dange
    From: Matt Luce[SMTP:[email protected]]
    Reply To: Matt Luce
    Sent: Wednesday, March 03, 1999 3:33 PM
    To: [email protected]
    Subject: printing/report writing
    Could anyone recommend any good printing/report writing tools that can
    be
    integrated with Forte? I have found these capabilities to be less
    than
    satisfactory from within Forte itself.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Report Writing Software

    Hi there,
    I am trying to find a report writing software (other than SSRS) that allows us to write a relatively simple report. The report basically shows a collection of investments in a portfolio. We show company name, total cost, total value, gain/loss, and the return
    multiple. 
    The data is stored on a SQL server so this report writing software would need to be able to pull that data from a SQL database. 
    Can anybody give me a few suggestions of software solutions that could do such a thing?
    Any advice is much appreciated as I do not have very extensive experience in this field.
    Thanks,
    Andreas

    Excel is the most universal tool for writing reports. You can have basic ability using charts with report templates or advanced abilities with pivot tables, Power View, Query and Map. Connecting to any data source is easy with Power Query.
    http://www.ljzsoft.com/samples.htm
    http://www.microsoft.com/en-us/powerbi/default.aspx
    Brad Syputa, Microsoft Power BI This posting is provided "AS IS" with no warranties.

  • Report Conversion Tool - problem with logging in table OBJ_G_MIGRATION

    Hello Community-Members,
    since several days I am searching different BO-Communities for a solution, but I didn't find any threats about my problem.
    I am new to BO XI R3.1 and I want to convert deski-reports with the report conversion tool.
    I tried it directly on the server-machine and all is ok (report is converted inclusive the logging in the audit-table OBJ_G_MIGRATION).
    When I try it on my client-machine, the conversion is made successfully, but there is no result in the audit-table.
    On the client-machine, I use the same connection like on the server machine and on both machines, I am logged on (in the report conversion tool) with the "Administrator"-user.
    Has anyone an idea? Could it be a problem of user-rights in the Oracle-DB?
    kind regards
    Guenny

    Hello Denis,
    thank you for your reply.
    From my client machine I can successfully test the connection to the Audit-DB. With non BO-Tools like "SQL Tools1.4.1" I can also connect to that DB.
    After your reply I have tested once again and I have found something else strange.
    If I convert a deski-report, and the conversion-status is "not converted", the Audit-DB is written (for example: error-text = "document cannot be read" / workaround = "remove protection password if set").
    But when I convert the same report together with an other report, which will result in "partially converted", nothing is written to the Audit-DB (same effect as when I convert only reports with status "partially convertet").
    regards
    Guenny

  • SQL Server Reporting Services Configuration Error(Subscription)

    I have just deployed a new project on the server and i can successfully run report from the BI Site; [Server Name]\Reports and no issue there. But when i try to create Subscription for the same report; I am trying File Share and it throws error as given
    below. Do i have to configure anything for subscription in the Reporting Services Configuration Tool???
    I also have few questions regarding Configuration;
    What account should i use for the Deployed Data Source on the Server? A valid SQL Server Account I assume!!!
    What account should i use for the Execution Account (For Unattended Operations) ? A valid Windows Account? or SQL Server account?
    What account should i use for the File Share Subscription (Credentials used to access the file share:)? A Valid Windows Account with permission for that folder?
    Here is the error I am getting in the log file.. 
    ReportingServicesService!library!b!06/17/2010-09:35:04:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for
    more information., AuthzInitializeContextFromSid: Win32 error: 110;
     Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.
    ReportingServicesService!library!b!06/17/2010-09:35:04:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
    ReportingServicesService!subscription!b!06/17/2010-09:35:04:: Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The report server has encountered a configuration error. See the report server log files for more information. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
    The report server has encountered a configuration error. See the report server log files for more information.
       at Microsoft.ReportingServices.Authorization.Native.GetAuthzContextForUser(IntPtr userSid)
       at Microsoft.ReportingServices.Authorization.Native.IsAdmin(String userName)
       at Microsoft.ReportingServices.Authorization.WindowsAuthorization.IsAdmin(String userName, IntPtr userToken)
       at Microsoft.ReportingServices.Authorization.WindowsAuthorization.CheckAccess(String userName, IntPtr userToken, Byte[] secDesc, ReportOperation requiredOperation)
       at Microsoft.ReportingServices.Library.Security.CheckAccess(ItemType catItemType, Byte[] secDesc, ReportOperation rptOper)
       at Microsoft.ReportingServices.Library.RSService._GetReportParameterDefinitionFromCatalog(CatalogItemContext reportContext, String historyID, Boolean forRendering, Guid& reportID, Int32& executionOption, String& savedParametersXml,
    ReportSnapshot& compiledDefinition, ReportSnapshot& snapshotData, Guid& linkID, DateTime& historyOrSnapshotDate, Byte[]& secDesc)
       at Microsoft.ReportingServices.Library.RSService._GetReportParameters(ClientRequest session, String report, String historyID, Boolean forRendering, NameValueCollection values, DatasourceCredentialsCollection credentials)
       at Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)
       at Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
       at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()
       at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
       at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService rs, CatalogItemContext reportContext, ClientRequest session, JobType type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]&
    secondaryStreamNames)
       at Microsoft.ReportingServices.Library.ReportImpl.Render(String renderFormat, String deviceInfo)
       at Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.SaveReport(Notification notification, SubscriptionData data)
       at Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.Deliver(Notification notification)
    I also get following error when I try to create email Subscriptoin
    w3wp!processing!6!6/17/2010-09:58:53:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'EU_Database'., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'EU_Database'. ---> System.Data.SqlClient.SqlException: Could not obtain information about Windows NT group/user 'THRY\RPUser',
    error code 0x6e.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapper.ImpersonateUser()
       at Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapper.Open()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ReportRuntimeDataSourceNode.OpenConnection(DataSource dataSourceObj, ReportProcessingContext pc)
       --- End of inner exception stack trace ---
    Thanks,
    RP

    Hi RP,
    For your first issue "cannpt create subscriptions", after analyzing the error logs, it seems to be caused to the service account for the Reporting Services service does not have proper permissions to invoke the WIN32 API.
    The SQL Server Reporting Services invokes the Win32 API to impersonate user's permissions to write files to shared folder or call COM+ components.
    In this case, we can change the service account to a account has permissions to invoke the Win32 API to solve the issue. For example, we can change the account to be NetworkService or LocalSystem:
     1. Backup the encryption key using Reporting Serivces Configuration Manager.
     2. Change the service account using Reporting Serivces Configuration Manager.
     3. Restore the encryptiong key using Reporting Serivces Configuration Manager.
    For your others questions, please see the following inline reply:
     --What account should i use for the Deployed Data Source on the Server? A valid SQL Server Account I assume!!!
     The account should be a Windows account or the SQL Server account, that has read permissions in the source data base at least.
     --What account should i use for the Execution Account (For Unattended Operations) ? A valid Windows Account? or SQL Server account?
     The account must be a Windows user account. For best results, choose an account that has read permissions and network logon permissions to support connections to other computers. It must have read permissions on any external image or data file that you
    want to use in a report. Do not specify a local account unless all report data sources and external images are stored on the report server computer. Use the account only for unattended report processing.
     --What account should i use for the File Share Subscription (Credentials used to access the file share:)? A Valid Windows Account with permission for that folder?
     You are right. It must be a Windows account, which has permissions to access and write files to the shared folder.
    For more information, please see:
    Configuring the Report Server Service Account:
    http://msdn.microsoft.com/en-us/library/ms160340.aspx
    Execution Account (Reporting Services Configuration):
    http://msdn.microsoft.com/en-us/library/ms181156.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • SQL Server Reporting Services FAQ

    Hi All,
    This thread is a summary of the Frequently Asked Questions on SQL Server Reporting Services. We consolidate them and post here for your reference. If you have any further questions, please kindly start a new thread so that more community members, MVPs, and MSFTs can join the discussion and share their ideas. Thanks for your understanding.
    Part I: SQL Server Reporting Services General Topics
    1. How to migrate SQL Server 2008 Reporting Services to another computer?
    2. How to combine connecting string via parameter?
    3. How to install a 32-bit version of SQL Server 2005 Reporting Services on a computer that is running a 64-bit version of Windows?
    4. Error of EXECUTE permission denied on object 'xp_sqlagent_notify'.
    5. Security consideration for anonymous access to Report Server.
    6. How to create a custom report template in Reporting Services?
    7. Does Reporting Services support horizontal tables which have fixed rows and dynamic columns?
    8. How to reset the page number back to 1 every time the report gets a group break?
    9. How to open the drill- through report in a new browser window?
    10. How to verify the version of SQL Server?
    11. How to use multiple datasets?
    12. How to upgrade report from SQL Server 2000 to SQL Server 2005?
    13. Out of memory error when exporting reports to Excel.
    14. How to improve PDF quality of the report exported in Reporting Services 2005?
    15. How to enable the Select All option for a multi-value parameter?
    Part II: SQL Server Reporting Services SharePoint Integrated Mode Topics
    1. How to deploy reports to SQL Server Reporting Services in SharePoint Services integrated mode?
    2. How to integrate SQL Server Reporting Services and SharePoint Services?
    3. How to refer the reports on the Report Server in SharePoint Services?
    4. How to manage user to view reports in SharePoint integrated mode?
    5. What information is needed when posting questions regarding SharePoint integrated mode?
    6. Is Report Builder available in SharePoint Integrated Mode?
    PLEASE NOTE: Microsoft does not offer formal support for the communities you'll find here. Instead, our role is to provide a platform for people who want to take advantage of the global community of Microsoft customers and product experts. Microsoft may monitor content to ensure the accuracy of the information you'll find, but any information provided by Microsoft staff is offered "AS IS" with no warranties, and no rights are conferred. You assume all risk for your use.
    Microsoft Online Community Support

    1.        Question 3: How to install a 32-bit version of SQL Server 2005 Reporting Services on a computer that is running a 64-bit version of Windows?
    Answer: 
    To install the 32-bit version of Reporting Services on a computer that is running the 64-bit version of IIS 6.0, we can follow these following steps:
    1.       Uninstall the 64-bit version of Reporting Services.
    Note: Side-by-side installations of 32-bit versions of Reporting Services and 64-bit versions of Reporting Services are not supported.
    2.       Run the Dotnetfx64.exe file to manually install the .NET Framework.
    The Dotnetfx64.exe file is in the Tools\redist\2.0 folder on the SQL Server 2005 Setup media. To download the Dotnetfx64.exe file, visit the following Microsoft Web site:
    http://go.microsoft.com/fwlink/?LinkId=70186
    3.       In IIS Manager, click Web Server Extensions.
    4.       In the Details pane, right-click ASP.NET V2.0.50727, and then click Allow.
    5.       Right-click Web Sites, and then click Properties.
    6.       Click the ISAPI Filters tab.
    7.       In the Filter Name column, click ASP.NET_2.0.50727, and then click Edit.
    8.       Replace C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll with C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll.
    Note: The Aspnet_filter.dll file in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ folder is a 32-bit version of the file.
    9.       Click OK two times, and then close IIS Manager.
    10.   At a command prompt, run the following command:
    cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
    11.   Install the 32-bit version of Reporting Services.
    12.   After setup is complete, open IIS Manager, and then click Web Server Extensions.
    13.   In the Details pane, right-click ASP.NET V2.0.50727 (32-bit), and then click Allow.
    To install the 32-bit version of Reporting Services on a computer that is running the 64-bit version of IIS 7.0, follow these steps:
    1.       Enable ASP.NET and IIS before you install Reporting Services.
    2.       Open a command prompt. To do this, click Start, point to All Programs, point to Accessories, right-click Command Prompt, and then click Run as administrator.
    3.       In the User Account Control dialog box, click Continue.
    4.       Copy the following script:
    cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
    5.       In the upper-left corner of the Command Prompt window, right-click the command prompt icon, click Edit, and then click Paste.
    6.       Press ENTER to run the script.
    7.       Install the 32-bit version of Reporting Services. You must apply SQL Server 2005 Service Pack 2 (SP2) after you install Reporting Services in Windows Vista. If you install SQL Server 2005 Express Edition with Advanced Services, you can run SQL Server 2005 Express Edition with Advanced Services SP2.
    For more information, visit the following Microsoft Web site:
    Microsoft SQL Server 2005 Express Edition with Advanced Services Service Pack 2
    http://go.microsoft.com/fwlink/?LinkID=63922
    8.       Reset IIS.
    9.       Configure the report server for local administration. To access the report server and Report Manager locally, follow these steps:
    a.       Start Microsoft Internet Explorer.
    b.      On the Tools menu, click Internet Options.
    c.       Click Security.
    d.      Click Trusted Sites.
    e.      Click Sites.
    f.        Under Add this website to the zone, type http://servername.
    g.       If you are not using HTTPS for the default site, click to clear the Require server certification (https:) for all sites in this zone check box.
    h.      Click Add.
    i.         Repeat steps f and g to add http://localhost, and then click Close.
    10.   This step lets you start Internet Explorer either to localhost or to the network computer name of the server for both Report Server and Report Manager.
    a.       Create role assignments that explicitly grant you full-permissions access. To do this, follow these steps:  
    b.      Start Internet Explorer by using the Run as administrator option. To do this, click Start, click All Programs, right-click Internet Explorer, and then click Run as administrator.
    c.       Start Report Manager.
    d.      Note By default, the Report Manager URL is http://servername/reports. If you are using SQL Server 2005 Express Edition with Advanced Services SP2, the Report Manager URL is http://servername/reports$sqlexpress. If you are using a named instance of Reporting Services, the Report Manager URL is http://servername/reports$InstanceName
    e.      On the Home page, click Properties.
    f.        Click New Role Assignment.
    g.       Type a Windows user account in the following format: domain\user
    h.      Click to select the Content Manager check box.
    i.         Click OK.
    j.        In the upper-right corner of the Home page, click Site Settings.
    k.       Click Configure site-wide security.
    l.         Click New Role Assignment.
    m.    Type a Windows user account in the following format: domain\user
    n.      Click to select the System Administrator check box.
    o.      Click OK.
    p.      Close Report Manager.
    11.   Open Report Manager in Internet Explorer without using the Run as administrator option.
    Microsoft Online Community Support

  • Report Builder 1.0 for SQL Server Reporting Services 2008 R2

    We are trying to implement Ad-Hoc Reporting using SSRS 2008 R2.
    First of all, it is very unhelpful that all SSRS books are for either 2008 or 2012, even though SSRS has major changes in 2008 R2 compared to 2008.
    Our instructional materials indicate that we should build Report Models to abstract out our databases into terms familiar to our business users.
    The problem we are having is the difference in functionality between Report Builder 1.0 and Report Builder 3.0. Report Builder 3.0 is touted as having the modern, ribbon based interface that is supposed to make end-users feel more comfortable.  However,
    all the documentation says that end users are supposed to use Report Builder 1.0 for Ad-Hoc Reporting.  And, it seems, that the reports generated by Report Builder 1.0 are not round-trip compatible with all the other reporting tools for SSRS 2008 R2.
    The documentation we have illustrates that Report Builder 1.0 is nice for Ad-Hoc reporting, because is based on connecting directly to Report Models, and the end users can directly drag-and-drop entities and fields into their reports.
    When we try working with Report Builder 3.0, it seems we must first connect to the Report Model as a Data Source and then build a Dataset query on the Report Model.  Only then are some entity attributes available to be dropped into the report. 
    If the user decides another source column is needed, they have to go back, edit the query, save the query, and then drag the column from the Dataset to the report.  This does not seem end user friendly at all!
    We are also concerned that if we train our users on the seemingly soon-to-be-obsolete Report Builder 1.0, and get them used to having direct Report Model access, that at some point we will have to move them to the Dataset-interrupted approach of Report Builder
    2+.  Highlighting this perception of impending obsolescence of Report Builder 1.0 is that in our shop that is starting with SSRS 2008 R2, we cannot figure out how to get a copy of Report Builder 1.0 in the first place.
    We just don't see our end users being savvy enough to handle the steps involved with creating Datasets on top of Report Model Data Sources.  So we would have to build the Datasets for them.  But in that case, what point is there in creating any
    Report Models in the first place if DBAs are the ones to make Datasets?
    As such, it is hard to envision a forward-looking SSRS implementation that has the end user ease-of-use Ad-Hoc reporting that the SSRS 2008 documentation presents.
    What is it that Microsoft actually wants/expects SSRS implementers to do?
    Dan Jameson
    Manager SQL Server DBA
    CureSearch for Children's Cancer
    http://www.CureSearch.org

    Hi Dan,
    Report Builder 1.0
    Simple template-based reports
    Requires report model
    Supports only SQL Server, Oracle, and Analysis Services as data sources
    Supports RDL 2005
    Bundled in SSRS
    Report Builder 2.0 or later
    Full-featured reports as the BIDS Report Designer
    Doesn't require (but supports) report models
    Supports any data source
    Supports RDL 2008
    Available as a separate web download
    In your scenario, you want to use Report Builder 1.0 in SQL Server Reporting Services 2008 R2, I am afraid this cannot achieve. Report Builder 1.0 is available in the box in either SQL 2005 or SQL 2008. It is not available as a separate client apps and is
    only available as a click once application.
    Report Builder 1.0
    Report Builder 3.0
    Thank you for your understanding.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Excel MSGraph Axis Value w/ Report Gentration Tool kit help needed

    Hello,
    I am working on making all my Printed Data sheets dynamic so I don't need to have an Excel Template for each test I create. I have been able to make my own modifications to some of the Report Generation tool kit VIs to add little things I need or want changed, but I am stuck.
    I currently have LabVIEW writing Charts in Excel, using the Insert Graph VIs from the tool kit but I want to be able to make the X Axis Values invisible but leave the Y values for this particular data sheet.  I have looked through all my documentation but cannot find anything referring to setting that.
    What is the correct ActiveX Method and/or Property that I need to incorporate to do this? I found that in Excel if I click on the Chart it is in the Chart Options Menu but I cannot find a way to control it through LabVIEW.
    I am currently using 7.1.1 with Office 98 and the Report Generation Toolkit 1.1.0
    Any ideas?
    Thanks
    Jeff
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Hello,
    LabVIEW should have access to everything that the excel ActiveX object publishes.  One way to discover how to do it would be to record a macro in excel, where your recorded actions are on the x-axis as you desire.  This way you will have a macro which you can run that will do this for you.  Perhpas more importantly, you will then be able to look at the code for that macro you recorded, and make the equivalent calls in LabVIEW, which should basically expose which ActiveX calls on that object achieve the axis modification.  In any event, to help you with this process, below are some useful links.  Also, you will find other threads on this matter if you search the discussion forums.
    Excel and LabVIEW Integration Tutorial:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/4d86c9752c658da78625689300730c10
    Here are links to examples of using macros in Excel from LabVIEW:
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DD2F56A4E034080020E74861&p_...
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D9D856A4E034080020E74861&p_...
    I hope this helps!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • SQL Azure Reporting - There was an exception running the extensions specified in the config file. --- Maximum request length exceeded.

    I am trying to deploy an RDL file (5MB) to SQL Azure Reporting server in South Central US using the deploy function in SQL Server Data Tools but facing the following error during deployment to Azure Reporting server.
    "There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded."
    Is there any limit on the size of RDL files which can be deployed to Azure Reporting server? I have seen some online posts which talk about increasing the maxRequestLength in httpruntime of web.config in Reporting server. But in case of Azure Reporting server
    how can be make modification to this configuration?
    I have tried to upload it directly to SQL Azure Reporting server from the Management Portal --> Upload Report function which still resulted in error.
    Thanks & Regards, Deep

    Thanks for your question. Unfortunately we are in the process of deprecating SQL Reporting services.  Full details are available at http://msdn.microsoft.com/en-us/library/gg430130.aspx
    Thanks Guy

  • SQL Server reporting server 2005 having error. 'The report server is not responding. Verify that report server is running and can be accessed from this computer'

    Hi team,
    I got below error message in SQL Server 2005 reporting service.
    ''The report server is not responding. Verify that report server is running and can be accessed from this computer'
    also in reports, i am getting below error:
    "The encrypted value for the "LogonCred" configuration setting cannot be decrypted. (rsFailedToDecryptConfigInformation)
    Get Online Help
    The report server has encountered a configuration error. See the report server log files for more information. (rsServerConfigurationError)
    Get Online Help "
    Please find below log:
    <Header>
      <Product>Microsoft SQL Server Reporting Services Version 9.00.4060.00</Product>
      <Locale>en-US</Locale>
      <TimeZone>Eastern Daylight Time</TimeZone>
      <Path>F:\Program Files\Microsoft SQL Server\MSSQL.6\Reporting Services\LogFiles\ReportServer__07_28_2014_09_08_41.log</Path>
      <SystemName>MFLDDDBS04</SystemName>
      <OSName>Microsoft Windows NT 5.2.3790 Service Pack 2</OSName>
      <OSVersion>5.2.3790.131072</OSVersion>
    </Header>
    w3wp!webserver!1!7/28/2014-09:08:41:: i INFO: Reporting Web Server started
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing ConnectionType to '1'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsSchedulingService to 'True'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsNotificationService to 'True'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsEventService to 'True'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsWebServiceEnabled to 'True'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing ProcessRecycleOptions to '0'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WatsonFlags to '1064'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'  as specified in Configuration
    file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing SecureConnectionLevel to '0'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing DisplayErrorLink to 'True'  as specified in Configuration file.
    w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WebServiceUseFileShareStorage to 'False'  as specified in Configuration file.
    w3wp!resourceutilities!1!7/28/2014-09:08:42:: i INFO: Reporting Services starting SKU: Enterprise
    w3wp!resourceutilities!1!7/28/2014-09:08:42:: i INFO: Evaluation copy: 0 days left
    w3wp!library!1!7/28/2014-09:08:42:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information., CryptUnprotectData:
    Win32 error:13;
     Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.
    w3wp!library!1!7/28/2014-09:08:42:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.FailedToDecryptConfigInformationException: The encrypted value for the "LogonCred" configuration setting cannot be decrypted., ;
     Info: Microsoft.ReportingServices.Diagnostics.Utilities.FailedToDecryptConfigInformationException: The encrypted value for the "LogonCred" configuration setting cannot be decrypted. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
    The report server has encountered a configuration error. See the report server log files for more information.
       at Microsoft.ReportingServices.Diagnostics.DataProtectionLocal.UnprotectData(Byte[] data, Int32 dwFlags, Boolean transitoryData)
       at Microsoft.ReportingServices.Diagnostics.DataProtectionLocal.LocalUnprotectData(String data, Boolean transitoryData)
       at Microsoft.ReportingServices.Diagnostics.RSConfiguration.DecryptCatalogData(String encryptedData, String element)
       --- End of inner exception stack trace ---

    Hi Vivek,
    In Reporting Services, values for LogonUser, LogonDomain, and LogonCred are created when the report server connection is configured to use a domain account. As to the error that “The encrypted value for the "LogonCred" configuration setting cannot be decrypted”,
    we can know that it relates to the domain account for report server connection.
    To fix this issue, we can refer to the following steps:
    Log in to SQL Server Database Engine in SQL Server Management Studio.
    Under Security folder, give sufficient permissions for your domain account.
    Open your Reporting Services Configuration (go to Start -> All Programs -> Microsoft SQL Server 2005 -> Configuration Tools -> Reporting Services Configuration)
    Navigate to the Database Setup tab, select ‘Service Credentials’ as the Credentials Type, then type your domain account and password in there. Press Apply.
    Restart the Report Server services.
    Reference:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2d05b404-83aa-4fb2-bba6-52b587e890ec/sql-2005-rs-configuration-tool-encryption-key-error
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • 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

  • 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?

  • Trying to make Reporting Services Configuration Manager work. Or, SQL Server Reporting Services.

    Under Start > Programs > Microsoft SQL Server 2008, I have the following:
    SQL Server Management Studio
    Configuration Tools
    Integration Services
    Import and Export Data
    Under Configuration Tools, I have the following:
    SQL Server Installation Center
    SQL Server Configuration Manager
    SQL Server Error and Usage Reporting
    Reporting Services Configuration Manager
    I tried to enable Reporting Services through 'Reporting Services Configuration Manager' but I don't seem to have much control from this view.  I see two boxes, one named Server Name (and it shows my server name) and the other is named Report Servicer Instance (and this is grayed out).  If I click on the Find box next to Server Name, I get this message:
    Report Server WMI Provider Error: Invalid Namespace
    Details
    Invalid Namespace
    To get the Server Name I right-clicked SQL Server > Properties > General
    Any ideas on how to make Reporting Services Configuration Manager work?  Or, can you please give me more details on how to access "System control" => "Services"?  I'm not seeing it anywhere and I'm not seeing any way to find "Sql Server Reporting Services".  Basically, I'm trying to activate my SQL Server Reporting Services.
    I am using SQL Server 2008 Express Management Studio.  Is SQL Server Reporting Services included in Express Management Studio?  I read, online, that it is, but I can't find it anywhere.
    Thanks again!
    Ryan--
    <input id="gwProxy" type="hidden"><!-- Session data--></input> <input id="jsProxy" onclick="jsCall();" type="hidden" />

    Thanks Jerry Nee!!  This may be exactly what I’m looking for!  I went to this link:
    http://www.microsoft.com/downloads/details.aspx?FamilyID=B5D1B8C3-FDA5-4508-B0D0-1311D670E336&displaylang=en#filelist  
    At the top of the page it says, ‘Microsoft® SQL Server® 2008 Express with Advanced Services’, which seems like this is what I’m looking for, so I downloaded the file named ‘SQLEXPRADV_x86_ENU.exe’
    Then, I cut that from my desktop and pasted it in my C-drive and I get a message that says, ‘this folder already contains a file named ‘SQLEXPRADV_x86_ENU.exe’, would you like to replace the existing file?’
    I’m thinking…what the heck?  Do I already have this thing?  If so, why can’t I see SQL Server Reporting Services?  Maybe I have it now, and I just don’t know how to access the reporting Services features…
    Couple quick questions:
    What’s the difference b/w these two files: 
    ‘SQLEXPRADV_x64_ENU.exe’ and ‘SQLEXPRADV_x86_ENU.exe’? 
    Also, my current version of SSMS, Help > About shows this:
    Microsoft SQL Server Management Studio
    10.0.1600.22 ((SQL_PreRelease).080709-1414 )
    Microsoft Data Access Components (MDAC)
      2000.085.1132.00 (xpsp.080413-0852)
    Microsoft MSXML
    2.6 3.0 5.0 6.0
    Microsoft Internet Explorer
    8.0.6001.18702
    Microsoft .NET Framework
    2.0.50727.3603
    Operating System
    5.1.2600
    Should Server Reporting Services be included in this version?  I think so!!!
    Under Start > Programs > Microsoft SQL Server 2008 > Configuration Tools > Reporting Services Configuration Manager, I see this:
    Connect to a report server instance:
    Server Name: 
    Report Server Instance: 
    My server name is ‘'EXCEL-4J2W8KYNP', which I got from Control Panel > System Properties > Computer Name > Full Computer Name;
    However, when I put that server name in the box, and hit ‘Find’ I get this message: ‘Report Server WMI Provider error’ Invalid namespace
    Details: Invalid Namespace.
    I have no idea what this means…
    Thanks for everything!
    Ryan---

  • Migration from SQL Server Reporting Services to Oracle Reports 10g

    Hi,
    I have few reports which have been created using the Microsoft Sql Server Reporting Services.Now i want to create similar reports using Oracle Reports 10g.
    Will i need to start from scratch the creation or is there migration tool that would reduce the efforts for the same.
    Thanks in advance.

    Note there's a lot of useful info on sqldev's homepage (Learn More tab): migration docs and examples.
    Regards,
    K.

Maybe you are looking for

  • Sy-ucomm Vs  OKcode

    Hi What is the difference between sy-ucomm and okcode????

  • Why does iCal keep telling me calendar can't be found?

    Why does iCal keep telling me calendar can't be found? I have my ical calendar synced with my android 2.3.6. They appear to be communicating and then the next time I check they aren't. I just randomly keep getting the error. I would like to sync my G

  • Warehouse management - Dabase Analysis

    Hi Guru, Can anybody tell me the following 3 things where I can analyse 1) How to determine the right pick bin size? 2) How do I determine materials where we see too many high rack picks? 3) What tables carry Material Master Data, Bin Data, and TO Da

  • Palm Tungsten T3

    Hi. I have an old very beloved Tungsten T3. Now I got a new computer at home with Windows 8. As I can read at the internet it is not possible for those two to work together. Is that correct? I had used PDA since 1998 and I love it. I don't want to us

  • My ipad is trying to download changes but is just showing waiting. Help?

    Hi I hooked my ipad up to the computer to sync it for the first time.  I had a lot of apps waiting to be downloaded. Now I can't use any of them as they all say Waiting to download.  What can I do to get this working? ravensbest