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

Similar Messages

  • 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

  • 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

  • Profiler bug? (Invalid object name '#Results'.)

    Hi. I've been using SQL Server Profiler to look for any "Exception" events, across any databases, etc.
    Despite no issues from SSMS, I notice that the error message "Invalid object name '#Results'." shows up in Profiler when I run the following example queries (either ad-hoc or stored procedure):
    CREATE TABLE #Results (myDate datetime)
    INSERT INTO #Results(myDate) SELECT getdate()
    SELECT * FROM #Results
    DROP TABLE #Results
    or
    SELECT getdate() AS myDate INTO #Results
    SELECT * FROM #Results
    DROP TABLE #Results;
    I'm all for standards... is there a way to re-write the query to prevent Profiler from catching a false-positive Exception?

    To add on Stefan's comment about deferred name resolution, remember that Profiler/SQL Trace (as well as Extended Events) expose internals of SQL Server operation that are not otherwise visible.  An understanding of SQL Server architecture and internals
    is sometimes needed to properly interpret the results.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • 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

  • Query timeout expired and Invalid object name

    I have a program that processes data (dequeues) and polls about every 2.5 seconds - normally there are several records to process per second - it does this constantly 24/7.  The program runs fine at about 100 sites. At 2 sites the following error occurs
    about once per day. Typically the table has less than 10 records that get processed ie read then deleted. DataObjects are used ie the data is read, connection closed, processed, deleted using T-SQL from ADO - ie transactions are as short as possible.  
    Error#-2147217871 Query timeout expired. SQL:SELECT RealID, RxerID, PhoneID, Min(ServerDtTm), min(ID) FROM dbo.tblPreReceiver GROUP BY RealID, RxerID, PhoneID ORDER BY Min(ServerDtTm), min(ID)
    Inner exception Error No. -2147217865. Error Desc:Invalid object name 'dbo.tblPreReceiver'.. Native Error:208 Source:Microsoft OLE DB Provider for SQL Server SQL State:42S02.
    SQL Server 2008R2 (Express at one site and Standard another).
    The program then runs again 2.5 seconds later without error.
    Can anyone explain why? 
    I suspect it is a blocking error but the error message does not suggest this at all.  There is another application which writes to this queue, this does not report the error. 

    Yes, blocking can be the cause. The default command timeout is 30 sec and if the table is locked by an other process, the command waits until the table is accessable ... or the timeout raises. You could increase the timeout value or you could perform "dirty
    read" = ignoring lock, but I don't want to suggest to do it.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • 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

  • 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 '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!

  • 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

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

  • PDF Exception: Invalid object for the XFA entry in the forms dictionary

    Hi,
    We have an online adobe interactive form, via webdynpro, which saves OK, but occassionaly when a form is loaded again the form appears blank and the below error is returned by the ADS.  I've searched but cannot find any definitive answer to this issue:
    Processing exception during a "GetData" operation.#Request start time:Tue Jan 11 14:08:47 GMT 2011#com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.#[Ljava.lang.StackTraceElement;@51bb49da##Exception Stack Trace:#com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.#[Ljava.lang.StackTraceElement;@51bb49da###at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)###at com.adobe.ads.operation.GetData.execute(Unknown Source)###at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)###atcom.adobe.ads.request.Request.processOperations(Unknown Source)###at com.adobe.ads.request.Request.process(Unknown Source)###at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)###at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)###at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)###at sun.reflect.GeneratedMethodAccessor1814.invoke(Unknown Source)###at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)###at java.lang.reflect.Method.invoke(Method.java:324)###at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)###at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)###at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)###at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)###atSoapServlet.doPost(SoapServlet.java:51)##at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)###at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)###at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)###at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)###at com.sap.engine.services.http
    server.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)###atcom.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnali er.java:364)###at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)###atcom.sap.engine.services.httpserver.server.Reques
    Analizer.handle(RequestAnalizer.java:265)###at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)###at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)###at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)###at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)###at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)###at java.security.AccessController.doPrivileged(Native Method)###at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)###at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)##Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException: Invalid object for the XFA entry in the forms dictionary.###at com.adobe.internal.pdftoolkit.services.xfa.impl.PDFFormSupport.exportXFAData(Unknown Source)###at com.adobe.internal.pdftoolkit.services.xfa.XFAService.exportDataset(Unknown Source)###... 32 more##
    Please help!
    Edited by: Kevin Alcock on Jan 11, 2011 2:20 PM

    Hi Otto,
    We have had the form working and in most instances the form can be updated multiple times without issue.  However, occassionally a form is created OK but the next time it is launched it is blank (the data is visible when the PDF is downloaded to the desktop)
    Do you think this issue could be to do with the form layout/XML...I changed the form template 2 days ago as I suspected this issue could be realted to incorrect field bindings but we have had the error on a form created after the change was made.
    Many Thanks,
    Kevin
    Edited by: Kevin Alcock on Jan 13, 2011 1:10 PM

  • 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

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

  • Test-SPContentDatabase : Invalid object name 'Webs'

    I am trying to upgrade from SP 2010 to 2013.
    For this I am following the database detach and attach process.
    I have taken the backup of my content DB from SP2010 and restored it on SP2013 SQL server.
    After this, I am running the following powershell command on SP2013 powershell: 
                    Test-SPContentDatabase -name "WSS_Content" -webapplication "http://servername"
    After running this, I am getting the following error:
    Test-SPContentDatabase : Invalid object name 'Webs'.
    At line:1 char:1
    + Test-SPContentDatabase -name "WSS_Content" -webapplication
    "ht ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo         
    : InvalidData: (Microsoft.Share...ContentDatabase:
    SPCmdletCheckContentDatabase) [Test-SPContentDatabase], SqlException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletCheckContentDatabase
    I even tried to use the Mount-SPContentDatabase command also, but still getting the same error.

    Looks like there is a table named "Webs" which doesn't exist in normal SharePoint 2010/2013 content databases. What you can do is create a new Content Database, in SharePoint 2010, attached to that Web Application, and use Move-SPSite on each Site Collection
    in the WSS_Content database to move them to the new Content Database.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • Download and install shazam for mac

    download and install shazam for mac

  • Dead G4

    Hello! I've got a G4 (Sawtooth) with a 1 GHz processor upgrade. It has been working fine for the last couple of years, and I've replaced the fans to quieter ones several years ago. Today I decided to replace my graphics card, so I shut my machine dow

  • Links Reg HR ABAP

    Hi, This i am Venkat.I am intrested in Learning HR ABAP can anyone provide me the links for HR tutorials that have in depth info.And any sample programs in HR ABAP. Points will be given for all the contributors. Thanks, Venkat Chaitanya

  • Vebdor consignment process

    Hi friends, Here is my clients vendor consignment  legacy business . They create a consignemnt PO and Do the GR. Then they create a sales order and it generate a PO  and this PO cleinet negaotiate the price with vendor and  issue to customer. It soun

  • Sharing application scope

    This question has been asked in the past but not answered completely, so here is my issue: I am currently working on a site that has two separate sections(one public section and another admin section), but need to share the same Application variables