Ldb_process and PNP

Hi,
could you give me a working example of using FM LDB_PROCESS with logical dabase PNP, please? Every example, which I found there dont work and I dont know why.
Thanks in advance
Krzysztof

hi,
Have you solved this problem yet or not? Please do reply. I am stuck with the same problem
would appreciate your effort.
thank you for your time and support.
Regards,
Seema Peswani

Similar Messages

  • PN AND PNP Structure IN LDB PNP

    hi
    i can't find  what definition about PN and PNP structure In LDB PNP.
    how to get these infomation!
    thank you very much!

    thank you very much !
    when i use LDB PNP in report , the PN and PNP structure variable will work in program.
    but i don't find PN and PNP structure definition in LDB PNP (SAPDBPNP).
    i want to konw PN and PNP of  fields how work in SAPDBPNP. and to know what's meaning about PN's filed and PNP's filed.

  • FM LDB_PROCESS with PNP or PNPCE does not work...

    This is the code. This do nothing, no errors, no results.(The system have employees.)Please help with some advice.
    José.
    TABLES: PERNR.
    TYPE-POOLS: RSDS, RSFS.
    DATA: CALLBACK TYPE TABLE OF LDBCB,
          CALLBACK_WA LIKE LINE OF CALLBACK.
    DATA: SELTAB TYPE TABLE OF RSPARAMS,
          SELTAB_WA LIKE LINE OF SELTAB.
    DATA: TEXPR TYPE RSDS_TEXPR,
          FSEL  TYPE RSFS_FIELDS.
    Refresh: Callback.
    Clear: Callback.
    CALLBACK_WA-LDBNODE     = 'PERNR'.
    CALLBACK_WA-GET         = 'X'.
    *CALLBACK_WA-GET_LATE    = ' '.
    CALLBACK_WA-CB_PROG     = SY-REPID.
    CALLBACK_WA-CB_FORM     = 'PROG_PERNR'.
    APPEND CALLBACK_WA TO CALLBACK.
    Refresh: Seltab.
    Clear: Seltab.
    SELTAB_WA-SELNAME = 'PERNR'.
    SELTAB_WA-SIGN    = 'I'.
    SELTAB_WA-KIND    = 'P'.
    SELTAB_WA-OPTION  = 'EQ'.
    CLEAR SELTAB_WA-LOW.
    CLEAR SELTAB_WA-HIGH.
    APPEND SELTAB_WA TO SELTAB.
    Refresh: TEXPR, FSEL.
    Clear: TEXPR, FSEL.
    CALL FUNCTION 'LDB_PROCESS'
      EXPORTING
        LDBNAME                     = 'PNP'
        EXPRESSIONS                 = TEXPR[]
        FIELD_SELECTION             = FSEL[]
      TABLES
        CALLBACK                    = CALLBACK
        SELECTIONS                  = SELTAB
      EXCEPTIONS
        LDB_NOT_REENTRANT           = 1
        LDB_INCORRECT               = 2
        LDB_ALREADY_RUNNING         = 3
        LDB_ERROR                   = 4
        LDB_SELECTIONS_ERROR        = 5
        LDB_SELECTIONS_NOT_ACCEPTED = 6
        VARIANT_NOT_EXISTENT        = 7
        VARIANT_OBSOLETE            = 8
        VARIANT_ERROR               = 9
        FREE_SELECTIONS_ERROR       = 10
        CALLBACK_NO_EVENT           = 11
        CALLBACK_NODE_DUPLICATE     = 12
        OTHERS                      = 13.
       case sy-subrc.
          when 1.  raise ldb_not_reentrant.
          when 2.  raise ldb_incorrect.
          when 3.  raise ldb_already_running.
          when 4.  raise ldb_error.
          when 5.  raise ldb_selections_error.
          when 6.  raise ldb_selections_not_accepted.
          when 7.  raise variant_not_existent.
          when 8.  raise variant_obsolete.
          when 9.  raise variant_error.
          when 10. raise free_selections_error.
          when 11. raise callback_no_event.
          when 12. raise callback_node_duplicate.
        endcase.
      if sy-subrc ne 0.
          message id sy-msgid type sy-msgty number sy-msgno
               with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *&      Form  PROG_PERNR
    *       text
    *      -->NAME       text
    *      -->WA         text
    *      -->EVT        text
    *      -->CHECK      text
    FORM PROG_PERNR USING NAME  TYPE LDBN-LDBNODE
                          WA    TYPE PERNR
                          EVT   TYPE C
                          CHECK TYPE C.
        message id sy-msgid type sy-msgty number sy-msgno
               with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      CASE EVT.
        WHEN 'G'.
          WRITE: / WA-PERNR.
          ULINE.
        WHEN 'L'.
      ENDCASE.
    ENDFORM.                    "PROG_PERNR

    Yes, this is the best way of fill out these tables. But my problem is different, I'm trying to get the infotypes info through a BADI or function module.
    I received a response from SAP about how to resolve this issue. I need to use the old way:
    SUBMIT...RETURN to call another report with the PNP/PNPCE Logical Database.
    That's the reason for use the LDB_PROCESS function module. (SUBMIT...RETURN uses too many memory and processor resources) Now I know that this function module does not work with HR Logical Databases because the Infotypes structures. 
    Thank you by your quick reponse.
    José

  • Func Module : LDB_PROCESS and Logical Database ADA

    Hi All,
    How to get 'ANLB' data from logical database 'ADA' using the
    function module 'LDB_PROCESS'?
    Is there any other way to done this without getting into SELECTION SCREEN of this LOGICAL DATABASE?
    With Thanls & Regards,
    R.Nagarajan.
    We can -

    Hi,
    Using LDB_PROCESS will made all the fields of this LDB available to you......this is the way ..you can use n number of LDB's in your program apart from the one that u mention in Program attributes....
    for more details and Function call..use..
    Re: How to hide the selection screen of a Logical datebase?

  • LDB_PROCESS for PNP

    Hi all,
    I am trying to use LDB_PROCESS function module for logical database PNP but am not sucessful in it.
    I am pasting my code below:
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
    The problem i am facing is that the FM is processed perfectly but callback routine is not called.
    Kindly help...
    Seema Peswani
    ABAP HR
    Edited by: Rob Burbank on Nov 13, 2009 9:43 AM

    CALLBACK_WA-LDBNODE = 'PERNR'.
    CALLBACK_WA-GET = 'X'.
    *CALLBACK_WA-GET_LATE = 'X'.
    CALLBACK_WA-CB_PROG = SY-REPID.
    CALLBACK_WA-CB_FORM = 'CALLBACK_LFB1'.
    APPEND CALLBACK_WA TO CALLBACK.
    SELTAB_WA-KIND = 'S'.
    SELTAB_WA-SELNAME = 'KD_ABKRS'.
    LOOP AT S_ABKRS.
      MOVE-CORRESPONDING S_ABKRS TO SELTAB_WA.
      APPEND SELTAB_WA TO SELTAB.
    ENDLOOP.
    CALL FUNCTION 'LDB_PROCESS'
      EXPORTING
        LDBNAME                     = 'PNP'
        VARIANT                     = ' '
        EXPRESSIONS                 = TEXPR
        FIELD_SELECTION             = FSEL
        DYN_NODE_TYPES              = DYN_NODE_TYPES
      TABLES
        CALLBACK                    = CALLBACK
        SELECTIONS                  = SELTAB
      EXCEPTIONS
        LDB_NOT_REENTRANT           = 1
        LDB_INCORRECT               = 2
        LDB_ALREADY_RUNNING         = 3
        LDB_ERROR                   = 4
        LDB_SELECTIONS_ERROR        = 5
        LDB_SELECTIONS_NOT_ACCEPTED = 6
        VARIANT_NOT_EXISTENT        = 7
        VARIANT_OBSOLETE            = 8
        VARIANT_ERROR               = 9
        FREE_SELECTIONS_ERROR       = 10
        CALLBACK_NO_EVENT           = 11
        CALLBACK_NODE_DUPLICATE     = 12
        CALLBACK_NO_PROGRAM         = 13
        CALLBACK_NO_CBFORM          = 14
        DYN_NODE_NO_TYPE            = 15
        DYN_NODE_INVALID_TYPE       = 16
        OTHERS                      = 17.
    IF SY-SUBRC NE 0.
      WRITE: 'Exception with SY-SUBRC', SY-SUBRC.
    ENDIF.
    FORM CALLBACK_LFB1 USING NAME TYPE LDBN-LDBNODE
                             WA TYPE PERNR
                             EVT TYPE C
                             CHECK TYPE C.
      CASE EVT.
        WHEN 'G'.
          WRITE: / WA-PERNR.
       WHEN 'L'.
         ULINE.
      ENDCASE.
    ENDFORM.                    "CALLBACK_PERNR

  • Issues with parallel processing in Logical Database PCH and PNP

    Has anyone encountered issues when executing programs in parallel  that utilizes the logical database PCH or PNP?
    Our scenario is the following:
    We having have 55 concurrent jobs that execute a program that use the logical database PCH at a given time.  We load the the PCHINDEX table with the code below.
          wa_pchindex-plvar = '01'.
          wa_pchindex-otype = 'S'.
          wa_pchindex-objid_low = index_objid.
          APPEND wa_pchindex TO pchindex.
    We have seen instances where when the program is executed in parallel, with each process having its own range of positions id's, that some positions are dropped or some are added that is outside the range of the given process.
    For example:
    process 1 has a range of positions ID's 1-10
    process 2 has a range of positions ID's 11-20
    process 3 has a range of positions ID's 21-30
    Process 3 drops position 25 and adds position 46.
    Has anyone faced a similar issue?
    Thanks for your help.
    Best Regards,
    Duke

    Hi,
    first of all, you should read [Using Parallel Execution|http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/usingpe.htm#DWHSG024] in documentation for your version - almost all of these topics are covered there.
    1. According to my server specification how much DOP i can specify.It depends not only on number of CPU. More important factors are settings of PARALLEL_MAX_SERVERS and PARALLEL_ADAPTIVE_MULTI_USER.
    2. Which option for Setting Parallel is good - Using the 'alter table A parallel 4' or passing the parallel hints in the sql statementsIt depends on your application. When setting PARALLEL on a table, all SQL dealing with that table would be considered for parallel execution. So if it is normal for your app to use parallel access to that table, it's OK. If you want to use PX on a limited set of SQL, then hints or session settings are more appropriate.
    3. We have a batch processing jobs which are loading data into the tables from flat files (24*7) using sql loader. is it possible to parallel this operation and any negative effect if enabled parallel.Yes, refer to documentation.
    4. Query or DML - which one will be perform best with parallel option.Both may take advantages of using PX (with some restrictions to Parallel DML) and both may run slower than non-PX versions.
    5. What are the negative issue if parallel option is enabled.1) Object checkpoint happens before starting parallel FTS (true for >=10gR2, before that version tablespace checkpoint was used)
    2) More CPU and memory resources are used with PX - it may be both benefit and an issue, especially with concurrent PX.
    6. what are the things to be taken care while enabling the parallel option.Read the documentation - it contains almost all you need to know. Since you are using RAC, you sould not forget about method of PX slaves load balancing between nodes. If you are on 10g, refer to INSTANSE_GROUPS/PARALLEL_INSTANCE_GROUPS parameters, if you are using 11g then properly configure services.

  • Having issues with Microsoft ISATAP Adapter and Adapter #2, Teredo Tunneling Pseudo-Interface and PnP devices

    I have gone through troubleshooting and says driver needs to be reinstalled.  On the Adapter and Teredo I am getting an error code 10 cannot start.  I have a disc for drivers and apps.  Should I go in and uninstall them and then use the
    legacy thing and then fix the problem with my disc?  I have windows update to configure updates in drivers so what is going on?  

    I have gone through troubleshooting and says driver needs to be reinstalled.  On the Adapter and Teredo I am getting an error code 10 cannot start.
    Hi,
    Have you tried to enable IPV6 and then check if you can start Teredo?
    Locate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es\TCPIP6\Parameters
    Check whether the "DisabledComponents" registry key exists. If so, please double click the "DisabledComponents"
    registry key and modify the value to 0.
    Fix: "This device cannot start" Code 10 error in Device Manager in Windows
    http://support.microsoft.com/kb/943104/en-us
    Andy Altmann
    TechNet Community Support

  • Logical Database PNP. HR and Unicode

    Hi,
    currently we are checking all programs to make them unicode compliant. Using the logical database PNP a lot of macros is loaded automatically. One of them is
    rp_provide_from_last (or rp_provide_from_frst) to get the last record in a specifed time-interval. The existance is stated in varaible named pnp-sw-found, it is 0 if no record was found and 1 if there is one in existance.
    Checking the program (normal syntach check and extended syntax check) leads to the warning that varaibale names with a hyphen are no longer allowed in unicode programs if its not a structure (and pnp-sw-found is not). The program is doing well, and transaction UCCHECK does not mention this error/warning at all. Has someone experience with that issue and perhaps a solution?
    cu
      Rainer

    Thanks for the answers so far. Using PNPCE does not resolve my problem, cause we have a lot of own written reports and i just want to avoid to change them all.
    And using PNPCE idoes not solve the problem, that i have to use pnp-sw-found, this one is still in existance and gives still the warning that thois is not unicode compliant.
    Switching off the unicode flag is no good idea if we wanna go for unicode.
    Anyone else with experience in unicode in the HR Area?

  • Logical databse call using FM LDB_PROCESS in ABAP WD

    hi
    i want to use LDB in a webdynpro application to read the data. i came to know that we can use LDB_PROCESS FM to achieve this.  we need to pass callback routines to this FM. as we can not write subroutines in ABAP OO, how do i do this. do i need a wrapper FM around LDB_PROCESS and call that in turn in the webdynpro method or is there any better way to do that.
    thanksl
    Edited by: sudhakar murthy on Oct 20, 2009 4:10 PM

    hi
    if you go through that help link you will find an example at the bottom where we need define some call back routines using FORM and ENDFORM. I can not do that in ABAP WD as WD is based on ABAP OO.
    thanks

  • Time infotype macrocs and time infotype definition.

    Hi All,
    Please provide me the following information
    1. what are the MACRO related to time infotypes ?
    2. how to define infotypes for Time data ?
    3. what is thedifference between PNPCE and PNP logical database ?
    Please provide me some documents and smaal code snippets or program.. to get tghe clear idea afor the same..
    Please reply asap..its urgent..
    Thanx in advance.
    Amruta Sawant.

    Hi Jothi,
    use this macro for all time infotypes
    <b>rp_read_all_time_ity pn-begda pn-endda</b>.
    Bhawanidutt

  • FM LDB_PROCESS

    Hi Friends,
    I am using LDB 'SD_SALES_DOCUMENTS' 'for SD in my program. I am calling FM LDB_PROCESS and want to pass dynamic selection screen to this FM. it is passing but it is taking only single value.
    Let us suppose, i am passing sales order as dynamic selection. but only single value it will accepy. If i put mutiple entry, it is not going to accept.
    Please suggest me.
    Thanks & Regards,
    Manoj

    Take a look at the Std Report RVKUSTA1 & you will know how to pass the Sle scr.
    ~Suresh

  • How can I put check conditions when using Function 'LDB_PROCESS'

    Hy experts,
    I am using LDB_PROCESS and I don't know how to use check conditions in the callback forms.
    for example:
    FORM CALLBACK_QALS USING  NAME  TYPE LDBN-LDBNODE
                              WA    TYPE QALS
                              EVT   TYPE C
                              CHECK TYPE C.
    CASE EVT.
       WHEN 'G'.
         MOVE-CORRESPONDING wa to ITAB_QALS.
         APPEND ITAB_QALS.
    ENDCASE.
    endform.                    " CALLBACK_QALS
    Have anyone an example of how I can use check conditions in this type of form???
    thx in advance

    Hi
    U should indicate in which node (the GET) you need to check the condition, you form should have the following interface:
    FORM <formname> USING <nodename> LIKE LDBCB-LDBNODE
                           <workarea> (LIKE ...)
                           <mode>
                           <selected>.
    So the code should be:
    CHECK <WORKAREA>-FIELD = ............
    Max

  • HCK Studio encountered a critical failure and needs to exit now-Gee, I better not touch that "Apply Filters" button again!

    Exception Details:
    Microsoft.Windows.Kits.Hardware.ObjectModel.ProjectManagerException: Failed to revert filters for taskResult with Id: 2092. ---> System.Data.SqlClient.SqlException: Incorrect syntax near ')'.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.SetFiltersAppliedColumnForResults(Boolean setFilterAppliedFlag, SqlProvider provider, List`1 results)
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.Revert(ITaskResultFilterHistory originalFilterHistory, ReadOnlyCollection`1 testLogs)
       --- End of inner exception stack trace ---
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.Revert(ITaskResultFilterHistory originalFilterHistory, ReadOnlyCollection`1 testLogs)
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.WttTask.RevertStatistics(ITaskResultFilterHistory filterHistory)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFilters(Task taskResult, List`1 expiredFilterInfo)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFiltersToChildTasks(Task taskResult, Dictionary`2 expiredFilterCache)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFilters(Project project)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.Filter(Project project)
       at Microsoft.Windows.Kits.Hardware.UI.Views.Results.UpdateFiltersLink_Click(Object sender, RoutedEventArgs e)
       at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
       at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
       at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Button.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    Event Log Entries:
    [3/19/2015 12:40 PM]<Studio UI> Exception Message:
    Microsoft.Windows.Kits.Hardware.ObjectModel.ProjectManagerException: Failed to revert filters for taskResult with Id: 2092. ---> System.Data.SqlClient.SqlException: Incorrect syntax near ')'.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.SetFiltersAppliedColumnForResults(Boolean setFilterAppliedFlag, SqlProvider provider, List`1 results)
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.Revert(ITaskResultFilterHistory originalFilterHistory, ReadOnlyCollection`1 testLogs)
       --- End of inner exception stack trace ---
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.Revert(ITaskResultFilterHistory originalFilterHistory, ReadOnlyCollection`1 testLogs)
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.WttTask.RevertStatistics(ITaskResultFilterHistory filterHistory)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFilters(Task taskResult, List`1 expiredFilterInfo)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFiltersToChildTasks(Task taskResult, Dictionary`2 expiredFilterCache)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFilters(Project project)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.Filter(Project project)
       at Microsoft.Windows.Kits.Hardware.UI.Views.Results.UpdateFiltersLink_Click(Object sender, RoutedEventArgs e)
       at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
       at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
       at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Button.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    [3/19/2015 12:40 PM]<FilterEngine> Reverting filters found in test 'Sleep and PNP (disable and enable) with IO Before and After (Certification - Software Device)' instance='apple_number_1'
    [3/19/2015 12:40 PM]<FilterEngine> Reverting 4 expired filters for project 'apples4sale64'
    [3/19/2015 12:09 PM]<Studio UI> Exception Message:
    Microsoft.Windows.Kits.Hardware.ObjectModel.ProjectManagerException: Failed to revert filters for taskResult with Id: 2092. ---> System.Data.SqlClient.SqlException: Incorrect syntax near ')'.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.SetFiltersAppliedColumnForResults(Boolean setFilterAppliedFlag, SqlProvider provider, List`1 results)
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.Revert(ITaskResultFilterHistory originalFilterHistory, ReadOnlyCollection`1 testLogs)
       --- End of inner exception stack trace ---
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.Revert(ITaskResultFilterHistory originalFilterHistory, ReadOnlyCollection`1 testLogs)
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.WttTask.RevertStatistics(ITaskResultFilterHistory filterHistory)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFilters(Task taskResult, List`1 expiredFilterInfo)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFiltersToChildTasks(Task taskResult, Dictionary`2 expiredFilterCache)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFilters(Project project)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.Filter(Project project)
       at Microsoft.Windows.Kits.Hardware.UI.Views.Results.UpdateFiltersLink_Click(Object sender, RoutedEventArgs e)
       at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
       at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
       at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Button.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    [3/19/2015 12:09 PM]<FilterEngine> Reverting filters found in test 'Sleep and PNP (disable and enable) with IO Before and After (Certification - Software Device)' instance='apple_number_1'
    [3/19/2015 12:09 PM]<FilterEngine> Reverting 4 expired filters for project 'apples4sale64'
    [3/19/2015 12:03 PM]<Studio UI> Exception Message:
    Microsoft.Windows.Kits.Hardware.ObjectModel.ProjectManagerException: Failed to revert filters for taskResult with Id: 2092. ---> System.Data.SqlClient.SqlException: Incorrect syntax near ')'.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.SetFiltersAppliedColumnForResults(Boolean setFilterAppliedFlag, SqlProvider provider, List`1 results)
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.Revert(ITaskResultFilterHistory originalFilterHistory, ReadOnlyCollection`1 testLogs)
       --- End of inner exception stack trace ---
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.Revert(ITaskResultFilterHistory originalFilterHistory, ReadOnlyCollection`1 testLogs)
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.WttTask.RevertStatistics(ITaskResultFilterHistory filterHistory)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFilters(Task taskResult, List`1 expiredFilterInfo)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFiltersToChildTasks(Task taskResult, Dictionary`2 expiredFilterCache)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFilters(Project project)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.Filter(Project project)
       at Microsoft.Windows.Kits.Hardware.UI.Views.Results.UpdateFiltersLink_Click(Object sender, RoutedEventArgs e)
       at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
       at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
       at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Button.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    [3/19/2015 12:03 PM]<FilterEngine> Reverting filters found in test 'Sleep and PNP (disable and enable) with IO Before and After (Certification - Software Device)' instance='apple_number_1'
    [3/19/2015 12:03 PM]<FilterEngine> Reverting 4 expired filters for project 'apples4sale64'
    [3/19/2015 12:02 PM]<Studio UI> Exception Message:
    Microsoft.Windows.Kits.Hardware.ObjectModel.ProjectManagerException: Failed to revert filters for taskResult with Id: 2092. ---> System.Data.SqlClient.SqlException: Incorrect syntax near ')'.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.SetFiltersAppliedColumnForResults(Boolean setFilterAppliedFlag, SqlProvider provider, List`1 results)
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.Revert(ITaskResultFilterHistory originalFilterHistory, ReadOnlyCollection`1 testLogs)
       --- End of inner exception stack trace ---
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.TaskResultAdjuster.Revert(ITaskResultFilterHistory originalFilterHistory, ReadOnlyCollection`1 testLogs)
       at Microsoft.Windows.Kits.Hardware.ObjectModel.DBConnection.WttTask.RevertStatistics(ITaskResultFilterHistory filterHistory)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFilters(Task taskResult, List`1 expiredFilterInfo)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFiltersToChildTasks(Task taskResult, Dictionary`2 expiredFilterCache)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.DatabaseFilterEngine.RevertExpiredFilters(Project project)
       at Microsoft.Windows.Kits.Hardware.FilterEngine.BaseFilterEngine.Filter(Project project)
       at Microsoft.Windows.Kits.Hardware.UI.Views.Results.UpdateFiltersLink_Click(Object sender, RoutedEventArgs e)
       at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
       at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
       at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Button.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    System Information:
    Available Virtual Memory: 3,109.00 MB
    Available Physical Memory: 2,393.00 MB
    Available Space on drive C:\: 189,390.00 MB
    Available Space on drive C:\: 189,390.00 MB

    Hi,
    Can you find the "updatefilters" in your HCK control PC?  Some file maybe lost.
    Thanks, Steve

  • 645, GeForce2, XP and AGP IRQ

    I've had a 645 Ultra-C MB for about 6 months now and all was fine until I "upgraded" to Windows XP...
    I've hit a problem where the NVidia GF2 drivers don't start correctly and seem to have found that I need to set the VGA IRQ in the bios (The M$oft GF2 drivers do work, but don't support Glide/OpenGL).
    I think I saw a couple of references to this in other threads, but can someone please confirm that this feature is lacking in the MSI AMI BIOS and that I therefore can't solve the problem? Is there an official list of things that MSI have committed to fixing in future BIOS releases?
    Steve

    Quote
    Originally posted by Assaf
    Sounds like that's it. If it's got an IRQ that means it's enabled by default.
    In the bios PNP section, are the resources set to auto and PNP OS set to NO ?
    Resources are set to auto, but there's no setting for PNP OS that I can find. I think the problem is made worse by Windows XP which doesn't necessarily pay attention to what the BIOS sets. It currently has my display driver set to IRQ 16 (which is a virtual IRQ), despite the BIOS showing IRQ 10.
    All I've got to believe in on this is similar problem reports about Windows 2000 and one or two I've find of similar problems with Windows XP. The problem didn't exist with Windows 98SE, so I know that it's not a physical hardware problem as such.
    Sounds like my son can't play Medal of Honour (the offending OpenGL game) until I upgrade my PC to a new motherboard...

  • External USB Hard Drive Setup - My Experience

    Short Summary: I reformatted my 300Gb external hard drive to Mac Extended format (not journaled) with 3 separate partitions: Photos, Music, and Backup Files. Plugged the HD into the AirPort base station and then ran the AirPort Disk Utility (HD accessed via base station password) and place the AP Disk Utility icon on the task bar. I clicked on the icon, entered my password, and the three partitions appeared on my desktop. I am now able to read/write to the HD with both Mac computers and my Windows computer (loaded with the windows version of AP Utility software) via my wireless network.
    My Hardware: Cable Modem, AirPort (AP) Extreme 802.11n, SeaGate 300GB USB/Fire Wire External HD, iMac w/ core duo, PowerBook Pro w/ core duo, AP Express setup as a print server, and my Windows XP computer for gaming.
    Initial Setup: I shut down all computers and replaced my old AP extreme with the new one. I plugged in the SeaGate HD to the AP base station, turned on the AP then turned on the HD. Turned on my PowerBook (PB) Pro, loaded the new AP software and was connected to the internet with no problem. Similar to other posting on this topic, my external HD was not visible despite running AP Disk Utility.
    Follow on troubleshooting: The HD was formatted in Mac Extended (Journaled) and had 9 GB of data that was stored via USB wire directly from my PB Pro. I transfered the data to my PB Pro via USB and then, using the standard OS10 Disk Utility application, reformatted the HD in Mac Extended (Journaled) with 3 partitions. I reconnected the HD to the AP base station and ran AP disk utility again. Lo and behold, the 3 partitions showed up on the desktop of my PB Pro. I loaded the AP software onto my iMac and Windows Computer and they both recognized the HD. I successfully op tested file transfer via the wireless network (about 2.5 MB/sec data transfer rate).
    The Kicker: I then ejected the HD from my computers, disconnected it from the AP base station, and then hooked it directly to my PB Pro to transfer 11 GB of music files. As expected the data transfer rate was much higher. I reconnected the HD to the AP base station but the HD got hung up and was no longer accessible via the wireless network. I connected another external HD (ACOM 160 GB, NTFS file format) and while it was accessible, not all files were visible. I disconnected the ACOM HD from the AP base station, hooked it directly to my PB Pro, transferred 1 GB of music files and reconnected it to the AP base station. It reappeared on my PB Pro after running the AP Disk Utility, however, the files I just transferred were not visible. Noticing a pattern, I have determined that for my hardware lineup, any files that are directly transferred to the HDs either cause the HD to hang up or are not visible. I can only speculate on why this occurs; maybe there is a causal link to the format standard of the disk (NTFS, Mac Extended (journaled) or the processing of pre-existing data on the HD.
    The Final Fix: I connected the Seagate HD to my PB Pro with a USB cable and then cleared it of all data by erasing all partitions and contents using the normal Disk Utility application. I then re-formatted and re-partitioned to 3 partitions with the Mac Extended format (not journaled). I reconnected the HD to the AP base Station, went through the AP disk utility again and all 3 partitions were made available to both of my Mac computers and my Windows computer. Data transfer is now strictly limited to wireless transfers.
    Conclusion: Though the wireless transfer takes longer, all data is present, visible and accessible by all three computers. Once the data is present, applications such as iPhoto and iTunes works just fine with minimal drop off in performance. While my experience with my Apple computers has been somewhat more satisfying than adding new hardware to my windows platform, this particular case demonstrates that data standards and PnP are still elusive goals in the computer industry.
    Cheers and hope this helps someone,
    HCW3
    iMac and PowerBook Pro   Mac OS X (10.4.6)  

    Tom,
    Welcome to the world of cross polination between OS X and Windows, glad to know I am not alone.
    First off, you should load the APE software on all computers using your wireless network. This will enable you to access the USB HD from all computers.
    Secondly, I am not certain if it is necessary to reformat your HD. I had the good fortune of having only a few files on my SeaGate 300GB so it was somewhat painless for me to reformat. This is what I do know from years of building windows computers and setting up my current network: starting with clean disks is always the best way to build a new system. With that said, try this: connect your second maxtor (the one with the itunes library) to the APE USB port and access it via your MacBook Pro. Go into Finder, select that drive and type .mp3 into the spotlight box. Does it find your music files on that drive? When your double click on a song it should play. If you go back into finder and select that USB drive again, do you see a folder for that artist? If you answer yes to the previous questions you are experiencing the same thing I did. Whenever I wrote files to the USB drive via the USB cable, they were not visible when I accessed the drive wirelessly. I have not figured out why this is so and I am sorry that this doesn't really help you out.
    As far as the windows computer not seeing the USB drive via the ethernet connection, that is a tough one to troubleshoot since the APE would presumably allow hardwire connectivity. It seems to me that the APE should be acting similarly to a USB hub. It may have something to do with the modulation of the data stream between the USB line and the ethernet line, though this is probably a bad guess.
    My best advice would be to transfer your itunes and video to DVD-ROM disks and then reformat the USB drive to Mac Extended and assign it a new volume name. Plug it in to the APE and verify you can access it via all your computers. If so, transfer the music back to the USB disk wirelessly. This will take a while so do it before you go to bed. I recognize that this is a very neanderthal work around, however, it will preserve your files and allow you to start from a clean slate. It will also take a while for itunes to repopulate the library list from the new location of the files, so start this before you leave the house for work.
    Howard Warner
    iMac and PowerBook Pro   Mac OS X (10.4.8)  

Maybe you are looking for

  • Multiple level headers in column of an ALV report

    Hi All, I have  a requirement . I need to display a two level coloumn in alv grid display . Example :                           | Cust no    |   Address        |                                                                                |        

  • Error message: the ipod cannont be restored at this time because the ipod software update server could not be contacted or is temporarily unavailable

    I have an ipod touch 3rd gen and i just had to remove itunes and reinstall it. I'm now trying to update my ipod to version 5 and this comes up as it says i have to revert to factory setttings to install the update. Thanks in advance!

  • [solved] After Gnome 3.8/Kernel update bumblebee is broken

    After some troubles with Gnome 3.8 and GDM and getting back to work bumblebee is broken. I guess the troubles came with the new kernel. $ optirun -vv glxgears [ 184.945324] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 184.946196] [DEBUG]optir

  • "Apple TV is not authorized to play this."

    Even though I'm iTunes sees my aTV and the aTV is set up on the same network as my computer ... all of a sudden when I select a show to be played it says "Apple TV is authorizing..." and after a while it turns to the little yellow triangle with "!" a

  • How to include javascript on form load

    Hello, I am new to JDeveloper. I wanted to include multiple javascript files in a jspx file. Then involve one of the functions in the javascript file. Below is what I am trying to do, but seems like the syntax is wrong: <?xml version='1.0' encoding='