cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice calls to contract generation fails

Former Member
0 Kudos

Hello ,

When the contract gen swervice is called from the SAP CLM applicaiton, the calls are failing and user will get a prompt:

"there is a problem with the contract generation webservice.Please contact your system administrator'

On check the contract gen server logs , found the message 'there is insufficient memory'

However there is enough main memory allocated to the server .Even after doubling the memory the problem persists.

The logs are as below , if anyone ever experienced this issue , please let me know .

12/16/2010 11:12:12 AM local3 ERROR class=WordService;sessionid=(J2EE3822300)ID0219240151DB10882460357116476903End;username=-2147483538:104:xxxx xxxx;server=XXXXXXXXX;method=openDocHandler(string);exception=System.Runtime.InteropServices.COMException (0x800A13E9): There is insufficient memory. Save the document now.| (D:\fci\temp\634280947323546039\test1.doc)| at Microsoft.Office.Interop.Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles, Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible, Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)| at Frictionless.Web.Services.WordService.openDocHandler(String fileName) in c:\inetpub\wwwroot\WordService\App_Code\WordService.asmx.cs:line 3306;stacktrace= at Microsoft.Office.Interop.Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles, Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible, Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)| at Frictionless.Web.Services.WordService.openDocHandler(String fileName) in c:\inetpub\wwwroot\WordService\App_Code\WordService.asmx.cs:line 3306 Unexpected error opening file: d:\fci\temp\634280947323546039\test1.doc

Thanks

Arun

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Venkat,

Thanks for your response.

The issue is happeinging even for very small documents of size 10Kb.

There is no memory bottlenecks in the ssytem.

Permissions of the logs * temp folders look correct.

Thanks

Arun

Former Member
0 Kudos

Hi Arun,

We had faced the similar issue, Ask the Basis Team to restart the Contract Gen Server and Install some Windows patches required for the Word Service and the issue was resolved.

Thanks

Kanchan

0 Kudos

Hi Arun,

Can you check the size you have set for the property "maxRequestLength" in the web.config file

( Inetpub\wwwroot\WordService).

Default value for the document size is 4 MB so if your document size is more than that you may get error insufficient memory so if that is so change the property some thing like "maxRequestLength="96800".

And also check the access rights for CLM temp and log folders ( fci\temp & fci\logs).

regards,

Venkat