Failed to call Engine.StartLoginLogoutCallback to display user login dialog in C# code

I'm upgrading our custom operator interface using C# running in NET 2.0. I use Microsoft Windows Forms controls for building GUI. TestStand version is 3.1. I grab TestStand Engine Class ActiveX Control from toolbox in to the form just as I did before in my VB project. In the project references list, AxTS and TS are added in. I can call TestStand API functions through the engine object, for example I can load sequence files, create property objects, get engine properties. But when I call engine's StartLoginLogoutCallback(false, true), the user login dialog is not displayed as expected. By tracing into UI message handler code, I do not see execution start and execution end UI message, which means the fontend callback sequence is not executed or is not executed properly. I doubt that calling engine's NewExecution in my code will also have problem though I haven't tested. Has anybody encountered same problem before? Thanks for any answer in advance.

Hi Manooch,
Thank you very much for the help. I tried Engine.CallFrontEndCallbackEx, but it still doesn't work for me. I'm using TestStand 3.1. I created a very simple C# Windows application with Visual Studio 2005. In the toolbox of the project I Selected "Choose Items..." context menu to display the "Choose Toolbox Items" dialog. In the "COM Components" tab of the dialog I selected "TestStand Engine Class" so that I got reference to the TestStand engine in my project. The project compiles OK, The method to login/logout is as following:
 private void StartLoginLogoutCallback(bool logoutOnly, bool isInitialLogin) {    PropertyObject args = _engine.NewPropertyObject (PropertyValueTypes.PropValType_Container, false, "", 0);     args.SetValBoolean ("logoutOnly", 1/*PropOption_InsertIfMissing*/, logoutOnly);    args.SetValBoolean ("isInitialLogin", 1, isInitialLogin);    _engine.CallFrontEndCallbackEx ("LoginLogout", args, TypeConflictHandlerTypes.ConflictHandler_Error, 0); }
This method is called when the form is loaded:
 private void Form1_Load (object sender, EventArgs e) {    StartLoginLogoutCallback (false, true); }
I also tried to call StartLoginLogoutCallback method in a button click event handler, but it doesn't work either. I also notice that when I press "Exit" button which causes form's Close() method to be called, the application form does not close and I have to kill the application with task manager or to stop debugging if it is running in debug mode.
Could you please tell what's wrong? Thanks!
- cfyao 

Similar Messages

  • Display user login id on report

    Hi,
           I need to display user login  id on a report and also if needed i want to use it as a prompt.
           Let me know how I can achieve this.
           Thanks in Advance!!

    Gangise,
    to display user login id on a report
    =CurrentUser()
    to use it as a prompt
    In the Designer software you have access to @variable('BOUSER')
    Thanks,
    John

  • Multiple Users Login ( Help With The Code ) Please.

    Hi all. Please help me...
    I'm using www.wix.com to create my websites.
    but since Wix.com don't able us to have member system conecet to database, i use Flash SWF As3 files...
    Please can anyone help me with the Code?
    Username=1    /Password= 1    /Url= www.1.com
    Username=2    /Password= 2    /Url= www.2.com
    Username=2    /Password= 2    /Url= www.2.com
    *If user name 1 or 2 or 3 correct. Show massage ex: Welcome back, if not correct " Bad login"
    *When login, it will open the url but in new page after the old one closed.
    + There is anyway to add " Password recovaring box too"?
    but not connected to datdabase as i said?
    Please help me, please! i areadly have code but it don't work for more than one user.
    Thank u soooo much!!
    Loai

    Here's the code i have already,,
    but i don't know how to add more than one user + when login it open new window ( popup ) i want it to open in the same window...
    Please help.
    stop();
    //hide the password
    //pass_txt.displayAsPassword = true;
    //adding event listener to the login button
    login_mc.addEventListener(MouseEvent.CLICK, loginUser);
    function loginUser(e:MouseEvent):void{
    //if both username and password are correct let the user logged in
    if(name_txt.text == "1" && pass_txt.text == "1"){
    navigateToURL( new URLRequest( "http://www.wix.com/designersgroup/tutorials/9-1" ), "_blank" );
    display_txt.text = "Going to secure area";
    else if(name_txt.text != "1" && pass_txt.text != "1"){
    display_txt.text = "Login failed!";
    if(name_txt.text == "2" && pass_txt.text == "2"){
    navigateToURL( new URLRequest( "http://www.wix.com/designersgroup/tutorials/9-2" ), "_blank" );
    display_txt.text = "Going to secure area";
    else if(name_txt.text != "2" && pass_txt.text != "2"){
    display_txt.text = "Login failed!";

  • Set "peoples or groups" field with current user "login name" in sharepoint list form using javascript

    hi friends
    i am trying to set peoples or groups field in sharepoint  list form with current user login name
    here my code
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
    <script type="text/javascript">
    $(document).ready(function NewItemView () {
    var currentUser;
        if (SP.ClientContext != null) {
          SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser, 'SP.js');
        else {
          SP.SOD.executeFunc('sp.js', null, getCurrentUser);
        function getCurrentUser() {
          var context = new SP.ClientContext.get_current();
          var web = context.get_web();
          currentUser = web.get_currentUser();
          context.load(currentUser);
          context.executeQueryAsync(onSuccessMethod, onRequestFail);
        function onSuccessMethod(sender, args) {
          var account = currentUser.get_loginName();
          var accountEmail = currentUser.get_email();
          var currentUserAccount = account.substring(account.indexOf("|") + 1);
        SetAndResolvePeoplePicker("requester",account);
    // This function runs if the executeQueryAsync call fails.
        function onRequestFail(sender, args) {
          alert('request failed' + args.get_message() + '\n' + args.get_stackTrace());
     function SetAndResolvePeoplePicker(fieldName, userAccountName) {
       var controlName = fieldName;
        var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + "']");
        var peoplePickerEditor = peoplePickerDiv.find("[title='" + controlName + "']");
        var spPeoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[peoplePickerDiv[0].id];
        peoplePickerEditor.val(userAccountName);
        spPeoplePicker.AddUnresolvedUserFromEditor(true);
    </script>
    but it is not working
    please help me

    Hi,
    According to your post, my understanding is that you wanted to set "peoples or groups" field with current user "login name" in SharePoint list form using JavaScript.
    To set "peoples or groups" field with current user "login name”,  you can use the below code:
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
    <script type="text/javascript">
    function SetPickerValue(pickerid, key, dispval) {
    var xml = '<Entities Append="False" Error="" Separator=";" MaxHeight="3">';
    xml = xml + PreparePickerEntityXml(key, dispval);
    xml = xml + '</Entities>';
    EntityEditorCallback(xml, pickerid, true);
    function PreparePickerEntityXml(key, dispval) {
    return '<Entity Key="' + key + '" DisplayText="' + dispval + '" IsResolved="True" Description="' + key + '"><MultipleMatches /></Entity>';
    function GetCurrentUserAndInsertIntoUserField() {
    var context = new SP.ClientContext.get_current();
    var web = context.get_web();
    this._currentUser = web.get_currentUser();
    context.load(this._currentUser);
    context.executeQueryAsync(Function.createDelegate(this, this.onSuccess),
    Function.createDelegate(this, this.onFailure));
    function onSuccess(sender, args) {
    SetPickerValue('ctl00_m_g_99f3303a_dffa_4436_8bfa_3511d9ffddc0_ctl00_ctl05_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_UserField', this._currentUser.get_loginName(),
    this._currentUser.get_title());
    function onFaiure(sender, args) {
    alert(args.get_message() + ' ' + args.get_stackTrace());
    ExecuteOrDelayUntilScriptLoaded(GetCurrentUserAndInsertIntoUserField, "sp.js");
    </script>
    More information:
    http://alexeybbb.blogspot.com/2012/10/sharepoint-set-peoplepicker-via-js.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • You are not authorized to call up line item display (FB03)

    Hi,
    actually; I am facing a problem; one user is getting error message "You are not authorized to call up line item display" when he is trying to view the payment usage of document no in FB03 transaction code.
    I have checked and found that user is already having display access for the company code which he is putting under company code field.
    Also as per the SU53 screen shot; it is showing
    Authorization check failed for S_CTS_ADMI
    Field - CTS_ADMFCT
    for -  TABL
    I have not run the trace yet..
    Kindly advice on what could be the problem and solution for that...
    Many thanks in advance for your help.
    Regards,
    Anuj

    > Also as per the SU53 screen shot; it is showing
    >
    > Authorization check failed for S_CTS_ADMI
    > Field - CTS_ADMFCT
    > for -  TABL
    Total Questions:      8 (6 unresolved)
    Good match! 

  • How to display user profile information in master page header

    I am trying to display user profile info like following in custom master page.
    I have just added a html code for displaying this info.
    Now, please tell me how could i achieve this
    I am doing this in sharepoint 2013 on-premise.

    see below is example for javascript and userprofile information
    <script type="text/javascript">//<![CDATA[
    $(document).ready(function
    var currentUser;
    // Ensure that the SP.js is loaded
    if (SP.ClientContext
    != null)
    SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser,
    'SP.js');
    else
    SP.SOD.executeFunc('sp.js',
    null, getCurrentUser);
    function getCurrentUser()
    var context = new SP.ClientContext.get_current();
    var web = context.get_web();
    currentUser = web.get_currentUser();
    context.load(currentUser);
    context.executeQueryAsync(onSuccessMethod, onRequestFail);
    function onSuccessMethod(sender, args)
    var account = currentUser.get_title();
    var currentUserAccount = account.substring(account.indexOf("|")
    + 1);
    var currentUserAccountUnderScore = currentUserAccount.toLowerCase().replace(/\s/g,
    //alert(currentUserAccount);
    $("#username").text(currentUserAccount);
    $("#ProfileImage").attr("src",
    "https://mydomain-my.sharepoint.com/User%20Photos/Profile%20Pictures/"
    + currentUserAccountUnderScore +
    "_mydomain_onmicrosoft_com_MThumb.jpg");
    $("#ProfileImage").attr("alt", currentUserAccount
    + " User Profile Image");
    $("#ProfileImage").attr("class",
    "ss-profile-image");
    //This function runs if the executeQueryAsync call fails.
    function onRequestFail(sender, args)
    alert('request failed' + args.get_message()
    + '\n' + args.get_stackTrace());
    $("#ProfileImage").attr("src",
    "https://mydomain.sharepoint.com/SiteAssets/userImageDefault.jpg");
    //]]>
    </script>
    -Nilesh

  • [ModuleAdapter]Exception : Failed to call the module processor

    Hello,
    We deployed our Module Adapter on PI server and tried to execute it but we're having an exception :
    Exception caught during processing mail message[3]: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/fr.xx.xx.xx.ModueAdapterBean
    Mail : failed to call the module processor: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: object not found in lookup of fr.xx.xx.xx.ModuleAdapterBean
    We're working on SAP PI 7.11
    Do you have any idea of what could possibly cause this?
    Thanks in advance for your help.
    Imane.

    Thanks for responding Spantaleoni,
    In my application.xml, here is what I have :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
                                 "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
        <display-name>ModuleAdapterEAR</display-name>
        <description>EAR for Mail conversion </description>
        <module>
            <ejb>ModuleAdapterEJB.jar</ejb>
        </module>
    </application>
    And my application-j2ee-engine.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">engine.security.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">engine.j2ee14.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.aii.af.lib.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.af.svc.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="interface">com.sap.aii.af.ifc.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.base.technology.facade</reference-target>
         </reference>
         <provider-name>sap.com</provider-name>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>
    My ejb-j2ee-engine.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-j2ee-engine SYSTEM "ejb-j2ee-engine.dtd">
    <ejb-j2ee-engine>
         <enterprise-beans>
              <enterprise-bean>
                   <ejb-name>ModuleAdapterBean</ejb-name>
                   <jndi-name>ModuleAdapter</jndi-name>
                   <session-props/>
              </enterprise-bean>
         </enterprise-beans>
    </ejb-j2ee-engine>
    Edited by: ImaneA on Aug 2, 2011 3:36 PM

  • Anonymous user login - failed to start EP server

    Hi all,
    I changed UME properties to allow anonymous access on EP.
    1. Created a user "anonymous" on ABAP system ( i m using ABAP system for users no ldap)
    2. On ep.. System admin ->system configuration -> UM configuration -> Direct editing
    3. Changed ume.login.guest_user.uniqueids to "anonymous"
    4. ume.login.anonymous_user.mode = 1. This property was already 1.. so kept it as it is
    5. Save all changes and restarted the Server using MMC control. Ep dint start
    Developer trace:
    [Thr 3832] Thu Dec 15 11:04:23 2005
    [Thr 3832] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 3832] JLaunchISetClusterId: set cluster id 3930150
    [Thr 3832] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 3832] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 5760] Thu Dec 15 11:05:06 2005
    [Thr 5760] JLaunchIExitJava: exit hook is called (rc=-11113)
    [Thr 5760] JLaunchCloseProgram: good bye (exitcode=-11113)
    I have reseted all the changes i have done, but still its not starting. I used configtool to reset the changes.
    please help me on this as its critical  now.. we are in testing phase..
    regards
    ashutosh

    Core service security failed. J2EE Engine cannot be started.
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:173)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:211)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:141)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: <b>Anonymous principal not configured</b>     at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:513)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:138)
         ... 5 more
    Caused by: com.sap.security.core.server.userstore.UserstoreException: <b>Could not get user J2EE_GUEST</b>     at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:193)
         at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:102)
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:507)
         ... 6 more
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "J2EE_GUEST" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:340)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:426)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:458)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:453)
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:189)
         ... 8 more
    i have j2ee_guest user on my abap system... and i have not set the anonymous access
    regards
    ashutosh

  • Call Transaction "MIGO" in display mode only

    Hi friends,
    I have changed the standard the SAP standard program MB51 to a Customer Program 'ZMB51' based upon the user requirement.Iam able to get all the values (output)
    Now my requirement is .... iam trying to call transaction "MIGO" when the user clicks on the Material Document Number (MBLNR) (as how in Standard program)
    I ve used "ALV_GRID..." display. and given a callback_user_command also .... iam able to call the trasaction ...... but it is editable and not in the display mode ..........
    Here my code :
    FORM SY_UCOMM_FOR_MBLNR USING R_UCOMM LIKE SY-UCOMM RS_SELFIELD TYPE
    SLIS_SELFIELD.
      IF RS_SELFIELD-FIELDNAME EQ 'MBLNR'.
      IF NOT RS_SELFIELD-VALUE IS INITIAL  AND
             RS_SELFIELD-VALUE NE SY-ULINE.
          CALL TRANSACTION 'MIGO'.
        ENDIF.
        IF R_UCOMM EQ SPACE.
        ENDIF.
      ENDIF.
    ENDFORM.                    " SY_UCOMM_FOR_MBLNR
    So ??????????????????
    What is the remedy ????
    Expecting ur answers....
    Thanks in Advance
    Cheers,
    R.Kripa.

    Hi ... it is solved ...
    I ve changed the code as how it was in MB51 report.
    Here is my code
    FORM SY_UCOMM_FOR_MBLNR USING R_UCOMM LIKE SY-UCOMM RS_SELFIELD TYPE
    SLIS_SELFIELD.
      CASE RS_SELFIELD-TABNAME.
        WHEN 'I_FINAL'.
          READ TABLE I_FINAL INDEX RS_SELFIELD-TABINDEX.
      ENDCASE.
      CHECK SY-SUBRC = 0 .
      IF R_UCOMM = '&IC1'.
        CHECK RS_SELFIELD-TABNAME = 'I_FINAL'.
        CASE RS_SELFIELD-FIELDNAME.
          WHEN 'MBLNR'.
            SET PARAMETER ID 'MBN' FIELD I_FINAL-MBLNR.
            SET PARAMETER ID 'POS' FIELD I_FINAL-ZEILE.
            SET PARAMETER ID 'MJA' FIELD I_FINAL-MJAHR.
        ENDCASE.
        IF SY-SUBRC = 0.
          SELECT SINGLE * FROM MKPF
                    WHERE  MBLNR = I_FINAL-MBLNR
                      AND  MJAHR = I_FINAL-MJAHR.
          IF SY-SUBRC = 0.
    MIGO_DIALOG is a funcion module to set the MIGO transaction
    in Display mode.
            CALL FUNCTION 'MIGO_DIALOG'
              EXPORTING
                I_ACTION            = 'A04'
                I_REFDOC            = 'R02'
                I_NOTREE            = 'X'
                I_NO_AUTH_CHECK     = ' '
                I_DEADEND           = 'X'
                I_SKIP_FIRST_SCREEN = 'X'
                I_OKCODE            = 'OK_GO'
                I_MBLNR             = I_FINAL-MBLNR
                I_MJAHR             = I_FINAL-MJAHR
                I_ZEILE             = I_FINAL-ZEILE.
          ENDIF.
        ENDIF.
      ENDIF.
    But still if anyone knows how to call MIGo transaction i Display mode using 'CALL TRANSACTION 'MIGO''.
    Thanks friends,
    Cheers
    R.Krpia.

  • To display the user login details in selection-screen( input screen )

    HI Experts,
    I have a requirement.
    Assume there is a report on travel details. Report access has been given to all in the organization based on authorization level.
    Before excecuting the report, in the selection-screen(input screen) itself I need to display the login user details.
    suppose user A belongs to ITS-business unit and user B-belongs to RDS-business unit and Industry group-Multi markets.
    so when User B logs into production system and try to access the report, in the selection screen, i need to display like
    user-id-- XXXX          Business Unit---RDS             and IG -
    Multi Markets 
    how to achieve this? User details will vary based on login.
    Regards,
    Praveen

    check this
    REPORT  Z_demo.
    *& Function Modules:  HR_GET_EMPLOYEE_DATA
    *&                    HR_IMAGE_EXISTS
    *&                    SCMS_DOC_URL_READ
    *&                    HR_IMAGE_RESET
    *& Class & Methods :  CL_GUI_DOCKING_CONTAINER
    *&                    CL_GUI_PICTURE->SET_POSITION
    *&                    CL_GUI_PICTURE->SET_DISPLAY_MODE
    *&                    CL_GUI_PICTURE->DISPLAY_MODE_FIT
    *&                    CL_GUI_PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
    *REPORT  ZEMPLOYEE.
    TABLES: PA0001, PERSON.
    *----------------------Declaration for Image------------------------*
    DATA: DOCKING_CONT TYPE REF TO CL_GUI_DOCKING_CONTAINER, " Custom Container
          PICTURE TYPE REF TO CL_GUI_PICTURE.
    *--------------------Declaration of Internal table------------------*
    DATA: ITAB_EMPDATA LIKE TABLE OF PERSON.
    DATA: ITAB_DATA LIKE TABLE OF PERSON WITH HEADER LINE.
    DATA:  P_CONNECT_INFO LIKE TABLE OF TOAV0 WITH HEADER LINE.
    DATA:  P_DOCUMENT_TYPE LIKE TOAV0-RESERVE.
    DATA:  URL(255) TYPE C.
    DATA:  HANDLE TYPE I.
    DATA:  PPERNR TYPE PA0001-PERNR.
    *----------------------Start of Selection Screen----------------------*
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-099.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN COMMENT 40(25) TEXT-010  .
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-002 FOR FIELD PERNR.
    PARAMETERS PERNR TYPE PA0001-PERNR.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-008 FOR FIELD ENAME.
    PARAMETERS ENAME TYPE PA0001-ENAME.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-003 FOR FIELD PERSG.
    PARAMETERS PERSG TYPE PA0001-PERSG.
    SELECTION-SCREEN COMMENT 45(15) TEXT-009 FOR FIELD WERKS.
    PARAMETERS WERKS TYPE PA0001-WERKS.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-004 FOR FIELD PERSK.
    PARAMETERS PERSK TYPE PA0001-PERSK.
    SELECTION-SCREEN COMMENT 45(15) TEXT-005 FOR FIELD KOSTL.
    PARAMETERS KOSTL TYPE PA0001-KOSTL.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-006 FOR FIELD ORGEH.
    PARAMETERS ORGEH TYPE PA0001-ORGEH.
    PARAMETERS ORGEHTXT TYPE PERSON-ORGEH_TXT .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-007 FOR FIELD PLANS.
    PARAMETERS PLANS TYPE PA0001-PLANS.
    PARAMETERS PLANSTXT TYPE PERSON-PLANS_TXT .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN END OF BLOCK B1.
    *AT SELECTION-SCREEN OUTPUT.
    AT SELECTION-SCREEN OUTPUT .
      LOOP AT SCREEN.
        IF SCREEN-NAME = 'ENAME'
        OR SCREEN-NAME = 'PERSG'
        OR SCREEN-NAME = 'PERSK'
        OR SCREEN-NAME = 'KOSTL'
        OR SCREEN-NAME = 'WERKS'
        OR SCREEN-NAME = 'ORGEH'
        OR SCREEN-NAME = 'PLANS'
        OR SCREEN-NAME = 'ORGEHTXT'
        OR SCREEN-NAME = 'PLANSTXT'.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    LOOP AT SCREEN.
        IF SCREEN-NAME = 'ORGEHTXT'
        OR SCREEN-NAME = 'PLANSTXT'.
          SCREEN-OUTPUT = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    PERFORM GET_PIC.
    *AT SELECTION-SCREEN .
    AT SELECTION-SCREEN .
      PPERNR = PERNR.
      CALL FUNCTION 'HR_GET_EMPLOYEE_DATA'
        EXPORTING
          PERSON_ID             = PPERNR
          SELECTION_BEGIN       = SY-DATUM
          SELECTION_END         = SY-DATUM
        IMPORTING
          PERSONAL_DATA         = ITAB_DATA
        EXCEPTIONS
          PERSON_NOT_FOUND      = 1
          NO_ACTIVE_INTEGRATION = 2
          OTHERS                = 3.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ENAME = ITAB_DATA-ENAME.
      PERSG = ITAB_DATA-PERSG.
      PERSK = ITAB_DATA-PERSK.
      ORGEH = ITAB_DATA-ORGEH.
      PLANS = ITAB_DATA-PLANS.
      KOSTL = ITAB_DATA-KOSTL.
      WERKS = ITAB_DATA-WERKS.
      ORGEHTXT = ITAB_DATA-ORGEH_TXT.
      PLANSTXT = ITAB_DATA-PLANS_TXT.
    *Function Module To check Existance of Image
      CALL FUNCTION 'HR_IMAGE_EXISTS'
        EXPORTING
          P_PERNR        = PPERNR
        IMPORTING
          P_CONNECT_INFO = P_CONNECT_INFO
        EXCEPTIONS
          OTHERS         = 2.
         P_DOCUMENT_TYPE = P_CONNECT_INFO-RESERVE.
    *Function Module To Get the URL of Image
      CALL FUNCTION 'SCMS_DOC_URL_READ'
        EXPORTING
          STOR_CAT    = SPACE
          CREP_ID     = P_CONNECT_INFO-ARCHIV_ID
          DOC_ID      = P_CONNECT_INFO-ARC_DOC_ID
          COMP_ID     = 'DATA'
          DP_URL_ONLY = 'X'
        IMPORTING
          URL         = URL
        EXCEPTIONS
          OTHERS      = 10.
      IF SY-SUBRC <> 0.
      ENDIF.
    *Method To load Image from URL
      CALL METHOD PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
        EXPORTING
          URL = URL.
      IF SY-SUBRC NE 0.
      ENDIF.
      IF PPERNR NE PERNR.
    *Function Module To Reset Image
        CALL FUNCTION 'HR_IMAGE_RESET'
          EXPORTING
            HANDLE         = HANDLE
          EXCEPTIONS
            INVALID_HANDLE = 1
            OTHERS         = 2.
        IF SY-SUBRC <> 0.
        ENDIF.
      ENDIF.
    *& Form Get_Pic
    FORM GET_PIC.
      DATA: REPID LIKE SY-REPID.
      REPID = SY-REPID.
      IF PICTURE IS INITIAL.
    *Object To Create the Custom Container
        CREATE OBJECT PICTURE
          EXPORTING
            PARENT = DOCKING_CONT.
        CHECK SY-SUBRC = 0.
    *Method To Set Position of Image
        CALL METHOD PICTURE->SET_POSITION
          EXPORTING
            HEIGHT = 47
            LEFT   = 610
            TOP    = 25
            WIDTH  = 70.
    *Method To Set Display Mode Fit to Container
        CALL METHOD PICTURE->SET_DISPLAY_MODE
          EXPORTING
            DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
      ELSE.
    *Function Module To Reset Image
        CALL FUNCTION 'HR_IMAGE_RESET'
          EXPORTING
            HANDLE         = HANDLE
          EXCEPTIONS
            INVALID_HANDLE = 1
            OTHERS         = 2.
        IF SY-SUBRC <> 0.
        ENDIF.
      ENDIF.
    ENDFORM. "Get_pic

  • SQl Server Installation failing for Database Engine and Its Services

    Hi,
    I was trying to install SQL SERVER 2008 R2 on VM having 500 GB hard disk and 16 GB RAM.
    OS is Windows Server 2008
    But it fails for Database Engine.
    Installation Details are as Below.
    Overall summary:
      Final result:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Exit code (Decimal):           -2068119551
      Exit facility code:            1211
      Exit error code:               1
      Exit message:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Start time:                    2014-10-13 18:41:01
      End time:                      2014-10-13 19:26:32
      Requested action:              Install
      Log with failure:              C:Program FilesMicrosoft SQL Server100Setup BootstrapLog20141013_183354Detail.txt
      Exception help link:           http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.50.1600.1%26EvtType%3d0x476BF04A%400xBB814387
    Machine Properties:
      Machine name:                  KVS-IN-WFAN092
      Machine processor count:       4
      OS version:                    Windows Server 2008 R2
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation location:         di-softwareSoftwaresSQLSQL_2008_R2_Enterprisex64setup
      Installation edition:          ENTERPRISE
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      False
      AGTSVCACCOUNT:                 NT AUTHORITYNETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Automatic
      CONFIGURATIONFILE:             C:Program FilesMicrosoft SQL Server100Setup BootstrapLog20141013_183354ConfigurationFile.ini
      CUSOURCE:                      
      ENABLERANU:                    False
      ENU:                           True
      ERRORREPORTING:                False
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      SQLENGINE,REPLICATION,FULLTEXT,SSMS,ADV_SSMS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  NT AUTHORITYLOCAL SERVICE
      FTSVCPASSWORD:                 *****
      HELP:                          False
      IACCEPTSQLSERVERLICENSETERMS:  False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              C:Program FilesMicrosoft SQL Server
      INSTALLSHAREDWOWDIR:           C:Program Files (x86)Microsoft SQL Server
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:Program FilesMicrosoft SQL Server
      INSTANCEID:                    SQLServer
      INSTANCENAME:                  SQLSERVER
      ISSVCACCOUNT:                  NT AUTHORITYNetworkService
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      NPENABLED:                     0
      PASSPHRASE:                    *****
      PCUSOURCE:                     
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      ROLE:                          <empty>
      RSINSTALLMODE:                 FilesOnlyMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 NT AUTHORITYNETWORK SERVICE
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           KRONOSENGsuperuser
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  False
      TCPENABLED:                    1
      UIMODE:                        Normal
      X86:                           False
      Configuration file:            C:Program FilesMicrosoft SQL Server100Setup BootstrapLog20141013_183354ConfigurationFile.ini
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Full-Text Search
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management Tools - Complete
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management Tools - Basic
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:Program FilesMicrosoft SQL Server100Setup BootstrapLog20141013_183354SystemConfigurationCheck_Report.htm
    And Error in log file are maily as below.
    2014-10-13 19:26:27 Slp: Completed Action: SqlBrowserConfigAction_install_Startup_Cpu32, returned True
    2014-10-13 19:26:27 Slp: Action "ConfigEvent_SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64_Install_Startup_postmsi" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: ConfigEvent_SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64_Install_Startup_postmsi The condition tests feature: SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64. There are 11
    dependant features. The feature is tested for results: ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "SqlBrowserConfigEngAction_install_Startup_Cpu64" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: SqlBrowserConfigEngAction_install_Startup_Cpu64 The condition tests feature: SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64. There are 11 dependant features. The feature is tested
    for results: ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "SqlEngineConfigAction_install_startup_Cpu64" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: SqlEngineConfigAction_install_startup_Cpu64 The condition tests feature: SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64. There are 11 dependant features. The feature is tested
    for results: ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "ConfigEvent_MPT_AGENT_CORE_CNI_sql_engine_core_inst_Cpu64_Install_Startup_postmsi" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: ConfigEvent_MPT_AGENT_CORE_CNI_sql_engine_core_inst_Cpu64_Install_Startup_postmsi The condition tests feature: MPT_AGENT_CORE_CNI_sql_engine_core_inst_Cpu64. There are 2 dependant
    features. The feature is tested for results: ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "AgentInstall_AgentInstallStartup_Cpu64" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: AgentInstall_AgentInstallStartup_Cpu64 The condition tests feature: MPT_AGENT_CORE_CNI_sql_engine_core_inst_Cpu64. There are 2 dependant features. The feature is tested for results:
    ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "ConfigEvent_SQL_Replication_Core_Inst_sql_engine_core_inst_Cpu64_Install_Startup_postmsi" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: ConfigEvent_SQL_Replication_Core_Inst_sql_engine_core_inst_Cpu64_Install_Startup_postmsi The condition tests feature: SQL_Replication_Core_Inst_sql_engine_core_inst_Cpu64. There
    are 3 dependant features. The feature is tested for results: ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "ConfigEvent_SQL_FullText_Adv_sql_fulltext_Cpu64_Install_Startup_postmsi" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: ConfigEvent_SQL_FullText_Adv_sql_fulltext_Cpu64_Install_Startup_postmsi The condition tests feature: SQL_FullText_Adv_sql_fulltext_Cpu64. There are 3 dependant features. The feature
    is tested for results: ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "FulltextConfigAction_install_startup_Cpu64" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: FulltextConfigAction_install_startup_Cpu64 The condition tests feature: SQL_FullText_Adv_sql_fulltext_Cpu64. There are 3 dependant features. The feature is tested for results:
    ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "ConfigEvent_SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64_Install_StartupFinalize_postmsi" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: ConfigEvent_SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64_Install_StartupFinalize_postmsi The condition tests feature: SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64. There
    are 11 dependant features. The feature is tested for results: ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "ConfigEvent_MPT_AGENT_CORE_CNI_sql_engine_core_inst_Cpu64_Install_StartupFinalize_postmsi" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: ConfigEvent_MPT_AGENT_CORE_CNI_sql_engine_core_inst_Cpu64_Install_StartupFinalize_postmsi The condition tests feature: MPT_AGENT_CORE_CNI_sql_engine_core_inst_Cpu64. There are
    2 dependant features. The feature is tested for results: ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "ConfigEvent_SQL_Replication_Core_Inst_sql_engine_core_inst_Cpu64_Install_StartupFinalize_postmsi" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: ConfigEvent_SQL_Replication_Core_Inst_sql_engine_core_inst_Cpu64_Install_StartupFinalize_postmsi The condition tests feature: SQL_Replication_Core_Inst_sql_engine_core_inst_Cpu64.
    There are 3 dependant features. The feature is tested for results: ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Action "ConfigEvent_SQL_FullText_Adv_sql_fulltext_Cpu64_Install_StartupFinalize_postmsi" will return false due to the following conditions:
    2014-10-13 19:26:27 Slp: Condition "Feature dependency condition for action: ConfigEvent_SQL_FullText_Adv_sql_fulltext_Cpu64_Install_StartupFinalize_postmsi The condition tests feature: SQL_FullText_Adv_sql_fulltext_Cpu64. There are 3 dependant features.
    The feature is tested for results: ValidateResult, Result." did not pass as it returned false and true was expected.
    2014-10-13 19:26:27 Slp: Condition is false because the required feature SQL_Engine_Core_Inst_sql_engine_core_inst_Cpu64 failed in result Result
    2014-10-13 19:26:27 Slp: Completed Action: PostMsiTimingConfigAction, returned True
    2014-10-13 19:26:27 Slp: Completed Action: ExecuteStandardTimingsWorkflow, returned True
    2014-10-13 19:26:27 Slp: ----------------------------------------------------------------------
    2014-10-13 19:26:27 Slp: Running Action: ExecuteExtendedTimingsWorkflow
    Thanks,
    Mahesh

    I have uploaded detail.txt at below url.
    http://m.uploadedit.com/b041/1413264342685.txt
    Hi Mahesh,
    According to log file, I find the message ‘The setup100.exe.config file was not found, therefore the DTSWizard and SQLWatson app config files were not replaced’. It seems that the SQL Server setup file is not complete. Please check that if the SQL Server
    setup file is corrupted, if it is corrupted, please download it again and reinstall SQL Server 2008 R2.
    However, if there’s no problem with the setup file, please check that if there is third-party software such as anti-virus software on your computer blocking the process of SQL Server installation. In addition, make sure that you choose ‘Run as administrator’
    to launch the setup and configure SQL Server service accounts appropriately with administrator permission during the installation.
    For more details about this error, please review the following similar thread.
    http://answers.flyppdevportal.com/categories/sqlserver/sqlsetupandupgrade.aspx?ID=ad794a97-09ae-4aae-9d68-0b06f9af3e16
    Thanks,
    Lydia Zhang

  • Event ID 1085 on DC - Failed to Apply the Group Policy Local Users and Groups Settings

    I have a domain with 2 DCs.  The primary DC is running Server 2012 and is raising Event ID 1085 every 10 minutes and 20 seconds.
    Windows failed to apply the Group Policy Local Users and Groups settings. Group Policy Local Users and Groups settings might have its own log file. Please click on the "More information" link.
    System
    - Provider
    [ Name] Microsoft-Windows-GroupPolicy
    [ Guid] {AEA1B4FA-97D1-45F2-A64C-4D69FFFD92C9}
    EventID 1085
    Version 0
    Level 3
    Task 0
    Opcode 1
    Keywords 0x8000000000000000
    - TimeCreated
    [ SystemTime] 2014-10-20T20:09:03.706992400Z
    EventRecordID 130087
    - Correlation
    [ ActivityID] {FDDFB8C5-9ECF-41B9-B2B4-3AD0B345A37A}
    - Execution
    [ ProcessID] 1000
    [ ThreadID] 3280
    Channel System
    Computer SERVER.DOMAIN.NAME
    - Security
    [ UserID] S-1-5-18
    - EventData
    SupportInfo1 1
    SupportInfo2 4404
    ProcessingMode 0
    ProcessingTimeInMilliseconds 10343
    ErrorCode 183
    ErrorDescription Cannot create a file when that file already exists.
    DCName \\SERVER.DOMAIN.name
    ExtensionName Group Policy Local Users and Groups
    ExtensionId {17D89FEC-5C44-4972-B12D-241CAEF74509}
    Everything I look up for Event ID 1085 seems to be about a different cause.
    Any ideas?

    I enabled tracing on a domain gpo and I still get the error when running gpupdate /force .
    I'm also still getting Event 1085.  Here's the trace file.  I've anonymized the site/domain and the GUIDs.
    2014-10-21 11:16:54.003 [pid=0x3e8,tid=0xcd0] Entering ProcessGroupPolicyExLocUsAndGroups()
    2014-10-21 11:16:54.018 [pid=0x3e8,tid=0xcd0] SOFTWARE\Policies\Microsoft\Windows\Group Policy\{GUID-1}
    2014-10-21 11:16:54.018 [pid=0x3e8,tid=0xcd0] BackgroundPriorityLevel ( 0 )
    2014-10-21 11:16:54.018 [pid=0x3e8,tid=0xcd0] DisableRSoP ( 0 )
    2014-10-21 11:16:54.018 [pid=0x3e8,tid=0xcd0] LogLevel ( 2 )
    2014-10-21 11:16:54.018 [pid=0x3e8,tid=0xcd0] Command subsystem initialized. [SUCCEEDED(S_FALSE)]
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] Background priority set to 0 (Idle).
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ----- Parameters
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] CSE GUID : {GUID-1}
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] Flags : ( X ) GPO_INFO_FLAG_MACHINE - Apply machine policy rather than user policy
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( X ) GPO_INFO_FLAG_BACKGROUND - Background refresh of policy (ok to do slow stuff)
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_SLOWLINK - Policy is being applied across a slow link
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_VERBOSE - Verbose output to the eventlog
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_NOCHANGES - No changes were detected to the Group Policy Objects
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_LINKTRANSITION - A change in link speed was detected between previous policy application and current policy application
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_LOGRSOP_TRANSITION - A change in RSoP logging was detected between the application of the previous policy and the application of the current policy.
    2014-10-21 11:16:54.065 [pid=0x3e8,tid=0xcd0] ( X ) GPO_INFO_FLAG_FORCED_REFRESH - Forced Refresh is being applied. redo policies.
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_SAFEMODE_BOOT - windows safe mode boot flag
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPO_INFO_FLAG_ASYNC_FOREGROUND - Asynchronous foreground refresh of policy
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Token (computer or user SID): S-1-5-18
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Abort Flag : Yes (0x313be090)
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] HKey Root : Yes (0x80000002)
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Deleted GPO List : No
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Changed GPO List : Yes
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Asynchronous Processing : Yes
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Status Callback : No (0x00000000)
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] WMI namespace : Yes (0x32273740)
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] RSoP Status : Yes (0x320cc7f4)
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Planning Mode Site : (none)
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Computer Target : No (0x00000000)
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] User Target : No (0x00000000)
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Calculated list relevance. [SUCCEEDED(S_FALSE)]
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ----- Changed - 0
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Options : ( ) GPO_FLAG_DISABLE - This GPO is disabled.
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Options (raw) : 0x00000000
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] Version : 19267878 (0x01260126)
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] GPC : LDAP://CN=Machine,CN={GUID-2},CN=Policies,CN=System,DC=SITE,DC=DOMAIN
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] GPT : \\SITE.DOMAIN\sysvol\SITE.DOMAIN\Policies\{GUID-2}\Machine
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] GPO Display Name : Default Domain Policy
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] GPO Name : {GUID-2}
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] GPO Link : ( ) GPLinkUnknown - No link information is available.
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPLinkMachine - The GPO is linked to a computer (local or remote).
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPLinkSite - The GPO is linked to a site.
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( X ) GPLinkDomain - The GPO is linked to a domain.
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
    2014-10-21 11:16:54.081 [pid=0x3e8,tid=0xcd0] ( ) GP Link Error
    2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] lParam : 0x00000000
    2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Prev GPO : No
    2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Next GPO : Yes
    2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Extensions : [{00000000-0000-0000-0000-000000000000}{GUID-3}][{GUID-1}{GUID-3}][{GUID-4}{GUID-5}{GUID-6}{GUID-7}{GUID-8}][{GUID-9}{GUID-10}][{GUID-11}{GUID-5}{GUID-6}]
    2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] lParam2 : 0x3146f978
    2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Link : LDAP://DC=SITE,DC=DOMAIN
    2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Purge GPH : C:\ProgramData\Microsoft\Group Policy\History\{GUID-2}\Machine\Preferences\Groups\Groups.xml
    2014-10-21 11:16:54.096 [pid=0x3e8,tid=0xcd0] Read GPE XML data file (592 bytes total).
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ----- Changed - 1
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Options : ( ) GPO_FLAG_DISABLE - This GPO is disabled.
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Options (raw) : 0x00000000
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Version : 1245203 (0x00130013)
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] GPC : LDAP://CN=Machine,CN={GUID-12},CN=Policies,CN=System,DC=SITE,DC=DOMAIN
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] GPT : \\SITE.DOMAIN\sysvol\SITE.DOMAIN\Policies\{GUID-12}\Machine
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] GPO Display Name : Default Domain Controllers Policy
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] GPO Name : {GUID-12}
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] GPO Link : ( ) GPLinkUnknown - No link information is available.
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( ) GPLinkMachine - The GPO is linked to a computer (local or remote).
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( ) GPLinkSite - The GPO is linked to a site.
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( ) GPLinkDomain - The GPO is linked to a domain.
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( X ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] ( ) GP Link Error
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] lParam : 0x00000000
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Prev GPO : Yes
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Next GPO : No
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Extensions : [{00000000-0000-0000-0000-000000000000}{GUID-3}][{GUID-1}{GUID-3}][{GUID-9}{GUID-10}]
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] lParam2 : 0x324e8198
    2014-10-21 11:16:54.112 [pid=0x3e8,tid=0xcd0] Link : LDAP://OU=Domain Controllers,DC=SITE,DC=DOMAIN
    2014-10-21 11:16:54.127 [pid=0x3e8,tid=0xcd0] Purge GPH : C:\ProgramData\Microsoft\Group Policy\History\{GUID-12}\Machine\Preferences\Groups\Groups.xml
    2014-10-21 11:16:54.127 [pid=0x3e8,tid=0xcd0] Read GPE XML data file (592 bytes total).
    2014-10-21 11:16:54.143 [pid=0x3e8,tid=0xcd0] Completed get next GPO. [SUCCEEDED(S_FALSE)]
    2014-10-21 11:16:54.143 [pid=0x3e8,tid=0xcd0] WQL : SELECT * FROM RSOP_PolmkrSetting WHERE polmkrBaseCseGuid = "{GUID-1}"
    2014-10-21 11:16:54.143 [pid=0x3e8,tid=0xcd0] Purged 2 old RSoP entries.
    2014-10-21 11:16:54.143 [pid=0x3e8,tid=0xcd0] Logging 2 new RSoP entries.
    2014-10-21 11:16:54.159 [pid=0x3e8,tid=0xcd0] RSoP Entry 0
    2014-10-21 11:16:54.174 [pid=0x3e8,tid=0xcd0] RSoP Entry 1
    2014-10-21 11:16:54.174 [pid=0x3e8,tid=0xcd0] Completed get GPO list. [SUCCEEDED(S_FALSE)]
    2014-10-21 11:16:54.174 [pid=0x3e8,tid=0xcd0] IsRsopPlanningMode() [SUCCEEDED(S_FALSE)]
    2014-10-21 11:17:04.252 [pid=0x3e8,tid=0xcd0] Completed settings update (csePostProcess). [ hr = 0x800700b7 "Cannot create a file when that file already exists." ]
    2014-10-21 11:17:04.252 [pid=0x3e8,tid=0xcd0] Completed CSE post-processing. [ hr = 0x800700b7 "Cannot create a file when that file already exists." ]
    2014-10-21 11:17:04.267 [pid=0x3e8,tid=0xcd0] Leaving ProcessGroupPolicyExLocUsAndGroups() returned 0x000000b7

  • Displaying user's full name with content

    How would I best set up an attribute to display the user's full name with a published item?
    The default 'author' attribute only displays the login name.
    I have an idea how to set up a custom attribute of the PL/SQL type, but am unsure if there already exists a procedure to fetch the current user's full name.
    Thanks

    For any item type, define an item type procedure. Pass the author attribute to the procedure. The procedure will need to call the WWSEC_API.PERSON_INFO(P_USER_NAME) function, which returns a record containing all the columns in the WWSEC_PERSON table.
    In pseudocode, your procedure will:
    declare a record based on wwsec_person%rowtype
    call wwsec_api.person_info to populate the record
    use htp.p to display the wwsec_person.first_name and wwsec_person.last_nameTo show the results of the item type procedure, display the "Associated Functions" attribute in the region properties.
    Regards,
    Jerry
    PortalPM

  • List - Display Name with Presence (1st column) Display User ID (2nd Column)

    I have a simple list and one column titled Member and it is set as a Person field. My goal is to also have the corresponding Member.ID (ex 9012) also available as a second column so that when a user enters a name, it will auto populate the ID column.
    Put another way, two columns. Col A Member (Name with Presence) Colm B Member (ID) Can this be done without coding? I need these two columns for export into Access.
    Attempts thus far:
    1. Attempted to create a second column and have it set as lookup, pointing to the Member (Name with Presence) Column and it wont see it. -Fail
    2. Attempted to create a second column and have it set as calculated, pointing to the Member (Name with Presence) Column and it won't see it. -Fail
    3. Created a new page, inserted a data view. This allows me to display Member.ID but if I open/export to Access the column is not displayed. Same occurs with Excel. It's like it does not exist. -Fail
      Edit: Update, I've changed from User ID # to User Account.

    Hi  ,
    According to your description, my understanding is that you want to auto populate the Member ID column.
    For achieving your demand, you can create an auto incrementing number  using SharePoint workflow.
    For more information, you can refer to these blogs:
    http://dlairman.wordpress.com/2011/01/10/add-a-unique-auto-incrementing-column-to-a-sharepoint-list/
    https://www.nothingbutsharepoint.com/sites/eusp/pages/sharepoint-how-to-create-an-auto-incrementing-number-field-for-use-in-a-custom-id-part-1.aspx
    Also you can create an auto incrementing number using infopath:
    http://claytoncobb.wordpress.com/2009/06/15/auto-numbering-infopath-forms/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Call into WS Portal to authorize login token Failed

    I have a portlet that allows a user to upload documents to a document folder in a Collaboration project. I have the Login Token set for 30 minutes in the portlets Advanced Admin. However, the function still appears to fail too quickly with the following error.
    An Exception has ocurred during InsertNewDocument()Call into WS Portal to authorize login token 8370|1137526646|h2EZdnRKV bmNS2pEP/avpiz Pw= failed. Details: com.plumtree.remote.prc.PortalException:null; nested exception is: java.rmi.RemoteException: -2147024809 - Error in function PTSession.Reconnect (strToken == '8370|1137526646|h2EZdnRKV bmNS2pEP/avpiz Pw='): -2147024809 - InternalSession.Reconnect(): Invalid token.An Exception has ocurred during InsertNewDocumentCall into WS Portal to authorize login token 8370|1137526646|h2EZdnRKV bmNS2pEP/avpiz Pw= failed. Details: com.plumtree.remote.prc.PortalException:null; nested exception is: java.rmi.RemoteException: -2147024809 - Error in function PTSession.Reconnect (strToken == '8370|1137526646|h2EZdnRKV bmNS2pEP/avpiz Pw='): -2147024809 - InternalSession.Reconnect(): Invalid token.
    How can I Reconnect if the token is no longer valid? Does the user have to refresh the page ?
    Paul
    =http://cgi-clay01.clayton.com/imageserver/plumtree/common/public/css/mainstyle19-en.css]

    I have a portlet that allows a user to upload documents to a document folder in a Collaboration project. I have the Login Token set for 30 minutes in the portlets Advanced Admin. However, the function still appears to fail too quickly with the following error.
    An Exception has ocurred during InsertNewDocument()Call into WS Portal to authorize login token 8370|1137526646|h2EZdnRKV bmNS2pEP/avpiz Pw= failed. Details: com.plumtree.remote.prc.PortalException:null; nested exception is: java.rmi.RemoteException: -2147024809 - Error in function PTSession.Reconnect (strToken == '8370|1137526646|h2EZdnRKV bmNS2pEP/avpiz Pw='): -2147024809 - InternalSession.Reconnect(): Invalid token.An Exception has ocurred during InsertNewDocumentCall into WS Portal to authorize login token 8370|1137526646|h2EZdnRKV bmNS2pEP/avpiz Pw= failed. Details: com.plumtree.remote.prc.PortalException:null; nested exception is: java.rmi.RemoteException: -2147024809 - Error in function PTSession.Reconnect (strToken == '8370|1137526646|h2EZdnRKV bmNS2pEP/avpiz Pw='): -2147024809 - InternalSession.Reconnect(): Invalid token.
    How can I Reconnect if the token is no longer valid? Does the user have to refresh the page ?
    Paul
    =http://cgi-clay01.clayton.com/imageserver/plumtree/common/public/css/mainstyle19-en.css]

Maybe you are looking for