Log entries in Service Consupmtion Layer Application Logs of Duet Enterpr

Dear all,
I need your inputs to solve the below mentioned issue,
There is a communication developed between MS sharepoint and SAP.
By using Mapper Classes for each and every operations the conversion of data format from Sharepoint to SAP and viceversa happens.
We can see the message or error logs created during the conversion process using the T-code /iwfnd/view_log.
But i want my custumized messages has to come in that log for that i used the following code in the mapper class Post method but still my logs are not coming in the T-code /iwfnd/view_log.
DATA: lo_logger TYPE REF TO /iwfnd/cl_logger,"logger singleton
lo_message_container TYPE REF TO /iwfnd/if_message_container,"message container
lv_message TYPE bapi_msg,
lv_log_material TYPE symsgv,
lv_log_plant TYPE symsgv,
lv_instance_counter TYPE i,
lv_previous_pur_doc TYPE char10.
CONSTANTS gc_log_agent_name TYPE /iwfnd/sup_iw_agent VALUE 'Dev Guide Purchase Req'.
CONSTANTS gc_log_msg_id TYPE symsgid VALUE 'ZDUET_SCL_PR'.
Get logger
CALL METHOD /iwfnd/cl_logger=>get_logger
RECEIVING
ro_logger = lo_logger.
initialize the post mapper log step
lo_logger->log_step_init(
EXPORTING iv_msg_number = 000 "Post Mapping started for Purchase Req Header Query
iv_msg_id = gc_log_msg_id " message class
iv_system_alias = iv_system_alias "Backend System Alias
iv_agent = gc_log_agent_name "Dev Guide Purchase Req
RECEIVING
rv_msg_handle = lv_msg_handle ).
lo_logger->log_message(
EXPORTING
iv_msg_type = /iwfnd/cl_logger=>info " Message Type
iv_msg_id = gc_log_msg_id " Message Class
iv_msg_number = 006 " Message Number
iv_msg_v1 = lv_instance_counter " Message Variable
iv_system_alias = iv_system_alias " System Alias
iv_agent = gc_log_agent_name " IW Agent
Else
read through the input parameters for logging query parameters
READ TABLE it_parameters INTO ls_parameters WITH KEY attr_name = 'MATERIAL'.
lv_log_material = ls_parameters-low.
READ TABLE it_parameters INTO ls_parameters WITH KEY attr_name = 'PLANT'.
lv_log_plant = ls_parameters-low.
get the message container to add messages
lo_message_container = io_request_data->get_message_container( ).
set the request result code to failed so a fault message can be created
CALL METHOD io_request_data->set_result_code
EXPORTING
iv_result_code = /iwfnd/if_srd_request_context=>cs_result_code-failed_permanent.
add the message to the message container, this will create an error log entry automatically
CALL METHOD lo_message_container->add_message
EXPORTING
is_object_key = ls_key
iv_msg_type = 'E' "Error
iv_msg_id = gc_log_msg_id
iv_msg_number = 004 "Query for Material &1 and Plant &2 returned no results.
iv_msg_v1 = lv_log_material
iv_msg_v2 = lv_log_plant
iv_is_leading_message = abap_true
iv_message_creator = gc_log_agent_name.
Endif.
end this post mapper log step
lo_logger->log_step_completion( EXPORTING
iv_msg_type = /iwfnd/cl_logger=>info
iv_msg_id = gc_log_msg_id
iv_msg_number = 002 "Post Mapping finished for Purchase Req Header Query
iv_system_alias = iv_system_alias
iv_agent = gc_log_agent_name
iv_msg_handle = lv_msg_handle ).
please let me know the answe for this issue.
Many thanks in Advance,
Harish

Hi Girimurugan,
I am currently working with SAP Gateway related stuffs and I need a clarification regarding the application log.
Hope you are very busy and please clarify the doubts if you can spare few minutes towards this query.
Appreciate your valuable advise towards this.
Query:
Can we log any of the different types of logs (I Info / W Warning / A Abort or Cancel / E Error ) into Application Log(/IWFND/APPS_LOG) of the Gateway system in a Hub deployment model ?
How the logging can be achieved?
What are the scenarios, wherein the Application logs are preferred?
Also I have already raised a query in the SCN with this link: http://scn.sap.com/message/15477543. But could not get much details about it.
Can you please clarify the same?
Thanks & Regards,
Mohamed Meeran

Similar Messages

  • Renaming/log rotation of opmn default island application logs

    Hi, I wonder if someone has already figured this out.
    We are running 10.1.2 OAS and we would like to control the rotation of our instance applicaiton logs. Currently in $J2EE_HOME/opmn/logs we have files named "OC4J~<container name>~default_island~1" and we have to stop the OC4J container to control these. Placement and naming would be nice, but rotation is the most important.
    Is there any way of adding something to opmn.conf to do this? Perhaps like the log-file tag that is used by the ipm.log e.g
    <log-file path="$ORACLE_HOME\opmn\logs\ons.log" level="6" rotation-size="10000" rotation-hour="00"/>?
    Regards, Aidan

    for OPMN logs you can add this to the log part
    <log-file path="/u09/app/oracle/product/ias903/opmn/logs/ipm.log" level="3" rotation-size="1024"/>
    when it get 1024 kbits it will rotate.
    THis apply for 902 and 904 OAS
    Im not sure this work for 10.x.x
    And I dont know a way to delete this files, but for sure you can create a script with cron who deletes the oldest ones.
    Hope this Helps.
    Regards

  • .sh file usage log entries multiplied

    Hi all,
    I have a very strange problem: In order to find out what parts of a big application being used,
    I have added the following line as the first executable line in every .sh file:
    /application/sh_log $0
    The file sh_log looks like this:
    now=$(date +"%Y_%m_%d")
    filename=/spool/logs/sh_log_$now.log
    if [ -f $filename ];                 # Does logfile exist?
    then
       echo  $(basename $1)";"$(date +"%Y%m%d%H%M%S")";" >> $filename   # Logfile exists, append log record
    else
       touch $filename          # Logfile did not exist, create it
       chmod 7777 $filename     # Make it writeable
       echo  $(basename $1)";"$(date +"%Y%m%d%H%M%S")";" >> $filename   # Ans append log record
    fi
    The application calls it's .sh files in a number of ways, but all of them originating from crontab.
    What confuses me is that log entries often appear in tuples, that is, when the application's
    .sh file is calling the file making the log entry, supposedly to make a single log entry, I'm still
    getting 2, 3 or even more log entries with the same time-stamp (resolution: 1 sec).
    I don't understand this and would appreciate if some guru here could give me a clou.
    Regards
    Lars

    Hi,
    I would log also PIDs together with script name: "/application/sh_log $0 $$". Then you could see whether the application script or sh_log is really called more times (different PIDs).
    Also consider to use chmod 0777 instead of 7777. So, e.g.:
    now=$(date +"%Y_%m_%d")
    filename=/spool/logs/sh_log_$now.log
    [ ! -f $filename ] && touch $filename && chmod 0777 $filename
    #Format:  my_PID;script_name;script_PID;timestamp;
    echo  $$";"$(basename $1)";"$2";"$(date +"%Y%m%d%H%M%S")";" >> $filename
    Regards
    Vaclav

  • Log Entries not sorted in Problem work items

    We have noticed that the Log Entries in all Problem work items appear to be randomly sorted. You can manually sort them by clicking on the column headers.
    Log entries for Service Request and Incident work items are sorted by Created date as default which I guess is how most people would want them.  Has anyone else noticed this or can this be configured locally somehow?
    Thanks

    Hi,
    I checked my lab, and saw that only incident's log entries is sorted by date:
    Log entries for SR and Problem are not sorted:
    And this is hard-coded, if you want to sort them by date, we should click Date Time.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to use Application log (slg0 & slg1)

    Hi all,
    Can u please give me some hints to utilize Application log?
    Hope you will help me.
    Thanq in advance,
    Bye.

    hi John,
       Check these FM's out
    BAL_GLB_SEARCH_LOG            
    BAL_LOG_CREATE                
    BAL_LOG_EXC_ADD               
    BAL_LOG_HDR_CHANGE            
    BAL_LOG_HDR_READ              
    BAL_LOG_MSG_ADD               
    BAL_LOG_MSG_ADD_FREE_TEXT     
    BAL_LOG_MSG_CHANGE            
    BAL_LOG_MSG_CUMULATE          
    BAL_LOG_MSG_DELETE            
    BAL_LOG_MSG_DELETE_ALL        
    BAL_LOG_MSG_READ              
    BAL_LOG_REFRESH               
    SBAL_DETAIL                    Application Log: Display: Detail Screens                              
    BAL_DSP_LOG_PARAMETERS         Application Log: Display: Display log header parameter set            
    BAL_DSP_LOG_TECHNICAL_DATA     Application Log: Display: Display log header technical data                                                                               
    SBAL_DISPLAY                   Application Log: Display Log                                          
    BAL_DSP_LOG_DISPLAY            Application Log: Fullscreen log output                                
    BAL_DSP_LOG_PRINT              Application Log: Print log                                                                               
    SBAL_PROFILE                   Application Log: Display Profile                                      
    BAL_DSP_PROFILE_SINGLE_LOG_GET Application Log: Display profile: Standard profile (SLG1) for one log                                                                               
    SBAL_SERVICE                   Application Log: Service Functions                                    
    BAL_LOG_HDR_CHECK              Application Log: Log: Header data: Check                              
    BAL_LOG_MSG_CHECK              Application Log: Log: Message: Check                                                                               
    SBAL_TOOLBOX                   Application Log: Toolbox                                              
    BAL_DB_LOGNUMBER_GET           Application Log: Database: Get internal log number from number range  
    BAL_LOG_DELETE                 Application Log: Log: Delete log (from DB also at save)               
    BAL_LOG_EXIST                  Application Log: Log: Check existence (in memory)                     
    BAL_LOG_MSG_EXIST              Application Log: Log: Message: Check existence (in memory)            
    BAL_LOG_MSG_REPLACE            Application Log: Log: Message: Replace last                           
    BAL_STATISTICS_LOG_GET                                                                               
    BAL_STATISTICS_LOG_SET                                                                               
    Regards,
    Santosh
    Note: Reward Points if helpful

  • How to create application log in SAP

    According to my reqirement,I need to display messages in the application log whenever some updation is done.
    How to do create application log and display messages in the application log.

    Hello Smriti
    If you have interface IF_RECA_MESSAGE_LIST available on your system then I highly recommend to use as message collector.
    When you create an instance of the interface (CF_RECA_MESSAGE_LIST=>CREATE) you can provide an application log object.
    The collected messages can easily be saved as log.
    For an example have a look at my Wiki posting [Message Handling - Finding the Needle in the Haystack|https://wiki.sdn.sap.com/wiki/display/profile/2007/07/09/MessageHandling-FindingtheNeedleintheHaystack]
    Regards
      Uwe

  • Transaction for application log

    Using IDOCS.  One has errored but cannot get into application log as pop up not appearing (memory issue or something) for me to double click the log number and go into the application log to view it.  Does anyone know the transaction or menu path to access the application log direct so I can see what the error is about?
    Many thanks
    Larissa

    Hi,
    USE SLG1 Transaction.
    Thanks,
    Naga

  • Error/Application Logs

    I have a scenario in which I have to display error logs when exception occurs.
    There is a transaction SLG1 where you can see all the application log for a particular process. Has anyone worked on calling these types of transactions to display error or application logs. If so, please throw some light on this.
    Thanks a lot
    Deno

    Hi Deno,
    If you want to see the error message in SLG1. Follow the following steps:
    1.  Use the FM BAL_LOG_CREATE to create the application log.
    2.  Use the FM BAL_LOG_MSG_ADD to add the message to the application log.
    3. Save the application log using FM BAL_DB_SAVE.
    Now you can see your error message in the SLG1 transaction.
    <b>Reward points if it helps.</b>

  • Application Log. Report

    Hi All,
    My task is. Develop a report, in background  it has to create a log with all details in report.
    ie online  display in screen, background put it in log file.
    How to create application log  with report informationt.
    Thanks,
    Balamurugan.R

    please follow the below stpes.
    you can create object and subobject in SLGO tcode
    you can able to see the log in SLG1 tcode 
    DATA: lt_obj_long_no TYPE STANDARD TABLE OF balnri,
                 lt_messages TYPE STANDARD TABLE OF balmi,
                 lwa_message TYPE balmi.
           REFRESH lt_messages.
           lwa_message-msgty  = 'E'.
           lwa_message-msgid  = 'YCA_DATA_MIGRATION'.
           lwa_message-msgno  = '110'.
           lwa_message-msgv1   = wa_as91-aibn1.
           lwa_message-msgv2   = wa_as91-aibn2.
           APPEND lwa_message TO lt_messages.
           CLEAR lwa_message.
           CALL FUNCTION 'APPL_LOG_WRITE_MESSAGES'
             EXPORTING
               object              = 'YFICC006'
               subobject           = 'YFICC006'
               update_or_insert    = 'I'
             TABLES
               messages            = lt_messages
             EXCEPTIONS
               object_not_found    = 1
               subobject_not_found = 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.
           CALL FUNCTION 'APPL_LOG_WRITE_DB'
             EXPORTING
               object                = 'YFICC006'
               subobject             = 'YFICC006'
             TABLES
               object_with_lognumber = lt_obj_long_no
             EXCEPTIONS
               object_not_found      = 1
               subobject_not_found   = 2
               internal_error        = 3
               OTHERS                = 4.
           IF sy-subrc <> 0.
             MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
           ENDIF.

  • [SOLVED] Systemd - console-kit-log-system-start.service FAILED

    Hi!
    i'm using systemd, and i removed initscripts and sysvinit.
    I've now noticed this error, it seems that service failed to load.
    By the way, i can systemctl restart it, and then it will be active and running. So, where is the problem?  I found this, that seems to be my same problem, but it is 2 years old! https://bugzilla.redhat.com/show_bug.cgi?id=632714 .
    Any idea?
    thanks!
    Last edited by nierro (2012-07-31 18:59:21)

    Looking into the issue, i can't find a solution...
    so, here there are :
    systemctl status console-kit-log-system-start.service
    console-kit-log-system-start.service - Console System Startup Logging
    Loaded: loaded (/usr/lib/systemd/system/console-kit-log-system-start.service; static)
    Active: failed (Result: exit-code) since Tue, 03 Jul 2012 09:34:45 +0200; 1 day and 3h ago
    Process: 175 ExecStart=/usr/sbin/ck-log-system-start (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/console-kit-log-system-start.service
    and
    journalctl -a | grep console-kit-log
    Jul 03 09:34:45 arch systemd[1]: console-kit-log-system-start.service: main process exited, code=exited, status=1
    Jul 03 09:34:45 arch systemd[1]: Unit console-kit-log-system-start.service entered failed state.
    Any idea?
    EDIT:as i said, i can restart it, without any sort of problem, so i guess the issue is related to the deps of this service (After=...). I left it untouched, never modified this service...
    Last edited by nierro (2012-07-04 12:11:10)

  • Creating Application Log

    HI SAP Gurus,
    Please let me know the purpose of application log and the creation of it.
    I am strugling with one standard report which have a BADI to it. 
    It is equipement status report(IW38).
    In the production we find some equipments which are not serviceable even all the orders are done.
    I need to find the reason for that.  So, i was sugested to create application logs. But i dont know about it.  Please let me know.
    Will be rewarded with points.
    Regards,
    Kishore

    Hi
    Look at the Tcode <b>SLG1</b> which gives the application log
    You have to create a Object, Subobject for your application to see your own tcode log
    and you can use the following fun modules in your code as per the requirement
    SBAL                           Application Log: Collect Messages                             
    BAL_GLB_SEARCH_LOG             Application Log: Global: Find log(s) (in memory)              
    BAL_GLB_SEARCH_MSG             Application Log: Global: Find message(s) (in memory)          
    BAL_LOG_CREATE                 Application Log: Log: Create with Header Data                 
    BAL_LOG_EXCEPTION_ADD          Application Log: Log: Add Exception                           
    BAL_LOG_EXCEPTION_CHANGE       Application Log: Log: Exception: Change                       
    BAL_LOG_EXCEPTION_DELETE       Application Log: Log: Delete Exception                        
    BAL_LOG_EXCEPTION_READ         Application Log: Log: Exception: Read Data and Texts          
    BAL_LOG_EXC_ADD                Application Log: Log: Exception: Add                          
    BAL_LOG_HDR_CHANGE             Application Log: Log: Header data: Change                     
    BAL_LOG_HDR_READ               Application Log: Log: Header Data: Read Data and Texts        
    BAL_LOG_MSG_ADD                Application Log: Log: Message: Add                            
    BAL_LOG_MSG_ADD_FREE_TEXT      Application Log: Log: Message: Insert as free text            
    BAL_LOG_MSG_CHANGE             Application Log: Log: Message: Change                         
    BAL_LOG_MSG_CUMULATE           Application Log: Log: Message: Add Cumulatively               
    BAL_LOG_MSG_DELETE             Application Log: Log: Message: Delete                         
    BAL_LOG_MSG_DELETE_ALL         Application Log: Log: Message: Delete All Messages            
    BAL_LOG_MSG_READ               Application Log: Log: Message: Read data and texts            
    BAL_LOG_REFRESH                Application Log: Log: Delete log from memory                                                                               
    SBAL_DB                        Application Log: Database Interface                         
    BAL_ARCHIVE_LOAD               Application Log: Archive: Load Logs                         
    BAL_ARCHIVE_SEARCH                                                                         
    BAL_DB_DELETE                  Application Log: Database: Delete Logs from Database        
    BAL_DB_LOAD                    Application Log: Database: Load Logs                        
    BAL_DB_SAVE                    Application Log: Database: Save logs                        
    BAL_DB_SEARCH                  Application Log: Database: Find Logs         
    Regards
    Anji

  • No Log entry while executing web service

    Hi,
    I have a web service which is deployed successfully to a server in the Weblogic
    Workshop domain.
    When I try to test the methods of the web service using the Test form, sometimes,
    I get a message 'No Log Entry'. When I reploy the application, it starts working
    properly.
    There is no problem with the code. Could someone please tell me as to why I might
    be getting the 'No Log Entry' message randomly.
    Thanks,
    Aparna

    My guess is that you are using the tutorial "Creating a SOAP Web Service". This one has a couple of errors in it:
    1. The directory it tells you to deploy the class to the following location:
    <JDeveloper_home>\soap\webapps\soap\soap\WEB-INF\lib
    when in fact it should be:
    <JDeveloper_home>\soap\lib\soap\soap\WEB-INF\lib
    2. This tutorial also says you do not have to re-start OC4J; in this case you do.
    If you are doing the J2EE Web service tutorial a re-start should not be required. One other potential cause of this kind of error can be because your proxy server is set on in Tools->Preferences->Proxy Server. Turn it off and this might fix the problem - my guess, however, is that your problem is either with step 1 or step 2 above.
    Mike.

  • Warning message into Application log of Service request

    Hi Experts,
    I have a requirement where I am using Event handlers(CRMV_EVENT) to redetermine partners of a service request whenever certain values are changed in the transaction CRMD_ORDER.
    Partners will be retrieved from a custom table.
    In any circumstances, if the partners cannot be determined then we need to push a WARNING message stating that "Partners can not be determined, pls maintain the values in the custom table'.
    For this purpose I am using the function module CRM_MESSAGE_COLLECT with the following parameters, but still I am not able to see the same into the Application log of the Service request that is going to be created.
    CALL FUNCTION 'CRM_MESSAGE_COLLECT'
      EXPORTING
        iv_caller_name         = 'ORDERADM_H'
        IV_REF_OBJECT          = iv_header_guid
        IV_REF_KIND            = 'A'
       IV_LOGICAL_KEY         = '0001'
        IV_MSGNO               = '001'
        IV_MSGID               = 'ZSP'
        IV_MSGTY               = 'W'
      IV_MSGV1               = SY-MSGV1
      IV_MSGV2               = SY-MSGV2
      IV_MSGV3               = SY-MSGV3
      IV_MSGV4               = SY-MSGV4
        IV_MSGLEVEL            = '1'
      IV_FIELDNAME           =
      IV_ACTION              =
        IV_LOG_HANDLE          = lv_log_handle
        IV_CUMULATE            = 'X'
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Do I missed in passing of any additional parameters?
    Can any one of you have encountered the same problem and solved this, pls through some light on me too(if possible with block of code).
    Thanks in advance.

    Hi,
    Here is the block of code that I used to push a message in to Application log.
    Push your message into a variable called dummy and then call the below mentioned function module.
    DATA:        lv_dummy(254)    TYPE  c,            "#EC NEEDED
              MESSAGE w052(sppf_media) WITH text-001
                                            text-002
                                        INTO lv_dummy.
              CALL FUNCTION 'CRM_MESSAGE_COLLECT'
                EXPORTING
                  iv_caller_name = 'ORDERADM_H'
                  iv_ref_object  = iv_header_guid
                  iv_ref_kind    = lc_ref_kind_a
                  iv_msgno       = sy-msgno
                  iv_msgid       = sy-msgid
                  iv_msgty       = sy-msgty
                  iv_cumulate    = lc_x
                IMPORTING
                  ev_msgty       = lv_msgtyp
                  es_msg_handle  = gv_msghandle
                EXCEPTIONS
                  not_found      = 1
                  appl_log_error = 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.
            ENDIF.
    Hope this helps to resolve your issue.
    Regards,
    Usha.

  • Reporting Services R2 log entries have stopped generating on report execution.

    Hi -
    I have a new instance of a reporting server and the log files have quit generating on report execution. 
    When the services restart this is the log file:
    rshost!rshost!8e8!01/22/2014-17:08:33:: i INFO: CLR runtime is initialized.
    rshost!rshost!8e8!01/22/2014-17:08:33:: i INFO: Derived memory configuration based on physical memory as 3931704 KB
    rshost!rshost!8e8!01/22/2014-17:08:33:: w WARN: Failed to initialize performance counters: ffffffff. Possible setup issue.
    rshost!rshost!8e8!01/22/2014-17:08:33:: e ERROR: Failed to start service, error=1063.
    We have logging turned on on the server.  Report Server Mode is Native.  Dont see anything in the application log about failed service.
    Any ideas?

    Hi dwrco,
    Have you recently install any update such as MS12-070 (KB2716440)? If so, it is a known issue for some patches for SQL Server. The reason is as follows:
    When a .NET application starts up, the .NET Framework tries to check if the Microsoft assemblies are right and have not been modified, this is done through connecting to a server that has a revocation list in internet. When the framework tries to connect
    to the server to check if it has access to internet with an elevated timeout, this makes that any other .NET application that has less timeout setting fails (such as SSIS or SSRS) with timeout error.
    For example, the error message "The request failed or the service did not respond in a timely fashion." means that the SSRS timeout is lower than the timeout of the connection to the revoke list server established by .NET Framework.
    To work around the issue, we usually use two approaches:
    Increase the value of ServicesPipeTimeout registry key of Reporting Services
    Disable generatePublisherEvidence element of ReportingServicesService.exe.config file
    For the detailed steps, please see:
    http://blogs.msdn.com/b/mariae/archive/2012/11/12/reporting-services-service-doesn-t-start-after-the-installation-of-ms12-070-security-patch.aspx 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • User Profile -- Last Log Entry - The Parameter is Incorrect

    HI
    I see an error in the SharedServices Provider serction under UserProfile . It says
    LAST LOG Entry : The Parameter is Incorrect
    This happened after i turned on search setting and Crawling . Is this anything to worry about ? what is this error message mean?
    Satis

    Hi, I've found a solution that works fine on this Post:
    Why this happens :
     - Profmain.aspx calls importStatus.LastCrawlSeedStatus to determine if an error occurred during the last profile import.
    - If the LastCrawlSeedStatus value is not 0, it checks importStatus.LastLogEntry and provides the text message from the log
    - LastCrawlSeedStatus is a property of the content source People_Import (Hidden Content Source)
    - If the registry
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\<GUID>\Gather\ProfileImport\ContentSources\0\StartPages\0
    Or if the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\<GUID>\Gather\ProfileImport\ContentSources\1\StartPages\0
    - If the value to anything other than
    0, we can reproduce problem
    - The search account should have full control on this registry key
    - The SSP account should have read access to this key.
    How to Fix it :-
    - Open the registry on the indexer server
    - Checke the value of "lastCrawlSeedStatus" in the registry at
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\<GUID>\Gather\ProfileImport\ContentSources\0\StartPages\0
    - And checke the value of "lastCrawlSeedStatus" in the registry at
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Applications\<GUID>\Gather\ProfileImport\ContentSources\1\StartPages\0
    - We changed the value to
    0
    - Restart search service on
    Index server (better
    restart the server if you can due to too long waiting for stopping and starting the Office SharePoint Search Services)
    I hope to help all colleagues that have this issue.
    Ciao.

Maybe you are looking for