cancel
Showing results for 
Search instead for 
Did you mean: 

Synch Service stopping in the middle

Former Member
0 Kudos

Hi,

The Synch Service seems to be stopping in the middle for one of my live client. I have scheduled the windows service to run every 30 minutes but for some reasons it is stopping in the middle and it requires manually deleting the lock file and restarting the synch service.

If you look at the log file the Synch stopped at 6:49 with the below error and we restarted at 10:35

Why it is throwing “OUTOFMEMORY” error?

Any permanent fix for this on going issue?

<event>

<messagetype>E</messagetype>

<date>2008-05-08 06:49:34.96</date>

<synchmodule>Synch</synchmodule>

<message>Failed during inventory synch with unhandled error:

Unable to cast COM object of type 'System.__ComObject' to interface type 'SAPbobsCOM.Recordset'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{8CA3AB92-1930-4511-4AA8-82D53C3150C3}' failed due to the following error: Not enough storage is available to complete this operation. (Exception from HRESULT: 0x8007000E (E_OUTOFMEMORY)).

at NetPoint.SynchSBO.SBOObjects.SBOWarehouse..ctor(Company company, SecurityTicket st)

at NetPoint.SynchSBO.Synch.SynchInventory()</message>

<synchmethod>SynchInventory()</synchmethod>

<objecttype />

<objectid />

</event><event>

<messagetype>I</messagetype>

<date>2008-05-08 06:49:34.97</date>

<synchmodule>Synch</synchmodule>

<message>Starting SynchNotification.</message>

<synchmethod>SynchNotification()</synchmethod>

<objecttype />

<objectid />

</event><event>

<messagetype>I</messagetype>

<date>2008-05-08 06:49:35.00</date>

<synchmodule>Synch</synchmodule>

<message>Completed SynchNotification.</message>

<synchmethod>SynchNotification()</synchmethod>

<objecttype />

<objectid />

</event><event>

<messagetype>S</messagetype>

<date>2008-05-08 10:35:53.53</date>

<synchmodule>Synch</synchmodule>

<message>Starting SynchAll</message>

<synchmethod>SynchAll()</synchmethod>

<objecttype />

<objectid />

</event>

Any suggestions will be appreciated!

Please let me know if I need to report this to SAP Support through Suser number?

Regards,

Mohan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mohan,

If they are on B1 2005 with a version prior to 41, you should check to see that diagnostic logging is turned off.

Find the C:\Program Files\SAP\SAP Business One\Log\b1LogConfig.xml and make sure the trace is set to zero.


- <b1logger Mode="A" MaxFileSize="5" MaxNumOfMsg="500" LogStack="0" Activate="1">
- <Components SystemMessage="1" SQLMessage="0" Trace="0" General="1" StockTool="0" Upgrade="0" Performance="0">
- <Component name="SystemMessage">
- <Severities Note="0" Warning="0" Error="1" CriticalError="1" BeProtective="1" AuditFailure="1">
  <Severity name="BeProtective" LogStack="1" /> 
  </Severities>
  </Component>
  </Components>
  <Severities Note="0" Warning="0" Error="1" CriticalError="1" BeProtective="1" AuditFailure="1" /> 
  </b1logger>

Second, there were some performance regressions introduced in 625 that have since been resolved. Upgrading to 628 may resolve this.

I am not 100% that turning the trace off will fix it, you may need to upgrade B1 as well.

If none of these resolve it, you will need to put in a message.

Former Member
0 Kudos

Hi Shane,

This issue seems to reappear last week even after Turning off the Trace. I will post a log message with SAP Support.

We are planning upgrade this client to PL08. Will this fix this issue or is it necessary to Upgrade Business One as well?

Regards,

Mohan

Former Member
0 Kudos

Hi Mohan,

I was receiving a number of memory related errors prior to setting trace to 0, and so far so good.

This is on PL08.

Martin.

Former Member
0 Kudos

Hi Martin,

Thanks for this.

What is your Business One Version?

I am asking because my customer is currently in SBO 2005 PL18 and Web tools PL02. They plan to upgrade Business one first may be during September and web tools later. Will this make any difference?

Can I persuade my client to upgrade web tools first and SBO later?

What is the latest Web tools Patch Level? Any new release after PL08?

What is the oldest Business One Patch level that Web tools PL08 can be applied to?

Will Web tools PL08 work fine with SBO 2005 PL18? In other words is it compatible?

Just upgrading Web tools will fix this Synch Stopping issue or this needs Business One upgrade as well?

Thanks for your time!

Regards,

Mohan

Former Member
0 Kudos

Hi Mohan,

We are running 2005 SP01 PL36 with Webtools 628. It is certainly the most stable combination that we have found so far. There have been a number of DiAPI issues with the lower 2005 patches (including memory leaks), but I do not know if PL18 is one of these.

Hope that helps.

Martin.

Former Member
0 Kudos

Hi Martin,

Thanks for your Suggestions!

Have any one running in B1 PL19 with out any problems with Web tools PL08?

Is this compatible can any one from SAP suggest please?

Regards,

Mohan

Answers (0)