An appcrach on dllhost is generated when a full import profile from SAP/R3 MA runs
Hello everyone. My name is Paulo, I am in Sao Paulo / Brazil. This is my first post on Identity Lifecycle Manager 2forum. I'm having a problem with the FIM2010RC1, to be more specific with Agent SAP/R3. I used the "Synchronization Service ERP MA Configuration" to:Create the necessary XML files based on the existing templateCreate the MA using these filesCreate a "Full Import" profile When I run the "Full Import" profileI can see the file "temp <MA>. Mdb"growing (~ 67MB). After a while, the "Input File" begins to grow and suddenly stops (~ 27MB). About 20 minutes after the input file stops,a number of events are recorded in EventViewer: ________________________ Source: HHCTRL EventID: 1904 Level: Information Description: The description for Event ID 1904 from source HHCTRL can not be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: about: blank http://go.microsoft.com/fwlink?LinkID=45840 _________________________ Source: Application Error EventID: 1000 Level: Error Description: Faulting application name: DllHost.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc6b7 Faulting module name: ntdll.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdb3b Exception code: 0xc0000374 Fault offset: 0x000cdcbb Faulting process id: 0x9e4 Faulting application start time: 0x01ca5d436ad52ec5 Faulting application path: C: \ Windows \ SysWOW64 \ DllHost.exe Faulting module path: C: \ Windows \ SysWOW64 \ ntdll.dll Report Id: befe7ea5-c941-11de-843c-00155d404902 _________________________ Source: Windows Error Reporting EventID: 1001 Level: Information Description: Fault bucket, type 0 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: DllHost.exe P2: 6.1.7600.16385 P3: 4a5bc6b7 P4: StackHash_a6c2 P5: 6.1.7600.16385 Q6: 4a5bdb3b P7: c0000374 Q8: 000cdcbb Q9: Q10: Attached files: C: \ Users \ u-svr-fim-sync \ AppData \ Local \ Temp \ WERD354.tmp.appcompat.txt C: \ Users \ u-svr-fim-sync \ AppData \ Local \ Temp \ WERD53A.tmp.WERInternalMetadata.xml C: \ Users \ u-svr-fim-sync \ AppData \ Local \ Temp \ WERD55A.tmp.hdmp C: \ Users \ u-svr-fim-sync \ AppData \ Local \ Temp \ WER7B6.tmp.mdmp These files may be available here: C: \ Program Files \ Microsoft \ Windows \ WER \ ReportQueue \ AppCrash_DllHost.exe_238bf3e18b391514810578a751941268f629639_cab_1f0a0a33 Analysis symbol: Rechecking for solution: 0 Report Id: befe7ea5-c941-11de-843c-00155d404902 Report Status: 0 Once these events are written to EventViewer, trying to stop running the profile "Full import" an unavailable RPC message popups and the profile still in a state of "Running" until the server is restarted. Today I applied the update is available (FIMSyncService_EVAL_KB976465). thank you. Paulo.PS.: I need to import all employees from SAP.
November 9th, 2009 8:39pm

Please make sure you have the processor architecture set to 32 bit. You are already running the MA out of process, which is required, but the 32 bit step is also critical.AhmadAW
Free Windows Admin Tool Kit Click here and download it now
November 10th, 2009 9:23pm

Are you talking about MA? The MA was created and configured to use the x86 architecture and "Run this management agent in a separated process" is checked. As explained, the process stops when the input file is being created. One thing I realized is that the temporary MDB is bringing users objects from SAP instead of employees, even the users not being selected to import . Thanks for the reply. Paulo.
November 10th, 2009 11:49pm

Hi Everybody... After a long time the issue was resolved. Until that the issue was definitly resolved, i installed all FIM2010 component in another server (not R2), i made a series of tests with Synchronization Engine and ERP Configuration. Issue solved, i will pass to you what i have made! I needed to import all employees from SAP, but when the Full Import runs, it just stopped and nothing was imported, causing an appcrash. Reading the Release Notes from ERP Configuration Manager that was passed me by a friend of MS, I read that when you go to an full import from SAP you need to configure a paginated import when there are a large number of employees in the database. The documentation tells that additional parameters should be configured in SAP Management Agent and i did it like that: characterSet = include[A-Za-z0-9`~'.-]iterationDepthCount = 1 Even doing it, i kept having errors during a Full Import. So, using the ERP Configuration Manager where sets a "filter" to define what was imported (LASTNAME_M="*") has a checkbox "Parameter requires paginated input" that i checked (ERP Configuration Manager -> Object Types -> Employee -> Full -> BAPI_EMPLOYEE_GETDATA -> Edit -> LASTNAME_M -> Edit). After to configure a paginated import from SAP, it spent a litte more than 2 and a half hour, and so more than 54000 employees were inside my SAP MA Connector Space. Below the text from the Release Notes of ERP Configuration Manager about timeout when importing a large amount of information: Managing SAP Resources Managing resource in SAP can only be done if there are corresponding RFC/BAPI's for managing the resource. Roles and other complex structures are handled as an xml text within FIM 2010. Manipulating the data within the xml must be done as an extra step outside of the ERP MA. If you populate Roles, Activity Groups, or Parameters when creating a user or employee, the values for these attributes must exist in SAP. Otherwise the Roles, Activity Groups, or Parameters will not be populated in SAP. An exported-change-not-reimported error will occur on the next import. When configuring a full import, the default BAPI for retrieving all employees may time out if there is a large number of employees in SAP. You must configure the paginated search option when configuring. See the documentation for details on how is done. and....How To Configure Paginated Imports For full import of employees, the default ERP MA Configuration utilizes a BAPI that attempts to bring back all employees and their details in one BAPI call. The default configuration includes a wildcard search for the Last Name. This wildcard search can potentially lead to an extensible-exception with no data imported after 4 hours (or whatever the default timeout setting is on the SAP server). In many cases, the BAPI used for full import of employees will time out, especially in environments with a large number of employees. To avoid this problem, when running Full Import for employees with a wildcard search, it is recommended that you configure paginated queries for the wildcard parameter. The will cause queries to SAP to be broken up into smaller searches, each search covering a range of the allows character set.For example, when pagination is enabled on a wildcard parameter, with a "characterSet" range filter set to [A-Z], and the "iterationDepthCount" set to 1, the wild card search will be replaced with a series of smaller searches similar to (a*, b* ... z*)To enable this feature, open the Parameter properties form for a selected operation function and then check the 'Parameter requires paginated input' check box.Additional control over paginationWhen paginated input is configured, by default the MA will execute a query for every printable character within the current codepage. One side effect of this is that queries will be sent to SAP for which there is no matching data.In order to reduce the amount of no-data queries to SAP, you can restrict this character set that's enumerated by setting up a character-set range. You do this by configuring a MA additional parameter and specify the set of characters to include or exclude. Configuring "characterSet" range filter optionThe name of this additional parameter is characterSet. The value for this parameter can be include[ Regular Expression] or exclude[Regular Expression]. Below are examples of possible values: To specify a characterSet having only values between A and Z : include[A-Z] or exclude [^A-Z] To specify a characterSet having all values except the ones between A and Z: include[^A-Z] or exclude [A-Z] A practical example which includes all characters in the western alphabet used for names would look like this: include[A-Za-z0-9`~'.-] Configuring 'iterationDepthCount' optionAdditional MA configuration parameter 'iterationDepthCount' can also be used to control number non-wildcard character prefix used in the search criteria. For example, an 'iterationDepthCount' set to 1 builds a series of searches similar to (a*, b*, ... z*) while a 'iterationDepthCount' set to 2 builds a series of searches similar to (aa*, ab*, ac*..., ba*, bb*, bc*, ..., zz*)With both interationDepthCount and a characterSet range defined, the number of queries that will be sent to the SAP/R3 server will be the number of characters in the range raised to the power of interationDepthCount, i.e. count(expand(regExfilter)) ^ iterationDepthCount Well... That is it!!! I hope that help someone in the future! Cheers,***** Paulo H. Campos - So Paulo/Brasil *****
Free Windows Admin Tool Kit Click here and download it now
November 20th, 2009 7:23pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics