SSRS 2008 - Invalid Class

Dear all,
I have install SQL 2008 in a new machine with Reporting Services 2008.
When I go to 'Reporting Services Configuration Manager', I can see the default server name, the report server instance not auto detects the 'ReportServer' database that available in the database.
When I click 'Find', it prompt out 'Invalid Class' warning message.
May I know what is the problem and how can I solve it?
Thanks.
Regards,
Sim

Hi Sim,
From your description, the Reporting Services Configuration Manager can’t find the instance name automatically. And after clicking “Find”, the error “Invalid Class” occurs.
I assume a detailed error like “Cannot connect to WMI provider” occurred at the same time. If so, the issue happens when some of the WMI classes are not properly registered during installation.
Please follow these steps to solve the issue:
1.       Open the SQL Server Report Server folder.
<Install Driver>:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer
2.       Open the “bin” folder.
3.       Copy and rename the file “reportingservices.mof”
4.       Register the file using the following command
Mofcomp <Install Driver>:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin\reportingservices.mof
After doing the steps above, we should connect to the Reporting Services well.
If the solution above does not above, could you please help to collect the following information?
1.       Could you connect to SQL Server Configuration Manager?
2.       The logs of SQL Server Reporting Services.
3.       Does the Reporting Services windows service work fine?
4.       The more detailed error message.
5.       Any more information.
If there is anything unclear, please feel free to ask.
Thanks,
Jin Chen
Jin Chen - MSFT

Similar Messages

  • SSRS 2008 configuration Manager - "Invalid Class"

    Reporting Services Configuration Manager is throwing an error when I try to "Find" the server. The manager starts up and takes me to the "Reporting Services Configuration Connection" window. I click on the "Find" button (leaving the default comptuer name as-is; the local machine)  and get the error message "Invalid Class" with the title "Reporting Services Configuration Manager".
    I've been searching around the interner and only found one forum post with a similar problem to my own. It was on this forum and the advice seemed to be pointing towards a problem with WMI, but it seemed that the user never found a solution. I've downloaded and ran the WMI diagnostics program and the log does contain quite a few warnings, but I don't know how to go about solving most of them. I did run regsvr32 on some dll files though :)
    I won't post any logs yet, as I have no idea where the problem may be based. Please advise and I will post the required information.

    Hi SiM99,
    The issue shoule be caused by the case onpnt mentioned and you are trying to use Reporting Services Configuration Manager 2008 to connect to Reporting Services 2005. From your post, I am sure you never install SQL Server 2005 in the server. But, sometimes, SQL Server Express 2005 may be installed with other program. So, I would suggest you checking if SQL Server Expree 2005 is installed in the server using Services control(by running command services.msc). If SQL Server Express 2005 is installed, please uninstall it.
    The issue should be caused by the uncompleted installation too. There may be a error during the installation.
    Could you please check if there is any error in the installation error message?
    By default, we can get the installation logs from:
    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Log\Summary.txt
    By the way, could you please follow these steps to check if the Reporting Services WMI provider is installed correctly?
    1. Run command wbemtest
    2. Click "Connect"and connect to “ROOT\Microsoft\SqlServer\ReportServer”(type this path in the Namespace textbox)
    3. After connecting to the name space, click "Query" to query “SELECT * from __namespace”. There would be one data in the record window(while the server only have one RS instance).
    4. Double-click the record, in the new properties windows, get the path value such as “\\<server>\ROOT\Microsoft\SqlServer\ReportServer:__NAMESPACE.Name="RS_MSSQLSERVER" ”
    5. Now, close all sub dialogs, and then re-connect to “ROOT\Microsoft\SqlServer\ReportServer\RS_MSSQLSERVER”. "RS_MSSQLSERVER"  is the Namespace.Name in step4
    6. Query “SELECT * from __namespace” again.
    7. Repeat step4,5, we will get the new path “ROOT\Microsoft\SqlServer\ReportServer\RS_MSSQLSERVER\v10”
    8. Repeat step2 to 7 until there is no record in the Query result dialog. Finally, the path is \\server\ROOT\Microsoft\SqlServer\ReportServer\RS_MSSQLSERVER\v10\admin
    If we can't get the final path \\server\ROOT\Microsoft\SqlServer\ReportServer\RS_MSSQLSERVER\v10\admin, it means the Reporting Services WMI provider is not installed correctly.
    Please try using the following method to solve it:
    1.Execute the Command windows.
    2.Go to the folder C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin
    3.Run the command: MOFCOMP reportingservices.mof
    Please feel free to ask, if you have any more questions.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • SSRS 2008 R2 - Try to Open RDL - I got an error saying "Failed to open report 'reports_List.rdl' ... "Invalid character in the given encoding. Line 1, position 1".

    Hi,
    I am working on SSRS 2008 R2.
    My Colleague gave me one RDL. I have added it to my SSRS project on BIDS  & Tried  to Open by double-click on that RDL.
    I got a popup error saying "Failed to open report 'reports_List.rdl'. clicked on
    Details button & noticed error explanation as . "Invalid character in the given encoding. Line 1, position 1". 
    When i try to View Code of this RDL, I got another error message saying "Exception from HRESULT: 0x80041FEB"
    Can anybody suggest me ... what exactly the root cause of it?  how can i resolve it ?
    thanks a lot in advance !
    best regards,
    Venkat

    Hi Venkat,
    Did you use Visual Studio 2010 on your test? It is a known issue of Visual Studio 2010. Please refer to the following document. It has fix method provided by the Microsoft Web Development Tools team to work around the issue.
    https://connect.microsoft.com/VisualStudio/feedback/details/552134/hresult-error-creating-timetracking-sample-web-site-project
    Since the issue related to Visual Studio. I suggestion you post the question in the following forum:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=Vsexpressvb 
    It is appropriate and more experts will assist you.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Report created in SSRS 2008 is not able to upload in 2008 report server

    I have created a report in SSRS 2008 version. Our reporting server is 2008 R2. I'm getting the error given below while uploading the .rdl file to report server. 
    The report definition is not valid. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' which cannot be upgraded. 
    Then I've checked the code of the solution and it is created in 2008. It is given below:
    " Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 ........."
    Also, I've checked the code of .rdl file but that made me confused. It shows that the file is created in 2010.
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition"> 
    Visual studio 2010 is also installed in my system. Also, I have noticed that even if we try to open a report then by default it is showing data tools option.I have tried multiple times to create report in 2008. But, still the same result. Also, I could find
    that ,the report will be in 2008 till the creation of data source. The report will be converted to 2010 after creating data set. I have been creating shared dataset and I was getting the above issue.Then I have tried by not creating a shared dataset and
    directly creating dataset in the report data and it has been created as 2008 report. I was able to upload this report to report server 2008R2. 
    Can any of you help me to find why the report is created in 2010 while creating shared dataset?

    I have created a report in SSRS 2008 version. Our reporting server is 2008 R2. .
    xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition"> 
    Hello Julie,
    You mix up Version of Visual Studio, Reporting Services and Report Definition; all those products have Independent Version numbers and are not related to each other.
    Important are the Versions of used SSRS and BIDS, the plugin for Visual Studio. By the Version of Report Definiton you have create a Report with BIDS 2008R2 or SSDT = SQL Server Data Tools; see
    http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition/
    Are you sure you have SSRS 2008 R2 (in post subject you wrote SSRS
    2008)? If it's SSRS 2008 then you really can't deploy the Report to SSRS, you would have to use BIDS 2008 to create the report. Check the Version of SSRS or use "Report Builder 2.0", you can start it directly from "Report Manager"
    URL.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Reports developed in SSRS 2008 r2 cannot be uploaded to SSRS 2008

    Reports developed in SSRS 2008 r2 cannot be uploaded to SSRS 2008
    ERROR ON REPORT MANAGER:
    The report definition is not valid. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' which cannot be upgraded. (rsInvalidReportDefinition)
    I tried to upload a ssrs 2008 report made in r2 to 2008 it doesnt upload on report manager nor opens in bids 2008 .
    Above is the error I got .
    Is there any thing i need to do to make it work or we  just cant achieve this functionality?
    Mudassar

    Nope. I dont think you would be able to open a higher version report on a lower versions client tool as it is. However you can do this small workaround and make it work most times
    http://usmantjiudri.wordpress.com/2009/08/18/converting-ssrs-2008-r2-rdl-back-to-ssrs-2008-version/
    The inverse would always work fine as reports gets auto upgraded.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SSRS 2008 R2 rendering error when executing a report

    The value '1' is invalid. Valid values are between '0' and '1'. (rrRenderingError)
    I am receiving the above error when running the report in SSRS 2008 R2. It has run find in the 2005 version. After research, I read that this issue caused by tablix split on a new page or something. However, I have not found anything to be the resolution. I
    installed the latest hotfix that I thought addressed this issue but still not working. Any suggestions outside of touching the report?Sonya

    The value '1' is invalid. Valid values are between '0' and '1'. (rrRenderingError)
    I am receiving the above error when running the report in SSRS 2008 R2. It has run find in the 2005 version. After research, I read that this issue caused by tablix split on a new page or something. However, I have not found anything to be the resolution. I
    installed the latest hotfix that I thought addressed this issue but still not working. Any suggestions outside of touching the report?
    Sonya
    We too are encountering this problem with reports migrated from 2005 to 2008. We are getting the rendering error only when trying to use the paging controls to navigate forward through the report. This is on SSRS 2008 R2 running SharePoint Integration. When
    the result set is empty we get the tablix errors mentioned instead. The reports ran fine prior to migration to SSRS2008.

  • SQL SSRS 2008 DateTime Calendar Control and Oracle 10g Data Source

    Hello. I am creating reports in SSRS 2008 using the calendar control for a date range. Let's say we select a start date of 3/3/2012. This parameter is sent into my SQL statement in the WHERE clause which is executed against an Oracle 10g database. All syntax has to be in SQL that Oracle understands, so no CONVERT or CAST.
    The format of the date is throwing an error "ORA-01843: not a valid month" when I try to use the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= TO_DATE('3/03/2012', 'MM/DD/YYYY')
    I get ORA-01722: invalid number when I try the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= >= TO_CHAR('3/03/2012', 'MM/DD/YYYY')
    I cannot find a way to format the date parameter in SQL Server SSRS before it gets to the SQL to be executed in Oracle.
    Please help.
    Thanks,
    Sunny

    920616 wrote:
    sb92075: I am showing you how Oracle renders the date if I do a simple select from the table from which I am trying to pull data. You are right, it sure doesn't prove anything other than how the date looks right out of the Oracle database, but hopefully, it will give a clue as to how I need my SSRS date parameter to work.
    Hans Forbrich:
    I get ORA-01722: invalid number when I try the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= TO_CHAR('3/03/2012', 'MM/DD/YYYY')
    Solomon:
    It works. The problem is getting the parameter '3/3/2012' into a usable format for Oracle.
    Let's assume an application is sending in '3/3/2012' which will be used in an Oracle query (no PL/SQL allowed, nor can I create functions, stored procedures, etc - only straight up SQL). How can I prepare the parameter to successfully do the compare on the Oracle Date field?
    12:50:23 SQL> select TO_CHAR('03/03/2012', 'MM/DD/YYYY') from dual;
    select TO_CHAR('03/03/2012', 'MM/DD/YYYY') from dual
    ERROR at line 1:
    ORA-01722: invalid number
    12:51:00 SQL> ed
    Wrote file afiedt.buf
      1* select TO_DATE('03/03/2012', 'MM/DD/YYYY') from dual
    12:51:20 SQL> /
    TO_DATE('03/03/2012
    2012-03-03 00:00:00

  • SSRS 2008 R2 - Try to do some changes on an existing rdl - unexpected erro "External Component Has Thrown an Exception"

    Hi, 
    I am working on SSRS 2008 R2 -  Tried to do some changes on an existing rdl & save -  An unexpected error "External Component Has Thrown an Exception"  pop up 
    Any suggestions please to resolve it.
    thank you !!!
    best regards,
    Venkat

    Hi Venkat,
    The issue may be caused by the Visual Studio tried to close an invalid handle. This problem may happen if the operating system is a debug version, not a retail version. Please refer to the following steps to check.
    1. Right-click on "My Computer".
    2. Click "Properties".
    3. Make sure there is no "Debug" words at the end of the "Windows edition" section.
    Reference:
    http://connect.microsoft.com/SQLServer/feedback/details/467954/sql-server-2008-install-on-windows-server-2008-fails-with-external-component-has-thrown-an-exception
    If the operating system is debug version, please re-install the operating system with retail version to solve the issue.
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Operations Manager failed to run a WMI query-Invalid class

    Hi Team,
    may of the windows 2008 R2 sp1 and sp2 servers getting below SCOM 2012 alert. Please help me to fix the same.
    SCOM version : SCOM 2012 R2
    Alert: Operations Manager failed to run a WMI query
    Source: server Name
    Path: server Name
    Last modified by: System
    Last modified time: 2/6/2014 8:33:22 AM
    Alert description: Object enumeration failed
    Query: 'SELECT * FROM MetaFrame_Server WHERE ServerName="server Name"'
    HRESULT: 0x80041010
    Details: Invalid class
    One or more workflows were affected by this.
    Workflow name: Citrix.PresentationServer.ActiveSessions.PerformanceMonitor

    First try it with WBEMTEST to see what is going with the WMI class. The error you are getting usually means WMI misses that class and you should load the mof again/ maybe rebuild the entire repository (careful as the windows files are all located
    on 1 folder, but applications tend to store it in their own folders, like citrix, ibm, etc).
    Try to run this command:
    mofcomp "<Programfiles>\Citrix\System32\Citrix\WMI\ .Mof file for citrix"
    {citrixProv.XP10FR3.mof, metaframeProv.XP10FR3.mof, and mgmt.XP10FR4.mof files}
    Then, run the WBEMTest again and the namespace should be returned successfully. Then restarting the health service on agent.
    Also you can refer below link
    https://support.citrix.com/article/CTX122283
    Please remember, if you see a post that helped you please click (Vote As Helpful) and if it answered your question, please click (Mark As Answer).

  • Ssrs 2008 r2 date parameter not working all the time

    In an SSRS 2008 r2 report, I am not getting some records selected when I run the report in the ssrs 2008 r2 report.
    However when I run the sql in ssis manager, the records are selected. Thus I am trying to determine why some of the records are not selected whe running the ssrs report.
    In the table called 'transactionfile', the fields that I am trying to determine where there is a problem is the following:
    SchoolNumber (varchar(50),null), and
    TransactionPaymentDate (varchar(50),null).
    Examples of data are SchoolNumber = '121' and TransactionPaymentDate = '04162014'
    In the SSRS report, the parameter value for @SchoolNumber is text and the parameter value for @EndDate and @StartDate is date/time.
    The following is the query I am having a problem with:
    SELECT  s.SchoolNumber,      
          CONVERT(smalldatetime,substring(TransactionPaymentDate,5,4) + '-' + substring      (TransactionPaymentDate,1,2)+ '-' +
    substring(TransactionPaymentDate,3,2)) as        TransactionPaymentDate
     from [eF].[dbo].[transactionfile] f
           INNER JOIN
        [eF].[dbo].schools] s      
        on rtrim(ltrim(s.SchoolNumber)) =rtrim(ltrim(f.SchoolNumber))
     where  rtrim(ltrim(s.SchoolNumber)) = rtrim(ltrim(@SchoolNumber))
          AND
          Cast(Right(TransactionPaymentDate,4)+Left(TransactionPaymentDate,4)  as Date)
            >= @StartDate
         AND
       Cast(Right(TransactionPaymentDate,4)+Left(TransactionPaymentDate,4)  as Date) <= @EndDate
    Thus could you suggerst what could be wrong when selecting some records by date?

    First check whether transaction payment date has 8 digit or not. In yes then try the below query,
    SELECT s.SchoolNumber,
    CONVERT(smalldatetime,substring(TransactionPaymentDate,5,4) + '-' + substring(TransactionPaymentDate,1,2)+ '-' +
    substring(TransactionPaymentDate,3,2)) as TransactionPaymentDate
    from [eF].[dbo].[transactionfile] f
    INNER JOIN [eF].[dbo].schools] s
    on rtrim(ltrim(s.SchoolNumber)) =rtrim(ltrim(f.SchoolNumber))
    where rtrim(ltrim(s.SchoolNumber)) = rtrim(ltrim(@SchoolNumber))
    AND
    cast(substring(TransactionPaymentDate,5,4) + '/' +
    substring(TransactionPaymentDate,1,2)+ '/' +
    substring(TransactionPaymentDate,3,2) as date) between @StartDate AND @EndDate
    Regards, RSingh

  • Issues passing drillthrough parameters from a multi-level tablix in SSRS 2008 R2

    Hello,
    I am really struggling with trying creating a drillthrough report that starts with a matrix (tablix)  and passing those  parameters. I am using SSRS 2008 R2.
    Here's my scenario:
    I have a matrix that has mulitple levels where you can drill down. Here an example with all the levels open:  
    Active
    Term
    Leave
    Total
    128
    88
    121
    United States
    110
    80
    85
    New York
    65
    30
    57
    Manhattan
    10
    6
    9
    Buffalo
    20
    23
    4
    Albany
    35
    1
    44
    Texas
    45
    50
    28
    Dallas
    40
    30
    22
    Houston
    5
    20
    6
    France
    18
    8
    36
    Centre
    18
    8
    36
    Blois
    7
    2
    8
    Druex
    6
    1
    15
    Tours
    5
    5
    13
    I want to drillthrough to another report - Detail Report. As I understand it, I would click the 65 for New York and I would see the detail for the 65 Active people. If I click the 2 under Blois, I would see the 2 terminated people in Blois. My understanding
    for this to work, the Detail Report would need a a parameter for each of the level possibilities in the matrix that I could click: Country, State, City as well as the Status (Active, Term, Leave).
    While I understand about passing parameters, what I don't understand is how to pass the parameters if they are blank. Let's say I clicked 65 for New York, I would need to pass State = New York  Status = Active. But the remaining parameters (Country
    and City  would be null). I know Country doesn't need to be Null in this case.
    My Detail Report has the parameters defaulted to Null, but whether I put the parameters in a Filter for the dataset or in the query itself, I cannot get it to ignore the Nulls.
    As a crazy work-around (I think) I can put in the Where of the query  something along the lines of: this:
            and (a.Country in (@paramCountryCode) or NULL  in (@paramCountryCode) )
    and I would need to do that for each parameter. Usually I have to use 'ALL' instead of NULL, I'm note sure why.
    Additionally, in the Report Action of the Main Report, I need to pass those parameters for each level and their Status. I am also not clear whether or not I need to put in all the parameters on each of the levels (Country, State, City) of the matrix. And if
    I do, do I need to make the expressions an IIF statement stating whether or not they are In Scope?
    All the examples I was able to find, only showed one or maybe two parameters being passed. Doing the way I am trying, seems convoluted, error-prone and tedious. I really hope that I am wrong.
    Is there a better way to approach drilltrough reports from a matrix when there are multiple levels?
    Thank you for the help.
    ~J

    Hi Jenna_Fire,
    According to your description, you have a matrix contains total for each group on each level. Now your requirement is, when you click on any number (data field or total), it will go to the detail report which returns all the detail information of the people
    within the group scope. For example, if you click on the total of Active users in United States, it will return the detail information of Active users in New York and Texas. Right?
    In this scenario, we should set the parameter (@Country, @State, @City) allow multiple values in both main and detail report. And in Default Value (@Country, @State, @City), query out all distinct values. In the textbox which contains
    those total values, when set use these parameters to run the report, we only need to pass the parameters of parent groups. For example, if we click on the total of Active users in New York, we only need to pass Country, State, Status to detail report, and
    in the detail report, the City parameter will use all distinct values (Default Values) because we don't pass the City parameter. We have tested this case with sample data in our local environment. Here are steps and screenshots for your reference:
    1. Create parameter Country, State, City and Status in both main report and detail report. Set both Available Value and Default Value get values from query (Create a dataset for each parameter, use "select distinct [column] from [table]" as query). Set allow
    multiple values for parameter Country, State and City in both reports.
    2. In corresponding textbox, pass appropriate parameters in go to report Action.
    4. Filter data in detail report (in where clause or using filters).
    5. Save and preview. It looks like below:
    Reference:
    Using Parameters to Connect to Other Reports
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Controlling execution of subreport on main Report in ssrs 2008 R2

    Controlling execution of subreport on main Report in ssrs
    Hi,
    Am using more than 100 subreports in my main report using ssrs 2008 R2.
    And given conditional Visibility in sub reports based on the Parameter selection in main Report . But the performance is very very slow in main report.
    While selecting single sub report executes in seconds. The same report in main report executes in hours.
    According to my view,
    All the Sub reports executes and finally conditional visibility is working. Can we Control executing sub reports?
    Regards, Gayathri devi P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)

    Hi,
    I think the time to render 100 report sure will be long time and the main report want to render those reports.
    So first why you do not separate those report on many reports for different purpose.
    second if this is a dashboard report you may use many matrix in the same report and the parameters passed by default or based on expression.
    I really hope if you make your report as dashboard report, many matrix many parameters render it once. As I remember I think SSRS will try to execute your
    DataSets in parallel which will reduce your waiting time.
    I hope this is helpful.
    Elmozamil Elamir
    MyBlog
    Please Mark it as Answered if it answered your question
    OR mark it as Helpful if it help you to solve your problem
    Elmozamil Elamir Hamid
    http://elmozamil.blogspot.com

  • Calculate percentage between two rows in a matrix report with a single row group in SSRS 2008

    I need your help. I have a matrix report in ssrs 2008. The report contain one field value column and one value column. I need to calculate a percentage for two values. For example : row 1 : Discount 10 Row 2 : Sales 100 Result : 10/100. I have only one
    row group, I need to have a condition where Field = Discount % on Revenue then Discount/Total Turnover. Because of the  grouping for total, I am not being able to calculate the %, its just totalling the % discount. Kindly refer to the snapshot of the
    report.

    Hi Thanks a lot for your answer, but unfortunately it didn't work,the report is reading from a stored procedure which I have unpivot to convert all columns into rows, so that's why Discount % on Revenue, Discount and Total Turnover is found in one column.
    So the Field!Col.Value is the Discount % on Revenue, Discount and Total Turnover. I have tried to change the code to
    "=SUM(IIF(Fields!Col.Value = "Discount",Fields!value.Value),0))
    /IIF(SUM(IIF(Fields!Col.Value = "Turnover Total",Fields!value.Value),0)) = 0 ,
    Nothing,SUM(IIF(Fields!Col.Value = "Turnover Total",Fields!value.Value),0)))" but to no avail. Any other suggestion will be most welcome.
    Thanks.
    If everything you're getting from stored procedure then you need to calculate and bring the value from there itself.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • SSRS 2008 Work order Report , when added item descriotion , somehow costgroup id is not working , donot know why, ( need help)

    SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,
    my costgroup id did not break into labor , only Mat Cost showed in the total,
    my query is as below,  did I link the wrong field,   I want to show Labor total also
    can some one suggest what I did wrong .
    any advise will be great
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER
    JOIN
                             INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL
    = 1) AND
                             (PRODCALCTRANS.CALCTYPE >= 0)

    Hi Bitia,
    As per my understanding, after you add Item field to the report, it does not calculate total of matl group, right? If that is the case, please refer to the following steps to troubleshoot the problem:
    Modify the dataset used to retrieve data, delete the fields will not be used in the report.
    Run the query in SQL Server Management Studio (SSMS) to make sure that there is data for matl cost group.
    Make sure that row group and totals are correctly added.
    In addition, do you want to add Finished date to page header? If that is the case, we can use ReportItem to achieve the goal. Please refer to the following steps:
    In design surface, right-click the report and click Insert, then click Page Header.
    Drag Text Box from Toolbox to page header.
    Right-click inside of Text Box, then click Expression.
    In the expression text box, type the code like below:
    =ReportItems!FinishedDate.Value
    If the problem remain unresolved, please provide the screenshot of the report in design view, the following screenshot is for your reference:
    Reference:
    ReportItems Collection References
    Adding Grouping and Totals
    Thanks,
    Wendy Fu

  • SSRS 2008 R2/SSRS 2012 Tab Delimited setup is not working correctly in Report Designer

    I have changed a RSReportDesigner.config to add a tab delimited option for report export, but it is not working correctly in vs2008/vs2010 report designer. I get a duplicate of CSV (comma delimited) in the export dropdown list.
    I have tested SSRS 2008 R2/SSRS 2012 on Windows 7 64 bit professional.
    It is working correctly in the report manager.
    <Extension Name="TAB" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
            <OverrideNames>
                <Name Language="en-US">TAB delimited</Name>
            </OverrideNames>
            <Configuration>
                <DeviceInfo>
                    <FieldDelimiter xml:space="preserve">&#9;</FieldDelimiter>
                    <Encoding>ASCII</Encoding>
                    <UseFormattedValues>False</UseFormattedValues>
                    <NoHeader>False</NoHeader>
                    <FileExtension>TXT</FileExtension>
                </DeviceInfo>
            </Configuration>
          </Extension>

    Hi Dave0323,
    According to your description, you want to export your report into TXT file and change the delimiter to be a Tab. Right?
    In Reporting Services, when exporting to a CSV file, we can change the default field delimiter to any character that we want, including TAB, by changing the device information settings in the configuration file. For example, to use TAB,
    update the FieldDelimiter setting to <FieldDelimiter xml:space="preserve">[TAB]</FieldDelimiter>. And we can change the FileExtension to be TXT if we want to export it into a TXT file. So in this scenario, we just need to modify the configuration
    file like below:
    The result looks like below:
    Reference:
    CSV Device Information Settings
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

Maybe you are looking for

  • Can Multiple email accounts on Galaxy S4 sync with iCloud & non-iCloud email?

    Hello… has anyone successfully set up multiple email accounts (iCloud/Yahoo/AT&T/etc.) on their Samsung Galaxy S4 Jelly Bean 4.2? I searched the forums and it has been said that configuration settings depend on the combination of wireless service pro

  • AL Clearing Account Difference

    Hello, When i checked a GL Account in FBL3N, there are 339 open items available with Balance "0" till date. But when I am trying to clear all the line items with F-03 then it is showing only 278 line items with 15 Cr as not assigned amount. Please he

  • Add Flagged Photos To Selected Event / Select By Date

    So I am having to bite the bullet and re-import all of my referenced pics to try and consolidate them eventually into my managed library. I start with my first folder, import it, select the 103 photos in the Event with a view of then going to the exi

  • Unplayed Episodes/Stations- how to choose to begin playing oldest unplayed episode?

    The release notes say this is an option but I can't figure out how. (The only options in settings are "my podcast" order, most recent and manual- but I don't see any way to manually adjust the order, either.) Also, apparently there is no way to get a

  • Smart forms PDF

    Hi experts, Iam trying to get the smartform into PDF.Iam working on VF02>billing doc>Issue output to... Instead of going to spool request & RSTXPDFT4 program, i want to generate PDF in the output Message type itself. So iam trying to modify SAP stand