ICBooking Debugging Execution

Hi experts,
I am desperate with ICBooking... My configuration was working fine and unexpectedly ICBooking began writing only zero values. I have tried everything and result is exactly the same right booking accounts but zero values and Package successful result.
My version is BPC 7.5 NW SP10.
Could anyone help me how to debug ICBooking execution?
Thanks in advance

You should post this question in one of forums that are relevant to the products you are using. This is a forum for questions about Sun Web Server.
Alternatively, you could use our product and come back to this particular forum when you have questions. We will be very happy to help you.
http://www.sun.com/software/products/web_srvr/home_web_srvr.xml

Similar Messages

  • Is there a possibility to change step-parameters during debug execution ?

    Would be helpfull to be able to change step-parameters during step-by-step dubugging execution.
    Has someone got an idea ?

    Hi bestware,
    I am assuming you want to provide some sort of debug from your Operator Interface.
    I've been looking at using the SequenceFilePreStep and SequenceFilePostStep to provide some sort of debug.
    Using the SequenceFilePreStep callback you could place some code in here to evaluate the step running (about to be executed) and display an appropiate Dialog box to allow the user to change any of the available parameter.
    My simple example tests if the step is a NumericLimitTest step type and if so, allows the user to change the Upper Limits only (said it was simple).
    Now to Looking at the Locals and Parameters in the Sequence of the Step about to be performed. You will have to look at RunState.Caller.Locals and RunState.Caller.Parameters. Get a list
    of the variables, find out the type and provide the suitable interface to be able to modify the contents.
    Look at here http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=506500000005000000FF750000&HTHREAD=000030207&UCATEGORY_0=_8_&UCATEGORY_S=0 and see what Dan has been doing in this area.
    Hope this is a start.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Debug_Example.zip ‏6 KB

  • Strange behavior of db update in debugging and no debugging execution mode

    Hi Experts,
    I am finding a strange behavior of certain Z update function (to update equipment install base) : The update happens perfectly if I go into debug mode and do a F6 on the function call. But if I executed it completed without going in debug mode, that update does not happen!
    I checked the function and found that it does have COMMIT WORK AND WAIT which gets triggered every time I call this function.
    Also does compiling the code with some changes and executing in cycles have any affect on the behavior of code? Do I need to do a /nse38 every time, before I do executing? I am not sure this is in any way related to the problem.
    Will appreciate your helpful responses on this.
    Best regards,
    Vishnu T

    Withing the Z function, it is the calls to SAP standard functions that are doing the update. Here is the function body
    FUNCTION Z_B_BAPI_EQMT_INSTALLHR.
    *"*"Local interface:
    *"       IMPORTING
    *"             VALUE(EQUIPMENT) LIKE  BAPI_EQUI-EQUIPMENT
    *"             VALUE(SUPEREQUI) LIKE  BAPI_EQHR-SUPEREQUI
    *"             VALUE(POSEQUI) LIKE  BAPI_EQHR-POSEQUI OPTIONAL
    *"             VALUE(DATE) LIKE  SY-DATUM DEFAULT SY-DATUM
    *"             VALUE(TIME) LIKE  SY-UZEIT DEFAULT SY-UZEIT
    *"             VALUE(COMMIT) LIKE  VBMOD-VBMODE DEFAULT SPACE
    *"       EXPORTING
    *"             VALUE(EQUIMASTER) LIKE  BAPI_EQUI STRUCTURE  BAPI_EQUI
    *"             VALUE(EQUITIME) LIKE  BAPI_EQUZ STRUCTURE  BAPI_EQUZ
    *"             VALUE(EQUITEXT) LIKE  BAPI_EQKT STRUCTURE  BAPI_EQKT
    *"             VALUE(EQUILOCATION) LIKE  BAPI_ILOA
    *"                             STRUCTURE  BAPI_ILOA
    *"             VALUE(EQUISALES) LIKE  BAPI_EQSD STRUCTURE  BAPI_EQSD
    *"             VALUE(EQUIHIERARCHY) LIKE  BAPI_EQHR
    *"                             STRUCTURE  BAPI_EQHR
    *"             VALUE(RETURN) LIKE  BAPIRETURN STRUCTURE  BAPIRETURN
      CLEAR: EQUIMASTER, EQUITIME, EQUITEXT, EQUILOCATION.
      CLEAR: EQUISALES, EQUIHIERARCHY, RETURN.
    * Object key must not be initial.
      IF EQUIPMENT IS INITIAL.
        CALL FUNCTION 'MESSAGE_SET_AND_CONVERT'
             EXPORTING
                  MSG_CLASS  = 'IS'
                  MSG_TYPE   = 'E'
                  MSG_NUMBER = '498'
                  MSG_PARM1  = 'EQUIPMENT'
             IMPORTING
                  RETURN     = RETURN.
        EXIT.
      ENDIF.
    * Superior equipment must not be initial.
      IF SUPEREQUI IS INITIAL.
        CALL FUNCTION 'MESSAGE_SET_AND_CONVERT'
             EXPORTING
                  MSG_CLASS  = 'IS'
                  MSG_TYPE   = 'E'
                  MSG_NUMBER = '498'
                  MSG_PARM1  = 'EQUIPMENT'
             IMPORTING
                  RETURN     = RETURN.
        EXIT.
      ENDIF.
    * Specified equipment number must exist.
      PERFORM EQUIPMENT_CHECK_VEQUI                             "P9CK056992
        USING                                                   "P9CK056992
          EQUIPMENT "->equipment number                         "P9CK056992
          'X'       "->record must exist (will be read)         "P9CK056992
          'X'       "->record must be locked                    "P9CK056992
          NEW_VEQUI "<-before image read                        "P9CK056992
          I_CODE.   "<-error code                               "P9CK056992
      IF I_CODE <> 0.
        CALL FUNCTION 'MESSAGE_CONVERT'
             EXPORTING
                  SY_SUBRC = 4
             IMPORTING
                  RETURN   = RETURN
             EXCEPTIONS
                  OTHERS   = 1.
        EXIT.
      ENDIF.
    * Superior equipment must exist.
      PERFORM EQUIPMENT_CHECK_VEQUI                             "P9CK056992
        USING                                                   "P9CK056992
          SUPEREQUI "->superior technical object number         "P9CK056992
          'X'       "->object must exist (will be read)         "P9CK056992
          SPACE     "->object will not be locked                "P9CK056992
          OLD_VEQUI "<-object data read                         "P9CK056992
          I_CODE.   "<-error code                               "P9CK056992
      IF I_CODE <> 0.
        CALL FUNCTION 'MESSAGE_CONVERT'
             EXPORTING
                  SY_SUBRC = 4
             IMPORTING
                  RETURN   = RETURN
             EXCEPTIONS
                  OTHERS   = 1.
        EXIT.
      ENDIF.
    * Install equipment
      CALL FUNCTION 'EQUIPMENT_INSTALL'
           EXPORTING
                READ_SOBJ   = ' '
                READ_ROBJ   = ' '
                LOCK_SOBJ   = ' '                               "P9CK056992
                POSEQUI     = POSEQUI
                I_DATE      = DATE
                I_TIME      = TIME
                EXEC_MEAS   = 'X'                               "P9CK159924
           CHANGING
                S_EQUI      = NEW_VEQUI
                R_EQUI      = OLD_VEQUI
           EXCEPTIONS
                ERR_INSTALL = 1
                OTHERS      = 2.
      I_CODE = SY-SUBRC.
    * Fill return structure.
      CALL FUNCTION 'MESSAGE_CONVERT'
           EXPORTING
                SY_SUBRC = I_CODE
           IMPORTING
                RETURN   = RETURN
           EXCEPTIONS
                OTHERS   = 1.
      IF RETURN-TYPE <> 'S'.                                    "P9CK056992
        PERFORM EQUIPMENT_UNLOCK USING EQUIPMENT.               "P9CK056992
        EXIT.                                                   "P9CK056992
      ENDIF.                                                    "P9CK056992
    * Copy local view structure to export structures.
      PERFORM MOVE_VIEW_TO_EQUIPMENT USING NEW_VEQUI EQUIMASTER EQUITIME
                                           EQUITEXT EQUILOCATION EQUISALES
                                           EQUIHIERARCHY.
      CALL FUNCTION 'CHECK_COMMIT'
           EXPORTING
                COMMIT_MODE              = COMMIT
           EXCEPTIONS
                ERR_COMMIT_WORK_AND_WAIT = 1
                OTHERS                   = 2.
    ENDFUNCTION.
    The COMMIT parameter is passed with value 'S' which is an indication to CHECK_COMMIT to do COMMIT WORK AND WAIT. And I am always passing an S and as I said that the update in fact does happen if I do a F6 on the CALL to the above function.

  • When debugging, a for loop is not entered even though the number 6 is passed to "N".

    I cannot figure out why a for loop is not entered when I debug it. When debugging a value of 6 is clearly passed to "N", the number of iterations the loop is supposed to execute. So when I debug, execution highlighting just parses right over the loop, even though I request to enter the loop. Everything inside of the loop is not executed. Have you experienced this before? - Any ideas?

    As mentioned by "eh" auto-indexed arrays that are empty will cause this.
    A "FOR loop" will itereate as many times as is indicated by the smallest number elements in any of its auto-indexed inputs.
    When you watch it in execution-highlighting, you probably will see a "0" coming in on an auto-indexed input.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Debugging script logic

    Hi.
    Can we step by step debug execution of BPC script logic  watching action of each script command?

    Hi,
    To access the ABAP code from UJKT:
    u2022     Enter the script logic in the lower left.
    u2022     Validate.
    u2022     Enter in dimension member restrictions.
    u2022     Enter '/H' into the command field and press enter on your key board.
    Hope this helps.

  • Report deployed on production server show different data from that in debug mode

    Hi,
    i have created a report that use temporary tables and when i get the preview on Management Studio show some data, but when i deploy the same report on the production server i see that the data is different!!!!
    To check this issue i create a simple table on which i transfer the results data before to show it on the report and with my surprise  the number of rows of the production execution is less than the debug execution!!!!
    Notice that i use the same value for the report parameters.
    Any idea?
    Thanks a lot!!!

    Hi ,
      Check in your solution folder and try to find .data file.
      Delete the data .Data file on the same name of your report and run the report from SSMS.
      Check the below link on clearing report cache
      http://jasonfaulkner.com/ClearDataCacheBIS.aspx
    Best Regards Sorna

  • Access is Denied -- Site Upgrade Upgrade from Foundation 2010 to Foundation 2013

    I'm trying to do a Site Upgrade from Foundation 2010 to 2013 and I keep getting Access Denied during the site upgrade process
    This is the error I keep seeing:
    Inner Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Here is the log file.
    "02/28/2014 10:23:02.36 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebWssSequence ajyxw DEBUG [Navision] NeedsUpgrade = true, SchemaVersion = 4.0.25.0, TargetSchemaVersion = 15.0.30.0. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.36 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxmv DEBUG NeedsUpgrade [Navision] true because of upgrader [Microsoft.SharePoint.Upgrade.SPWebWssSequence] 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.36 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxmx DEBUG NeedsUpgrade [Navision] returned: True. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.36 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxn3 DEBUG Disposing Navision. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.36 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxni DEBUG Upgrading [Navision]. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.36 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebWssSequence ajywv DEBUG Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.36 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebWssSequence2 ajy8z DEBUG Begin upgrade of SPWeb scoped features. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1p DEBUG Template upgrade: Skipped upgrade WebTemplate XML for template 'STS#0' at: 'C:\Program Files\Common Files\Microsoft
    Shared\Web Server Extensions\15\CONFIG\Upgrade\WssUpgrade.xml'. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1t DEBUG Template upgrade:   Upgrade XML: <WebTemplate ID="1" LocaleId="*" FromProductVersion="4"
    BeginFromSchemaVersion="0" EndFromSchemaVersion="2" ToSchemaVersion="3" /> 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1q DEBUG Template upgrade:   FromProductVersion '4' does not match current database version '3' for template 'STS#0'. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1p DEBUG Template upgrade: Skipped upgrade WebTemplate XML for template 'STS#0' at: 'C:\Program Files\Common Files\Microsoft
    Shared\Web Server Extensions\15\CONFIG\Upgrade\WssUpgradeB2B.xml'. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1t DEBUG Template upgrade:   Upgrade XML: <WebTemplate ID="1" LocaleId="*" FromProductVersion="4"
    BeginFromSchemaVersion="0" EndFromSchemaVersion="2" ToSchemaVersion="3" /> 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1q DEBUG Template upgrade:   FromProductVersion '4' does not match current database version '3' for template 'STS#0'. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebTemplateSequenceForWeb ajy7f INFO Template STS#0: Web template upgrade for web/site [I deleted URL]6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebTemplateSequenceForWeb ajyw2 DEBUG SPRequest Objects=0 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebTemplateSequenceForWeb ajyw2 DEBUG SQL Query Count=0 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebTemplateSequenceForWeb ajyw2 DEBUG Execution Time=0.438254023905273 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebWssSequence ajyxl INFO [Navision] IsBackwardsCompatible = False, CurrentVersion = 4.0.25.0, BackwardsCompatibleSchemaVersion = 15.0.30.0, TargetSchemaVersion
    = 15.0.30.0. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxn1 DEBUG UPGRADE PROGRESS: current object = [Navision], current sequence = [SPWebWssSequence], action 1 out of total 14 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxn2 DEBUG UPGRADE PERCENTAGE: 5.21488095% done, Total Elapsed Time 00:00:08.8762641. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywc DEBUG Begin Initialize() 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywd DEBUG End Initialize() 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywe INFO Provision new master pages for O15 onto all webs and perform Visual Upgrade. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.37 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywf DEBUG Begin Upgrade() 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:02.42 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajyqo INFO Modifying UIVersion field choices on the master page gallery in site: navision  Site Url: [I
    deleted URL]6052f9bdc7c9
    02/28/2014 10:23:03.65 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajyqp INFO Provisioning seattle master page in site: navision  Site Url: [I deleted URL]6052f9bdc7c9
    02/28/2014 10:23:04.15 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUtility ajy0k INFO Master page 'seattle.master' already exists in the master page gallery, so there is no need to provision it. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:04.15 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajyqq INFO Updating masterpage in site: navision  Site Url: [I deleted URL]6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebWssSequence ajywk ERROR Action 15.0.3.0 of Microsoft.SharePoint.Upgrade.SPWebWssSequence failed. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebWssSequence ajywk ERROR Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebWssSequence ajywk ERROR    at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)    
    at Microsoft.SharePoint.Library.SPRequest.OpenWeb(String bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& pbstrDescription, String& pbstrTitleResourceId, String& pbstrDescriptionResourceId, Guid& pguidID, DateTime&
    pdtTimeCreated, String& pbstrRequestAccessEmail, UInt32& pwebVersion, Guid& pguidScopeId, UInt32& pnAuthorID, UInt32& pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24, Int16& pnCollation, UInt32& pnCollationLCID,
    Int16& pnCalendarType, Int16& pnAdjustHijriDays, Int16& pnAltCalendarType, Boolean& pbShowWeeks, Int16& pnFirstWeekOfYear, UInt32& pnFirstDayOfWeek, Int16& pnWorkDays, Int16& pnWorkDayStartHour, Int16& pnWorkDayEndHour,
    Int16& pnMeetingCount, Int32& plFlags, Boolean& bConnectedToPortal, String& pbstrPortalUrl, String& pbstrPortalName, Int32& plWebTemplateId, Int16& pnProvisionConfig, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl,
    String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl,
    String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, UInt64& ppermMask, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm, Guid& pguidUserInfoListID, Guid& pguidUniqueNavParent, Int32& plSiteFlags,
    DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, String& pbstrWelcomePage, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& plSiteSchemaMajorVersion, Int32& plSiteSchemaMinorVersion,
    Int32& plSiteSchemaBuildVersion, Int32& plSiteSchemaRevisionVersion, Int32& puiVersion, Int16& pnClientTag, Boolean& pfIsEvalSite, Guid& pgSourceSiteId, DateTime& pdtExpirationDate, Guid& pgEvalSiteId, Guid& pguidAppProductId,
    String& pbstrRemoteAppUrl, String& pbstrOAuthAppId, String& pbstrAppDatabaseName, Guid& pgAppDatabaseServerReferenceId, String& pbstrAppDatabaseTargetApplicationId, String& pbstrAppWebDomainId, Int32& plUpgradeFlags, DateTime&
    pdtReminderDate, UInt64& pmaskDeny)     at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_Title()     at Microsoft.SharePoint.SPSite.OpenWeb(Guid gWebId, Int32 mondoHint)    
    at Microsoft.SharePoint.SPWeb.<ClearMasterCssCaches>b__0()     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()     at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated
    secureCode)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)    
    at Microsoft.SharePoint.SPWeb.Update()     at Microsoft.SharePoint.Upgrade.VisualUpgradeAction15.Upgrade()     at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade() 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywl DEBUG Begin Rollback() 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywm DEBUG End Rollback() 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywp DEBUG Begin Dispose() 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywq DEBUG End Dispose() 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywr DEBUG SPRequest Objects=6 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywr DEBUG SQL Query Count=17 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade VisualUpgradeAction15 (15.0.3.0) ajywr DEBUG Execution Time=4867.40689109929 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxnk ERROR Upgrade [Navision] failed. Microsoft.SharePoint.Upgrade.SPWebWssSequence has the ContinueOnFailiure bit set. Moving
    on to the next object in sequence. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxnk ERROR Inner Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxnk ERROR    at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)    
    at Microsoft.SharePoint.Library.SPRequest.OpenWeb(String bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& pbstrDescription, String& pbstrTitleResourceId, String& pbstrDescriptionResourceId, Guid& pguidID, DateTime&
    pdtTimeCreated, String& pbstrRequestAccessEmail, UInt32& pwebVersion, Guid& pguidScopeId, UInt32& pnAuthorID, UInt32& pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24, Int16& pnCollation, UInt32& pnCollationLCID,
    Int16& pnCalendarType, Int16& pnAdjustHijriDays, Int16& pnAltCalendarType, Boolean& pbShowWeeks, Int16& pnFirstWeekOfYear, UInt32& pnFirstDayOfWeek, Int16& pnWorkDays, Int16& pnWorkDayStartHour, Int16& pnWorkDayEndHour,
    Int16& pnMeetingCount, Int32& plFlags, Boolean& bConnectedToPortal, String& pbstrPortalUrl, String& pbstrPortalName, Int32& plWebTemplateId, Int16& pnProvisionConfig, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl,
    String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl,
    String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, UInt64& ppermMask, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm, Guid& pguidUserInfoListID, Guid& pguidUniqueNavParent, Int32& plSiteFlags,
    DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, String& pbstrWelcomePage, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& plSiteSchemaMajorVersion, Int32& plSiteSchemaMinorVersion,
    Int32& plSiteSchemaBuildVersion, Int32& plSiteSchemaRevisionVersion, Int32& puiVersion, Int16& pnClientTag, Boolean& pfIsEvalSite, Guid& pgSourceSiteId, DateTime& pdtExpirationDate, Guid& pgEvalSiteId, Guid& pguidAppProductId,
    String& pbstrRemoteAppUrl, String& pbstrOAuthAppId, String& pbstrAppDatabaseName, Guid& pgAppDatabaseServerReferenceId, String& pbstrAppDatabaseTargetApplicationId, String& pbstrAppWebDomainId, Int32& plUpgradeFlags, DateTime&
    pdtReminderDate, UInt64& pmaskDeny)     at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_Title()     at Microsoft.SharePoint.SPSite.OpenWeb(Guid gWebId, Int32 mondoHint)    
    at Microsoft.SharePoint.SPWeb.<ClearMasterCssCaches>b__0()     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()     at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated
    secureCode)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)    
    at Microsoft.SharePoint.SPWeb.Update()     at Microsoft.SharePoint.Upgrade.VisualUpgradeAction15.Upgrade()     at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade() 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxnk ERROR Exception: Action 15.0.3.0 of Microsoft.SharePoint.Upgrade.SPWebWssSequence failed. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxnk ERROR    at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()     at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object
    o, Boolean bRecurse) 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxnn DEBUG Elapsed time upgrading [Navision]: 00:00:04. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxn6 DEBUG Disposing Navision. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxp7 DEBUG Found subweb template STS#0 (lcid: 1033) for ContentDatabase WSS_Content. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxmf DEBUG CanUpgrade [Customer Service Team] returned: True. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxnh DEBUG Customer Service Team IsGrown=False IsRoot=False IsLeaf=True. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPUpgradeSiteSession ajxmf DEBUG CanUpgrade [Customer Service Team] returned: True. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebTemplateSequenceForWeb ajy68 DEBUG Loading onet.xml at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\SiteTemplates\STS\xml\onet.xml 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPWebTemplateSequenceForWeb ajy7b DEBUG Template STS#0: Calculated a target template version of '15.0.0.3' with target compatibility level of '15'
    for the 'STS#0' template. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1p DEBUG Template upgrade: Skipped upgrade WebTemplate XML for template 'STS#0' at: 'C:\Program Files\Common Files\Microsoft
    Shared\Web Server Extensions\15\CONFIG\Upgrade\WssUpgrade.xml'. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1t DEBUG Template upgrade:   Upgrade XML: <WebTemplate ID="1" LocaleId="*" FromProductVersion="4"
    BeginFromSchemaVersion="0" EndFromSchemaVersion="2" ToSchemaVersion="3" /> 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1q DEBUG Template upgrade:   FromProductVersion '4' does not match current database version '3' for template 'STS#0'. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1p DEBUG Template upgrade: Skipped upgrade WebTemplate XML for template 'STS#0' at: 'C:\Program Files\Common Files\Microsoft
    Shared\Web Server Extensions\15\CONFIG\Upgrade\WssUpgradeB2B.xml'. 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1t DEBUG Template upgrade:   Upgrade XML: <WebTemplate ID="1" LocaleId="*" FromProductVersion="4"
    BeginFromSchemaVersion="0" EndFromSchemaVersion="2" ToSchemaVersion="3" /> 42b4789c-6c14-203b-54a5-6052f9bdc7c9
    02/28/2014 10:23:07.24 OWSTIMER (0x0678) 0x0A50 SharePoint Foundation Upgrade SPXmlConfiguration ajy1q DEBUG Template upgrade:   FromProductVersion '4' does not match current database version '3' for template 'STS#0'. 42b4789c-6c14-203b-54a5-6052f9bdc7c9"

    do you have the any no access / locked sites in that database and also any site which exceed its quota.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to Trigger SY-UCOMM User Event  in ALV

    Hi Folks,
    Currently I have a classic ALV report where I need to remove all the standard ALV buttons and replace it with one custom button.  Given that, there is a parameter in REUSE_ALV_GRID_DISPLAY that deals with the user command event.  But during the debug/execution of the custom button, the value of sy-ucomm(R_UCOMM in my example below), is always blank.
    Moreover, I did some relevant search here in SDN also before I paste my F1 here.  If you're going to take a look at my code below, it's exactly the same as what the other relevant topic in user event in ALV.
      PERFORM pf_status_kanban  USING rt_extab.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = w_repid
          i_callback_top_of_page   = 'F_TOPOF_PAGE'
          i_callback_pf_status_set = 'PF_STATUS_KANBAN'  "Exclude ALV standard buttons      
          i_callback_user_command  = 'F_USER_COMMAND'     "Subroutine for SY-UCOMM
    *      i_callback_top_of_page   = 'TOP_OF_PAGE'
          is_layout                = t_alv_layout
          it_fieldcat              = t_alv_fcat[]
          it_sort                  = t_alv_sort
          is_variant               = t_gs_variant
          it_events                = t_events            "Events for AT USER-COMMAND
    *      IT_EVENT_EXIT            = 'AT USER-COMMAND'
        TABLES
          t_outtab                 = t_output.
    FORM F_USER_COMMAND  USING    p_r_ucomm   LIKE sy-ucomm
                                  rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN 'DOWNLOAD'.
          PERFORM f_generate_col USING t_output.
        WHEN OTHERS.
      ENDCASE.
    ENDFORM.                    " F_USER_COMMAND
    FORM F_USER_COMMAND  USING    p_r_ucomm   LIKE sy-ucomm
                                  rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
    *    WHEN 'EXCEL'.
    *      PERFORM f_generate_col USING t_output.
        WHEN 'DOWNLOAD'.
          PERFORM f_generate_col USING t_output.
        WHEN OTHERS.
      ENDCASE.
    ENDFORM.                    " F_USER_COMMAND
    Thanks and regards,
    Jaime

    Hi Martin,
    Yes, I ensure that the function code in my custom button is exactly the same as the condition for the sy-ucomm.
    The call routine for the PF_STATUS_KANBAN is just a test since it seems like Iu2019m chasing a phantom issue here.
    Yes, w_repid is set correctly.
    DATA:
    w_repid LIKE sy-repid.                                              "Report ID.
    INITIALIZATION.
      w_repid = sy-repid.
    It seems like the documentation im reading
    Parameter R_UCOMM contains the function code triggered. is not happening as expected...
    Thanks.
    Jaime
    Edited by: Jaime Cabanban on May 7, 2009 10:16 AM

  • Windows Vista Home, Visual Studio 2008 sp1, Oracle 11g  Error Access

    Hi:
    Im new in occi for visual studio, im try to do some with occi, i dowloaded and installed vc9 libs and inc and instant client basic and sdk, but i can connect, can you help me?
    this is my history
    First-chance exception at 0x52902721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    Unhandled exception at 0x52902721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    'acad.exe': Loaded 'C:\app\Usser3\product\11.1.0\client_1\instantclient_11_1\vc9\oraocci11.dll'
    'acad.exe': Loaded 'C:\app\Usser3\product\11.1.0\client_1\oci.dll', Binary was not built with debug information.
    'acad.exe': Loaded 'C:\Windows\System32\msvcr71.dll'
    'acad.exe': Loaded 'C:\app\Usser3\product\11.1.0\client_1\oraociei11.dll', Binary was not built with debug information.
    'acad.exe': Loaded 'C:\Program Files\AutoCAD Map 3D 2010\dbghelp.dll'
    The thread 'Win32 Thread' (0x1718) has exited with code 0 (0x0).
    First-chance exception at 0x527b2721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    Unhandled exception at 0x527b2721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    oraociei11.dll     C:\app\Usser3\product\11.1.0\client_1\oraociei11.dll     N/A     N/A     Binary was not built with debug information.          436     OraOCIEI11.dll - 11.1.0.1.0
    oracore11.dll - 11.1.0.7.0 Product     01/10/2008 03:45 a.m.     1A480000-214C1000*     [5728] acad.exe: Native     
         oci.dll     C:\app\Usser3\product\11.1.0\client_1\oci.dll     N/A     N/A     Binary was not built with debug information.          434     11.1.0.1.0     01/10/2008 03:22 a.m.     19C70000-19CF2000*     [5728] acad.exe: Native     
         dbghelp.dll     C:\Program Files\AutoCAD Map 3D 2010\dbghelp.dll     N/A     N/A     Symbols not loaded.          437     6.10.0003.233 (debuggers(dbg).080908-1333)     08/09/2008 03:46 p.m.     520A0000-521BE000     [5728] acad.exe: Native     
         oraocci11.dll     C:\app\Usser3\product\11.1.0\client_1\instantclient_11_1\vc9\oraocci11.dll     N/A     N/A     Symbols not loaded.          433     11.1.0.6.0 Production     20/08/2008 03:45 a.m.     19BE0000-19C67000*     [5728] acad.exe: Native     
    acad.exe': Loaded 'C:\Users\Usser3\Documents\Visual Studio 2008\Projects\GEOM\Win32\Debug\GEOM.arx', Symbols loaded.

    Hi Luis,
    It looks like you are working with a debug build:
    'prueba2_oci.exe': Loaded 'C:\Users\Usser3\Documents\Visual Studio 2008\Projects\prueba2_oci\Debug\prueba2_oci.exe', Symbols loaded. <=== I see Debug in the path, so this looks like a debug build.
    But then further down in your output I see this:
    'prueba2_oci.exe': Loaded 'C:\instantclient_11_1\vc9\oraocci11.dll' <=== This is the release build of OCCI dll not the debug build.
    You appear to be mixing debug and release libraries which will not work correctly.
    This is in the following step in the blog post:
    "Expand Configuration Properties node, expand Linker node, select Input item, enter "oraocci11d.lib" for a debug build or "oraocci11.lib" for a release build."
    If you are creating a debug build you need to use oraocci11d.lib as input to the linker.
    You use oraocci11.lib as input to the linker for the release build.
    For your reference, this is what you should see in the output window in Visual Studio for the debug execution:
    'OCCITest.exe': Loaded 'C:\Projects\OCCITest\Debug\OCCITest.exe', Symbols loaded.
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
    'OCCITest.exe': Loaded 'C:\instantclient_11_1\vc9\oraocci11d.dll'  <=== Notice this is the debug version of the occi library (oraocci11d.dll not oraocci11.dll)
    'OCCITest.exe': Loaded 'C:\instantclient_11_1\oci.dll', Binary was not built with debug information.
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\psapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcr90d.dll', Symbols loaded.
    'OCCITest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcp90d.dll', Symbols loaded.
    'OCCITest.exe': Loaded 'C:\instantclient_11_1\oraociei11.dll', Binary was not built with debug information.
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\shell32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\iphlpapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\dbghelp.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\version.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\userenv.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\hnetcfg.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll'
    'OCCITest.exe': Unloaded 'C:\WINDOWS\system32\netapi32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msctf.dll'
    The program '[776] OCCITest.exe: Native' has exited with code 0 (0x0).EDIT: Can you check to make sure you are linking the correct library and let us know if that works?
    Regards,
    Mark

  • Package Decomposition context menu

    I am on v1215 and I love the package decomposition (especially jumping to the selected item on double-click), but I have just noticed the context menu on the procedures and functions in the decomposition.
    The only item that appears in the context menu on procedures and functions is "New ..." which is the same as the New button on the main toolbar. Variables displayed in the decomposition do not get a context menu.
    However, if I have a stored procedure or function open in the Connection pane, select it (opens the procedure/function) display the context menu for it (Open, Compile, Compile for Debug, Run, Debug, Execution Profile, Grant, Revoke, Drop, Compile Dependents) and then, without selecting the function/procedure in the Package decomposition, I right-click on it, the context menu is now New ..., Compile, Compile for Debug.
    If I reselect the stored procedure and then right click on a variable in the Package decomposition, I get Compile and Compile for Debug and the menu options.
    The same appears to happen for any object type - including views, tables, indexes, etc.
    If I then select the procedure in the Package decomposition, the context menu reverts to "New ..." and the Compile and Compile for Debug option disappear from the context menu for the stored procedure (so long as I don't select it before right-clicking on it).
    Two issues here:
    1) Shouldn't the package decomposition context menu for public procedures and functions allow the Run option (what I was hoping to find when I first tried)?
    2) The Compile and Compile for Debug options are not available consistently - they should always be available for objects that can be compiled (stored procedure, function, package, trigger, etc) and never available for objects that cannot be compiled (tables, views, indexes, items in the decomposition of packages, etc).

    Please take a look at this article by Carlos:
    HOWTO: Getting information about Visual Studio windows from an add-in
    It talks about how to get the window information, including a tool window's information. But as I tested, we can't access to the Modules window's object, it's always null:
    So I think the Visual Studio doesn't expose the ability for us to customize the Modules window.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • JDev 10.1.3.1 + Java 1.6 - GUI Problems

    Hi All,
    since adding Java 1.6 to my project libraries - the GUI developer has been acting strangely. In particular toolbars refuse to display any command buttons placed on them. But when I run the application, they buttons are all visible.
    If I add several buttons to the toolbar using the GUI developer, they are visible. If I then rebuild the form - the buttons vanish. If I run the application, the buttons are visible.
    Any ideas
    TIA
    Bill
    -

    After further analysis it appears that if I duplicate an existing JInternalFrame that doesn't display the command butttons on the toolbar (using the GUI designer) and just start removing code, eventually the buttons will be displayed. (the buttons are always correctly displayed during either debug execution or normal execution). If I then start putting code back, I can reach a 'toggle point' - remove a single class = buttons are displayed, add the class back = buttons 'disappear'. (There being no other references to the class being added/removed)
    I tried increasing the memory options - but that had no effect.
    So what next ? - the application is a MDI with 100+ JInternalFrames - (most of which have associated JTables + DB access). It's currently packaged as a single Jar.
    TIA
    Bill

  • Windowsbase.pdb missing after upgrade to 10041 so VC2013Debug NOT working

    Press in PF11 or PF10 after a debug execution is halted with a Pf9 induced breakpoint on a line of C# code(VC2013 Community edition) always fails with the above error.
    This started immediately after windows 10 was upgraded from 9926 to 10041.
    I have rebooted my PC back to Windows 8.1 (dual boot) and there is no problem.

    Hi David,
    My suggestion is uninstall the KB setup file to see whether this issue still exists.
    It may have a conflict file with VC2013.
    Thank you for visiting the MSDN forum. I’m afraid that it is not the correct forum about this issue, since
    this forum is to discuss Visual C#. I am moving your question to the moderator forum
    ("Where is the forum
    for..?"). The owner of the forum will direct you to a right forum. Thanks
    for your understanding.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Worklist taskExecute Permission AccessException

    Hi.
    I am using WLI on WebLogic Server 7.0 /NT.
    I get an Insufficient Permission exception when attempting to invokde worklist.taskExecute()
    from a WebApp running within an EAR in WebLogic.
    Strangely enough worklist.taskExecute() works fine from a remote client.
    Any suggestions?
    The attached file is the stack trace.
    The code below is my class delegating calls to the worklist:
    package com.bony.gtmworkflow.eventConsole;
    import com.bea.wlpi.common.*;
    import com.bea.wlpi.server.admin.*;
    import com.bea.wlpi.server.catalog.*;
    import com.bea.wlpi.server.principal.*;
    import com.bea.wlpi.server.serverproperties.*;
    import com.bea.wlpi.server.worklist.*;
    import com.bony.GTMI.utils.*;
    import org.apache.log4j.*;
    import java.io.*;
    import java.lang.*;
    import java.rmi.RemoteException;
    import java.text.*;
    import java.util.*;
    import java.util.List;
    import javax.ejb.EJBObject;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    import javax.transaction.*;
    public class CLWorklist {
    public static Logger log;
    public static CLWorklist instance = null;
    public static final String DEFAULT_URL = "t3://localhost:7001";
    public static final String USER="bonyuser";
    public static final String PASSWORD="bony";
    Admin               admin;
    Context               ctx;
    WLPIPrincipal     principal;
    Worklist          worklist;
    public static CLWorklist Instance()
    if(instance == null)
    synchronized(CLWorklist.class)
    if(instance == null)
    instance = new CLWorklist();
    return instance;
    private CLWorklist()
    log = Log4JUtil.Instance().getLoggerByName(CLWorklist.class);
    boolean isConnected;
                   /* Connecting to the Server; Failed connecting? */
    if( !( isConnected = mngConnection(DEFAULT_URL, USER, PASSWORD ) ) )
    log.error("failed to establish WL connection");
    System.exit(1);
    setActiveOrg("BONY");
    private boolean mngConnection( String url, String userId, String password )
    boolean isConnected = false;
    log.log(Priority.DEBUG, "\nConnecting to WLPI Server" );
    if( isConnected = connect( url, userId, password ) )
    log.log(Priority.DEBUG, "- Connected" );
    else
    log.error( "*** Unable to connect\n" );
    return( isConnected );
    public void setActiveOrg(String orgId ) {
    try {
    worklist.setActiveOrganization( orgId );
    /* WLPI Public API Method */
    /* Confirm that the operation was succesful */
    String activeOrgId = worklist.getActiveOrganization( );
    log.log(Priority.DEBUG, "- The active organization is now " + activeOrgId
    catch( Exception e )
    log.error( "*** Failed to set the Active Organization (ID: " +
    orgId + ")" );
    log.error( e );
    public TaskInfo[] getTasks()
    TaskInfo til[] = null;
    try
    List taskList = worklist.getTasks();
    til = new TaskInfo[taskList.size()];
    taskList.toArray(til);
    catch (Exception ex)
    log.error(ex);
    finally
    return til;
    public String sendClientResponse(String templateDefId,String instanceId, String
    xml, String nodeID)
    String result = null;
    log.log(Priority.DEBUG,"nodeID is: " + nodeID);
    log.log(Priority.DEBUG,"xml is: " + xml);
    try
    result = worklist.response(templateDefId,
    instanceId,nodeID,xml);
    catch (com.bea.wlpi.common.WorkflowException wfex)
    log.error(wfex);
    wfex.printStackTrace();
    wfex.getNestedException().printStackTrace();
    catch(java.rmi.RemoteException remex)
    log.error(remex);
    finally
    log.log(Priority.DEBUG,"got the return code: " + result);
    return result;
    public String execTask(String templatedDefId, String instanceId, String taskId)
    String result = null;
    try
    result = worklist.taskExecute(templatedDefId,
    instanceId,
    taskId);
    catch (Exception ex)
    log.error(ex);
    finally
    log.log(Priority.DEBUG,"execution result:\n" + result);
    return result;
    private boolean connect( String url, String userId, String password )
    try {
    /* Create a context using supplied values for JNDI lookup */
    ctx = getInitialContext( url, userId, password );
    /* WLPIPrincipal - Retrieve named object from the JNDI tree */
    Object result = ctx.lookup( "com.bea.wlpi.WLPIPrincipal" );
    WLPIPrincipalHome principalHome = ( WLPIPrincipalHome )PortableRemoteObject.narrow(
    result, WLPIPrincipalHome.class );
    principal = principalHome.create( );
    /* Worklist - Retrieve named object from the JNDI tree */
    result = ctx.lookup( "com.bea.wlpi.Worklist" );
    WorklistHome worklistHome = ( WorklistHome )PortableRemoteObject.narrow(
    result, WorklistHome.class );
    worklist = worklistHome.create( );
    return true;
    catch( NullPointerException ne )
    log.error(ne);
    catch( Exception e )
    log.error(e);
    return false;
    private void disconnect( )
    try {
    ctx.close();
    catch (Exception e)
    log.error(e);
    EJBObject ejbs[] = {admin, principal, worklist };
    for( int i = 0; i < ejbs.length; i++ )
    try
    ejbs.remove( );
    catch( Exception e )
    log.error(e);
    private Context getInitialContext( String url, String userId, String password
    throws NamingException
    try {
    Hashtable h = new Hashtable( );
    h.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"
    h.put( Context.PROVIDER_URL, url );
    if( userId != null )
    h.put( Context.SECURITY_PRINCIPAL, userId );
    if( password == null )
    password = "";
    h.put( Context.SECURITY_CREDENTIALS, password );
    return new InitialContext( h );
    catch( Exception e )
    log.error(e);
    return null;
    [stack.txt]

    David Mrozek wrote:
    >
    I've written my own worklist application in Swing. I'm using WLI 2.0 and Solaris
    2.8.
    Unfortunately, I have to set my DISPLAY variable on the server before running
    the startmydomain.sh script. This is bad, because I can't keep the server process
    running in the background (after I log off). But if I DON'T set the DISPLAY,
    I get the following error when I run my client application:[snip]
    Dave,
    I have that exact problem right here - except I don't seem to be able to
    fix
    it by setting the DISPLAY variable(?).
    If I use DISPLAY=localhost:0.0 I start the server, it doesn't change a
    thing.
    However, if it works for you, you should still be able to start the
    server,
    and then logoff. What if you did -
    "DISPLAY=yourhost:0.0 nohup ./startmydomain.sh & " - wouldn't that solve
    your problem ?
    regards,
    Per Jessen, BEA Switzerland.

  • SHIPPING EXECUTION에 대해 DEBUG FILE을 생성하는 방법

    제품: Applications
    작성날짜 : 2006-05-30
    SHIPPING EXECUTION에 대해 DEBUG FILE을 생성하는 방법
    ==========================================
    PURPOSE
    Shipping Execution에 대해 Debug file을 생성하는 방법을 기술함.
    Explanation
    Log file을 생성하기 위한 여러 방법들이 있으며, 이는 다음과 같은 patch level에 의해 결정된다.
    A. debug file from the Shipping Transaction or Quick Ship forms in
    version 11.5.9 or higher.
    B. debug file for Pick Release in version 11.5.9 (Family pack I)
    or higher.
    C. debug file for Pick Release prior to version 11.5.9
    D. debug file for Interface Trip Stop - SRS in version 11.5.9
    (Family pack I) or higher.
    E. debug file for Interface Trip Stop - SRS prior to version
    11.5.9 (Family pack I).
    F. debug file for an API in version 11.5.9 (Family pack I) or higher:
    G. debug file for an API prior version 11.5.9 (Family pack I):
    A. To generate a debug file from the Shipping Transaction or
    Quick Ship forms in version 11.5.9 (Family pack I) or higher:
    1. Set the following profile options:
    OM: Debug Level - set to 5
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
    WSH: Debug Log Directory - any directory that can be written to by
    the database
    여기서, 설정하는 directory는 다음을 check하여야 합니다.
    To check, run the following SQL statement:
    Code:
    select value from v$parameter
    where name = 'utl_file_dir'
    Set profile option WSH: Debug Log Directory at the Site
    & Application Level.
    2. Shipping form --> Tools
    Debug box를 check. ==> This will print out a file name
    - NOTE down this file name.
    3. Perform the action you wish to debug.
    4. Tools --> uncheck Debug box.
    5. After you have completed generating the debug file,
    set profile OM: Debug Level back to 0
    WSH: Debug Enabled set to No
    6. step 1의 debug directory밑에 debug file이 생성됨.
    B. To generate debug information for Pick Release in version 11.5.9 or
    higher:
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
    2. Release Sales Order for Picking form --> Tools
    ==>check the Debug box.
    3. Submit the pick release.
    4. Provide "Pick Selection List Generation" log file.
    C. To generate debug for Pick Release prior to version 11.5.9 :
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    2. Release Sales Order for Picking form --> Tools
    ==>check the Debug box.
    3. Submit the pick release.
    4. Provide "Pick Selection List Generation" log file.
    D. To generate debug for Interface Trip Stop - SRS in 11.5.9 or higher:
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
    Set the Debug Level parameter to 1 (Debugging ON) .
    2. Submit the job.
    3. Provide the log file.
    E. To generate debug for Interface Trip Stop - SRS prior to 11.5.9:
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    Set the Debug Level parameter to 1 (Debugging ON) .
    2. Submit the job.
    3. Provide the log file.
    F. To generate debug for an API in 11.5.9 or higher:
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
    WSH: Debug Log Directory - set to a valid writeable directory path
    2. Add the following line of code in the wrapper script which calls
    the API:
    Code:
    DECLARE
    l_file_name VARCHAR2(32767);
    l_return_status VARCHAR2(32767);
    l_msg_data VARCHAR2(32767);
    l_msg_count NUMBER;
    BEGIN
    fnd_profile.put('WSH_DEBUG_MODULE','%');
    fnd_profile.put('WSH_DEBUG_LEVEL',WSH_DEBUG_SV.C_STMT_LEVEL);
    wsh_debug_sv.start_debugger
    (l_file_name,l_return_status,l_msg_data,l_msg_count);
    3. Submit the job.
    4. Provide the log file.
    G. To generate debug for an API prior to 11.5.9 (Family pack I):
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    2. Add the following line of code in the wrapper script which calls
    the API:
    Code:
    oe_debug_pub.initialize;
    oe_debug_pub.SetDebugLevel(5);
    DBMS_OUTPUT.PUT_LINE('Debug File = '
    ||OE_DEBUG_PUB.G_DIR||'/'||OE_DEBUG_PUB.G_FILE);
    3. Submit the job.
    4. Provide the log file.
    Example
    Reference Documents
    Note#290432.1

  • Debugging a report on execution

    How do i debug a report a  during execution?
    1) I know we can do  this by putting a breakpoint in a Program before execution through se38.
    2) Or it can be done by putting a /h before execution.
    But what  if i forget to  put break point and also forget  /h. Now during the execution,the program takes a long time in processing , so i want to know at which statement or loop is the processing going on.Is there any transaction or way how i can find this out and then put a break point there .

    Hi Dilip
    As per my understanding,implementing the Watch Points mechanism is the best solution for your case.
    Using the watch points, we can came to know where exactly the problem is occuring if the execution is taking long hours.
    For example I have 1- 10000 employee numbers and for each employee,I am handling some mechanism.
    In this case suppose let assume EMP# 1024 is giving some problem.
    By putting the Watching point as EMPNo = 00001024, directly we can go to that EMP# part and can observe the problematic statements.
    Hope you got some idea if not please let me know so that I can provide more stuff with live examples.
    Regards,
    Sreeram Kumar.Madisetty

Maybe you are looking for