Invalid Object Name When Executing from Report Manager

I ran some code to create a modified view of ExecutionLog3 on a SQL Server 2012 instance.  The ReportServer and ReportServerTempDB were transferred from a 2005 instance and are still on that compatibility level. After creating the new view, I 
created a report in SSDT and it runs fine.  I deployed the dataset followed by the report.  I went to Report Manager to test it and the report fails with the following:
An error has occurred during report processing. (rsProcessingAborted)
The execution failed for the shared data set
'ExecutionLog'. (rsDataSetExecutionError)
Query execution failed for dataset ''. (rsErrorExecutingCommand)
Invalid object name 'ExecutionLog3_Modified'.
The code for the view is below and it came from MSSQLTips.  Why does the report run fine from SSDT and fail in Report Manager?
USE [ReportServer]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE VIEW [dbo].[ExecutionLog3_Modified]
AS
SELECT
EL.InstanceName,
COALESCE(C.Path, 'Unknown') AS ItemPath,
EL.UserName,
EL.ExecutionId,
CASE(EL.RequestType)
WHEN 0 THEN 'Interactive'
WHEN 1 THEN 'Subscription'
WHEN 2 THEN 'Refresh Cache'
ELSE 'Unknown'
END AS RequestType,
-- SubscriptionId,
EL.Format,
Parameters,
CASE(EL.ReportAction)
WHEN 1 THEN 'Render'
WHEN 2 THEN 'BookmarkNavigation'
WHEN 3 THEN 'DocumentMapNavigation'
WHEN 4 THEN 'DrillThrough'
WHEN 5 THEN 'FindString'
WHEN 6 THEN 'GetDocumentMap'
WHEN 7 THEN 'Toggle'
WHEN 8 THEN 'Sort'
WHEN 9 THEN 'Execute'
ELSE 'Unknown'
END AS ItemAction,
EL.TimeStart,
YEAR(EL.TimeStart) AS Start_Year,
MONTH(EL.TimeStart) AS Start_Month,
DATENAME(MONTH,EL.TimeStart) AS Start_Month_Name,
DATENAME(DW,EL.TimeStart) AS Start_Day_Of_Week,
DATEPART(WEEKDAY,EL.TimeStart) AS Start_Day_Number_of_Week,
EL.TimeEnd,
EL.TimeDataRetrieval,
EL.TimeProcessing,
EL.TimeRendering,
CASE(EL.Source)
WHEN 1 THEN 'Live'
WHEN 2 THEN 'Cache'
WHEN 3 THEN 'Snapshot'
WHEN 4 THEN 'History'
WHEN 5 THEN 'AdHoc'
WHEN 6 THEN 'Session'
WHEN 7 THEN 'Rdce'
ELSE 'Unknown'
END AS Source,
EL.Status,
EL.ByteCount,
EL.[RowCount],
EL.AdditionalInfo,
C.Name,
C.CreatedByID,
C.ModifiedByID,
C.Description,
C.CreationDate,
C.ModifiedDate,
CASE
WHEN C.TYPE=1 THEN 'Folder'
WHEN C.TYPE=2 THEN 'Report'
WHEN C.TYPE=3 THEN 'XML'
WHEN C.TYPE=4 THEN 'Linked Report'
WHEN C.TYPE=5 THEN 'Data Source'
WHEN C.TYPE=6 THEN 'Model'
WHEN C.TYPE=8 THEN 'Shared Dataset'
WHEN C.TYPE=9 THEN 'Report Part'
END AS Type_Description
FROM
ExecutionLogStorage AS EL
LEFT OUTER JOIN Catalog AS C ON (EL.ReportID = C.ItemID)
GO
Lee Markum

Hi Lee,
According to your description, you can't process the dataset when viewing the report on report server. Right?
In this scenario, as you can see the dataset name in error message is empty, and it says "Invalid Object Name". Because you have already created a view in your database. When you run this report again, this query be executed again so that you can
not create another view with same name. So you just need to query the view directly when creating dataset. 
Select * from ExecutionLog3_Modify
If you have any question, please feel free to ask.
Best Regards,
Simon Hou

Similar Messages

  • Invalid column name when executing explain plan

    SQL Developer version 4.0, SQL Worksheet, Windows 2000, Database 9.2.0.6.
    When attempted to run a explain plan on a simple two table join query, it generates error invalid column name. Removed aliases and simplify query to one table row count, and still get the same error. Even tried the schema owner and got the same error.
    I decided to check the explain plan table and found out that it was from an older version. Recreated the explain plan table and was able to run the explain plan.
    I'm just posting this in the event somebody else runs into the same problem.

    This was fixed in the 4.1 or 1215 build. Please update by downloading or check for updates.
    -thanks
    kris

  • Transport user error: invalid object name while starting CMS in CCM

    Hi Experts,
            I'm not able to start the CMS in CCM.It was working fine. Suddenly it went down due to some data base access failure. After that Iu2019m not able to start the CMS.
    Kindly find the event viewer error and information.
    Error: The root server reported an error Initialization Failure.
    Error: Failed to register object..   Reason: Transport user error: invalid object name..
    Information: Central Management Server stopped
          Could you please tell me how to start the CMS in CCM? Since I can able to setup CMS Database and audit database successfully.
    Regards,
    Sridharan

    Hi ,
            Thanks for the response.I have trace the CMS.I found some error in log file.any idea on the following errors,
    trace message: CNSClientManager::VerifyConnection() : search fails(37) - Transport user error: object with the specified name not found.
    trace message: CNSClientManager::VerifyConnection() : Failed to query for APSs.  Empty cluster list returned.
    trace message: TheAPSServer::RegisterApsInNameServer: Fail to register the current APS(Transport user error: invalid object name.)
    trace message: CNSClientManager::ClusterInfo::InvalidateAPS: Removing APS  from m_ActiveMembers and adding to m_InactiveMembers
    trace message: SIServerController:run: Fail to initialize or uninitialize.  Reason is The root server reported an error Initialization Failure.:
    Regards,
    Sridharan

  • Report error, Invalid object name 'v_lu_cpu'

    Hi
    I have a report that I have imported from another SCCM server that has it working. I have changed the datasources after the import but when I try to run the report I get this error message: 
    An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'DataSet0'. (rsErrorExecutingCommand)
    Invalid object name 'v_lu_cpu'.
    Does anybody know what this means?

    Ok, then I understand.
    I'm not that good at reporting so if anybody can help out with replacing the code that uses v_lu_cpu with
    something else, it would be very kind. Thank you
    SELECT DISTINCT 
    v_r_system.netbios_name0 AS "Computer Name", 
    v_r_system.Description0 AS "Description", 
    v_gs_system_console_usage.topconsoleuser0 AS "Top Console User", 
    v_GS_PC_BIOS.serialnumber0 AS "PC Bios Serial Number", 
    v_gs_computer_system.manufacturer0 AS "Computer Manufacturer", 
    v_gs_computer_system.model0 AS "Computer Model", 
    CASE 
    WHEN v_gs_computer_system.manufacturer0 LIKE 'Dell%' 
    THEN 'http://support.dell.com/support/topics/global.aspx/support/my_systems_info/details?servicetag=' + v_gs_system_enclosure.serialnumber0 
    WHEN v_gs_computer_system.manufacturer0 LIKE 'Hewlett%' 
    THEN 'http://h20000.www2.hp.com/bizsupport/TechSupport/WarrantyResults.jsp?sn=' + v_gs_system_enclosure.serialnumber0 + '&country=US' 
    WHEN v_gs_computer_system.manufacturer0 LIKE 'HP%' 
    THEN 'http://h20000.www2.hp.com/bizsupport/TechSupport/WarrantyResults.jsp?sn=' + v_gs_system_enclosure.serialnumber0 + '&country=US' 
    ELSE '(Not available)' 
    END AS "Warranty Information" 
    FROM v_gs_processor 
    INNER JOIN v_r_system 
    ON v_gs_processor.resourceid = v_r_system.resourceid 
    INNER JOIN v_gs_system_enclosure 
    ON v_gs_system_enclosure.resourceid = v_r_system.resourceid 
    INNER JOIN v_GS_PC_BIOS 
    ON v_GS_PC_BIOS.resourceid = v_r_system.resourceid 
    INNER JOIN v_gs_computer_system 
    ON (v_gs_computer_system.resourceid = v_r_system.resourceid) 
    LEFT JOIN v_gs_system_console_usage 
    ON v_gs_system_console_usage.resourceid = v_r_system.resourceid 
    LEFT JOIN v_lu_cpu 
    ON Lower(v_lu_cpu.cpuhash) = Lower(v_gs_processor.cpuhash0) 
    WHERE v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 <> 12 
    AND 
    v_gs_computer_system.manufacturer0 NOT LIKE 'VMware%' 
    AND 
    v_gs_computer_system.model0 NOT LIKE 'Virtual Machine' 
    AND
    v_R_System.Operating_System_Name_and0 LIKE 'Microsoft Windows NT Workstation%'

  • Invalid object name for Next value from sequence  using sqlserver 2012

    Select SequenceName.nextVal into lint from dual ;
    Invalid object name error message is coming when using sqlserver 2012
    Please help

    Hello,
    Create the sequence and a stored procedure which returns the sequence as follows:
    CREATE SEQUENCE mySequence_tinyint AS tinyint
    GO
    CREATE PROCEDURE Central_CreateSequence
       @NextID BIGINT OUTPUT
    AS
    BEGIN
       SET NOCOUNT ON;
       SELECT @NextID = NEXT VALUE FOR mySequence_tinyint;
    END
    GO
    In PowerBuilder, run this script:
    long ll = -10
    DECLARE proc PROCEDURE FOR Central_CreateSequence @NextID = :ll OUTPUT;      
    EXECUTE proc;
    FETCH proc INTO :ll;
    CLOSE proc;
    IF SQLCA.SQLcode <> 0 THEN
    MessageBox("error", SQLCA.sqlerrtext)
    END IF
    MessageBox("", ll)
    I know there can be other ways to return the next value of the sequence...
    HTH
    Jacob

  • MBAM 2.5 Reports Fail with "Invalid object name 'v_GS_MBAM_POLICY'."

    Utilizing the SSRS Reports for MBAM 2.5 Integrated into Configuration Manager 2012 R2 Cu3, when I run the reports it states that the view
    'v_GS_MBAM_POLICY'  does not exist.
    The complexing thing though is that there are computers that are reporting the HINV Class called 'Win32Reg_MBAMPolicy'  So I would think this view would have been created.
    Does anyone know the process by which the view gets generated since my HINV is reporting back the information, yet the view has not been created in the DB yet... It makes no sense.
    The error is:
    Microsoft.Reporting.WinForms.ReportServerException
    An error has occurred during report processing. (rsProcessingAborted)
    Stack Trace:
       at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report)
       at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation()
       at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation()
       at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)
    Microsoft.Reporting.WinForms.ReportServerException
    Query execution failed for dataset 'ComplianceDetails'. (rsErrorExecutingCommand)
    Stack Trace:
       at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report)
       at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation()
       at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation()
       at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)
    Microsoft.Reporting.WinForms.ReportServerException
    Invalid object name 'v_GS_MBAM_POLICY'.
    Stack Trace:
       at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report)
       at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation()
       at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation()
       at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)
    David Baur

    We ran into this error as well. Turns out that MBAM-provided reports to SCCM 2012 fail with an error unless the Win32Reg_MBAMPolicy class is added to SCCM, which also updates the SCCM SQL with required Views, including "v_GS_MBAM_POLICY".
    The solution that we finally came up with was to import an updated MOF file to include the BitLocker Policy (Win32Reg_MBAMPolicy) class into the "Hardware Inventory" section of the Default Client Policy. Once the import is complete SQL also gets
    the appropriate view created.
    The instructions on how to create and import the MOF file can be found in the link below.
    http://technet.microsoft.com/en-US/library/dn237295.aspx
    Chris Keene
    Product Specialist at Wave.

  • ExecuteBaseLogic::Invalid object name 'tblStatus'  when submitting data

    Hi experts,
    I've encounter the following error while submitting data via input schedule:
    ExecuteBaseLogic::Invalid object name 'tblStatus' in: select distince d.CATEGORY,d.ENTITY,d.TIMEID from #RESULT_334020 d where signeddata<>0 and exists [select * from tblstatus s where [APP]='TIS' and d.CATEGORY=s.CATEGORY and d.ENTITY=s.ENTITY and d.TIMEID=s.TIMEID and [Status]>0).
    I did not find any OSS notes on this and not sure what is the problem. Appreciate your advise on this issue.
    Thanks!

    Hi!
    I have encountered the same problem as you have when starting an SSIS package with the setting: "Check for work status settings". According to SAP in BPC 5 SP 6 this setting must not be chosen.
    I guess, that this setting is somehow passed to your default logic. So, you can try the following:
    In BPC for Excel go to eData / Organize Package List; choose the company folder and in this the System Administration group. Select "Default Formulas" and click the edit button (a sheet with a pencil). In the pop-up box click the edit button next to the field with the file name (that's a sheet with a magnifying glass). In the new pop-up box click "Advanced". Put an apostrophe (') before the prompt for %CHECKLCK% and replace
    TASK(Execute formulas,CHECKLCK,%CHECKLCK%)
    with
    TASK(Execute formulas,CHECKLCK,0)
    Then try again. Maybe, this works.
    Best regards,
    Hartmut
    Edited by: Hartmut Kesper on Feb 9, 2009 2:45 PM

  • Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.

    SP 2013 Server + Dec 2013 CU. Upgrading from SharePoint 2010.
    We have a web application that is distributed over 7-8 content databases from SharePoint 2010. All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.
    while running Test-SPContentDatabase or Mount-SPContentDatabase.
    EventViewer has the following reporting 5586 event Id:
    Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.
    After searching a bit, these links do not help:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fd020a41-51e6-4a89-9d16-38bff9201241/invalid-object-name-webs?forum=sharepointadmin
    we are trying PowerShell only.
    http://blog.thefullcircle.com/2013/06/mount-spcontentdatabase-and-test-spcontentdatabase-fail-with-either-invalid-object-name-sites-or-webs/
    In our case, these are content databases. This is validated from Central Admin.
    http://sharepointjotter.blogspot.com/2012/08/sharepoint-2010-exception-invalid.html
    Our's is SharePoint 2013
    http://zimmergren.net/technical/findbestcontentdatabaseforsitecreation-problem-after-upgrading-to-sharepoint-2013-solution
    Does not seem like the same exact problem.
    Any additional input?
    Thanks, Soumya | MCITP, SharePoint 2010

    Hi,
    “All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.”
    Did the sentence you mean only one database not upgrade to SharePoint 2013 and given the error?
    One or more of the following might be the cause:
    Insufficient SQL Server database permissions
    SQL Server database is full
    Incorrect MDAC version
    SQL Server database not found
    Incorrect version of SQL Server
    SQL Server collation is not supported
    Database is read-only
    To resolve the issue, you can refer to the following article which contains the causes and resolutions.
    http://technet.microsoft.com/en-us/library/ee513056(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Why its showing error : Invalid Object Name 'table name' when we try to insert data ?

    Hi,
        When i try to insert data in the database with the following query
                    con.Open();
                    cmd = new SqlCommand("insert into good(ID,Name) values('" + textBox1.Text + "','" + textBox2.Text + "')", con);
                    cmd.ExecuteNonQuery();
                    MessageBox.Show("Insert success");
                    con.Close();
        its showing following error Invalid Object Name 'good'

    Use 3-part naming like: MyDatabase.dbo.good(ID,Name) .
    Also consider using stored procedure for database INSERTs.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Invalid object  name 'SVERS'

    Hello,
    When trying to perform an Upgrade of a BW3.0B to BW3.5, Prepare Phase, an error occurs in script MSSCONCHECK.SQL.
    - Msg 208, Level 16, State 1, Server SRVDW, Line 1
    Invalid object name 'SVERS'.
    Can anyone help?
    Thank you.
    Regards,
    PT

    I have similar eror message during upgrade from ECC 5.0 to ECC 6.0 on MS SQL 2005. The output from my sapup is as shown below:
    >> 07:39:34  PREPARE: START OF PHASE INITPUT_PRE
    Supply the following information:
    Confirm the name of your SAP system: [AWD]
    SAP SYSTEM ID     =
    The hostname of your central SAP server: [SERVER01]
    SAP SYSTEM HOST   =
    Enter the SAP instance number: [02]
    INSTANCE NUMBER   =
    The system identifier of your database: [AWD]
    DATABASE ID       =
    The hostname of your database server: [SERVER01]
    DATABASE HOST     =
    Executing script MSSCONCHECK ...
    MSSCONCHECK: Connection check failed for the user specified
          SAPup message
    SAPup> Errors were found in the logfile MSSCONCHECK.LOG
           after execution of the script MSSCONCHECK.SQL.
    SAPup> SAPup cannot proceed until these errors are fixed.
           Please, examine MSSCONCHECK.LOG, fix reported errors and then call R3
    gain
                - "continue"
                - "cancel"
    Enter one of these options [continue] :=
          SAPup message
    SAPup> SQL-scripts must be executed by the NT user account SERVER01\awdadm.
           Check your installation of the integrated security procedure
           on host SERVER01 and make sure that a login for the NT user
           SERVER01\awdadm exists with the following rules:
           - user SERVER01\awdadm owns the role System Administrators
           - user SERVER01\awdadm has the default database AWD
    SAPup> Integrated security installed correctly?
                - "no"
                - "yes"
    Enter one of these options [no] := yes
    Executing script MSSCONCHECK ...
    I'm currently running both Solution Manager 4.0 and mySAP ERP 2004 SR1 on the same box in Development environment.
    Has anyone gotten a breakthrough on this error messages? Mode set to both SQL and Windows Authentication, can do selct * from SVERS for solution manager database but not for ECC 5.0.
    Urgent!!!!

  • Invalid object name 'dbo.uf_GetRateSrcMember'

    Hello Friends,
    We recently applied the  SP3 (CPMBPC03P_1-20002499) for BPC 5.1. We are in Single Server environment. Our BPC 5.1 build was 5.0.486 which was required to install the SP3. After the installation it is 5.0.502
    We are getting the error below when we are trying to change the appliction sets from from the main page.
    Any help to resolve the issue is appreciated
    Server Error in '/OSoft' Application.  Invalid object name 'dbo.uf_GetRateSrcMember'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: Invalid object name 'dbo.uf_GetRateSrcMember'.
    Source Error:
    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
    Add a "Debug=true" directive at the top of the file that generated the error. Example:
      <%@ Page Language="C#" Debug="true" %>
    or:
    Add the following section to the configuration file of your application:
    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>
    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
    Stack Trace:
    [Exception: Invalid object name 'dbo.uf_GetRateSrcMember'.]
       Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +905
       OSoft.Consumers.ZFP.WebBase.PageBase.GetCurrentView() +518
       OSoft.Consumers.ZFP.WebBase.PageBase.get_CurrentView(String strDimension) +43
       ASP.Landing_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) +95
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
       System.Web.UI.Control.Render(HtmlTextWriter writer) +7
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
       System.Web.UI.Page.ProcessRequestMain() +1926
    Really looking forward for answers.
    I would really really really appreciate any help
    Thanks

    Kaji,
    I had the same problem. Here is the solution:
    Dear customer,
    This issue looks similar to a previously reported bug.
    In general there is the possibility that some service/process
    remained in a bad status and this can be fixed by restarting the server
    But could you please also check, whether this description fits
    to your scenario:
    This issue occurred because when there are no secured dimensions
    in an appset,
    The modified application process remove the user function
    which is used for checking secured dimension.
    In case there is no secured dimension in the appset the
    problem occurres.
    This issue looks similar to a previously reported bug.
    In general there is the possibility that some service/process
    remained in a bad status and this can be fixed by restarting the server
    But could you please also check, whether this description fits
    to your scenario:
    This issue occurred because when there are no secured dimensions
    in an appset,
    The modified application process remove the user function
    which is used for checking secured dimension.
    In case there is no secured dimension in the appset the
    problem occurres.
    When modify application is run , the user function has been removed.
    A workaround is this:
    if you make Entity and RateSrc as secured dimension,
    the user function will be made in the appset again.
    Then you can change the user function as other name in database
    by renaming. After finished the rename,
    you can change the dimension as unsecured dimension like current.
    Then, you have to replace the user function name
    as original function name.
    Because the user function name is dependent on dimension name.
    If you can#t connect BPC Admin due to web page error,
    you have to execute the EverestAdmin.exe file
    in "C:\Program Files\BPC"
    Hope it solves the prob...
    Nic

  • Extended Events exceptions: Invalid object name '#x'

    We have recently begun using Extended Events in SQL Server 2012. I noticed something that I don't understand and haven't found an explanation for. There seem to be a lot of exceptions logged for "Invalid object name '#x'", where #x is any temp
    table name. This includes ones like "Invalid object name '#tmp_sp_help_category'", which is not even a table in our code.
    This does not seem to happen consistently, but I have repro'd it several times. Each time there is no error shown in Management Studio. It happens on alters of stored procedures that use temp tables as well as when they are run. It happens even for a script
    as simple as the one below, which logs an exception saying "Invalid object name '#x'" and indicating that it has a severity of 16.
    Has anyone run across this? I am guessing these are not exceptions that should actually be logged, but then again there might be times when a temp table really is missing, so we can't just ignore them all.
    Thanks,
    Ron Rice
    create table #x(x1 int)
    select * from #x
    Ron Rice

    The #tmp_sp_help_category table is associated with SSMS Activity Monitor:
    http://blogs.msdn.com/b/grahamk/archive/2009/10/20/troubleshooting-sql-server-management-studio-with-sql-profiler-and-debugging-tools-part-1.aspx
    You may consider to report at Connect:
    https://connect.microsoft.com/SQLServer
    I am moving it to Tools.
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • SSRS Error : Query execution failed for dataset 'dataSet'. (rsErrorExecutingCommand) Semantic query execution failed. Invalid object name 'RPT.*********'. (rsSemanticQueryEngineError)

    I am new to SSRS and I am trying to migrate reports from 2008 to 2012. As I have so many reports to migrate, I simply got the back up of ReportServer,
    ReportServerTempDB, and Encryption Key and restored them to test environment. I made necessary configuration from RS configuration tool. I am able to see the reports now when I browse //hostname/reports. But when I open any particular report I am getting some
    error.
    · An error has occurred during report processing.
    (rsProcessingAborted)
    Query execution       failed for dataset 'dataSet'.
          (rsErrorExecutingCommand
    Semantic query        execution failed. Invalid object name
           'RPT. ******'. (rsSemanticQueryEngineError)
    ****** - I am assuming this is a custom data class.
    Does anyone have insight on this? or any better way that I can migrate the reports to new server with less efforts.
    I don’t have the reports solution file to deploy the reports, so I have followed backup and restore process.

    Hi Kishore237,
    According to your description, you migrated some reports from Reporting Services (SSRS) 2008 to 2012. Now you get error when accessing the reports on SSRS 2012. Right?
    In this scenario, did you modify the report data source in database after migration? You can try to open the report in Report Builder or Report designer and check the report dataset. If you can preview the report in Report builder or Report designer,
    please try to redeploy the report to Report Server. If it is still not working, please try to restore the database from backup. And for migrating reports, please follow the "Content-Only Migration" in the link below:
    http://msdn.microsoft.com/en-us/library/ms143724(v=sql.110).aspx
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Invalid object name 'dbo.v_R_System'

    Hi,
    About six months ago I implemented SCCM in our domain and it's been working great. This morning, when I attempted to run one of the Asset Intelligence reports in the console, I received the following error...
    An error has occurred during report processing. (rsProcessingAborted)
    ...uh oh! So I logged onto our SQL database server, opened up the Report Manager in IE and attempted to run the same report. This time I got a bit more...
    An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'DataSet0'. (rsErrorExecutingCommand)
    Invalid object name 'dbo.v_R_System'. Could not use view or function 'fn_rbac_R_System_Valid' because of binding errors.
    ...I'm no SQL admin, so time to ask Mr Internet. The only related post I could find was the first one you get when you search "dbo.v_R_System missing" on any search engine (the ones I tried anyway).
    ...which wasn't particularly helpful.
    One thing I did try, which I thought was worth a shot, was to create a new database in Reporting Services Configuration Manager. After a few minutes that populated nicely with all the reports,
    but I'm still getting the same problem.
    We've got a really simple environment. Two Windows Server 2008 R2 servers for SCCM,
    one running the site database and reporting server and the other doing everything else. Database is running on Microsoft SQL Server 2012.
    Any ideas?
    Cheers,
    Dave

    I was also missing that same view.  I can't believe it.  In production and in my test environment we are on ConfigMgr 2012 SP1 CU3.  I started the upgrade on my test environment and it failed saying that it couldn't find that view. 
    I went to our production environment and the view existed.  I scripted the creation of the view and then created the view in our test environment.  The upgrade successfully completed after that.  Thanks for leading me in the right direction!

  • Error Invalid object name 'mbrGROUPS'.

    I'm attempting to validate the standard elimination logic for Intercompany eliminations.  I'm getting the following error when I try to validate:
    Invalid object name 'mbrGROUPS'. in:select [ID] from mbrGROUPS where [REPORTING] = 'Y'
    Below is my logic for this.  I'm trying to use this logic for a Legal consolidations application.
    //=============================================
    // Default Intercompany Eliminations
    //=============================================
    *INCLUDE SYSTEM_CONSTANTS.LGL
    *SYSLIB ICELIMWITHCURR.LGL
    //=============================================
    // Elimination logic for three organization(H1, H2, H3)
    //=============================================
    INITIALIZE_ELIM()
    ELIMINATE_ORG(H1)
    ELIMINATE_ORG(H2)
    ELIMINATE_ORG(H3)
    *COMMIT

    I fixed this myself.  I forgot to change the "CURRENCYDIM" in the ICElimWithCurr file to my Reporting Currency, which in this case is "ConsolView"
    Logic can be so humbling sometimes. 

Maybe you are looking for

  • Apple TV connections?

    I keep going around in circles here. If you can try and keep it simple. Here is what I have: Apple TV Airport Extreme Denon Receiver Sharp TV Dennon receiver and Sharp TV have more connection options then I can list. Plenty of HDMI ports and an Optic

  • Anyway to create a conditional output instruction in XSLT?

    The doctype-system value in an output instruction in my XSLT has to vary depending on a value of a variable. However, choose and if cannot be used outside a template instruction. Is there any other way to put a conditional on an output instruction? B

  • Problème d'activation Photoshop CS5 suite crash matériel

    Bonjour à tous J'ai un problème d'activation de ma licence photoshop. La carte mère de mon macbook à cédée sans prévenir ce qui m'a obliger à racheter une autre machine, il y'a 2 semaines. Au moment de l'activation de Cs5 sur ma nouvelle machine, la

  • What's up with flashing green & pink frames?

    I just updated to version 10.0.6 and am also working on my first "keyed" project.  I am now experiencing extremely annoying artifacts: either the screen will flash with a bright green or pink semi-transparent tint over the entire frame or suddenly, a

  • Shutdown, copy, start vhdx

    I have read a dozen or so scripts to safely shutdown a vhdx, copy it to a local backup drive and restart the vhdx but none of them work, not one. Maybe my scenario is off but here is the foundation: host =MS server 2012 std 64bit, 2 x 128 ssd o/s, 2