7
Views
2
Comments
'GenerateWordFile' Action is incompatible with the 'OfficeUtils' extension definition
Application Type
Traditional Web
Service Studio Version
11.10.1 (Build 35287)
Platform Version
11.10.0 (Build 22422)

Hi,

since an upgrade at the weekend we are receiving the following error when trying to create a word document:

'GenerateWordFile' Action is incompatible with the 'OfficeUtils' extension definition. Please update it.

eSpaceVer: Id=3581, PubId=0, CompiledWith=11.10.7.060000
RequestUrl: http://127.0.0.1/DigitalDrive/_ActivityHandler.asmx (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/DigitalDrive-67-132524049832350713
FilePath: d:\Outsystems\Platform Server\running\DigitalDrive.0292474861\
ClientIp: 127.0.0.1
Locale:
DateFormat: dd/MM/yyyy
PID: 2604 ('w3wp', Started='12/12/2020 2:47:20 PM', Priv=1495Mb, Virt=2108278Mb)
TID: 7
Thread Name:
.NET: 4.0.30319.42000

'GenerateWordFile' Action is incompatible with the 'OfficeUtils' extension definition. Please update it.
at ssOfficeUtils.RssExtensionOfficeUtils.MssGenerateWordFile(HeContext heContext, IRecord inParamWordFile, Byte[]& outParamWordBinary)
at ssOfficeUtils.Actions.ActionWord_Export_GenerateFile(HeContext heContext, RCWordFileRecord inParamWordFile, Byte[]& outParamWordBinary)
at ssDocumentTemplates.RsseSpaceOfficeUtils.MssWord_Export_GenerateFile(HeContext heContext, IRecord inParamWordFile, Byte[]& outParamWordBinary)
at ssDocumentTemplates.Actions.ActionCreateMergedDocument(HeContext heContext, ENMergeDataReceivedRecordTemplateEntityRecord inParamMergeDataReceived, Int32 inParamActivityId, RLLocalTableDelimitedList inParamrlLocalTableDelimited, String inParamDelimiter, RLMergeTablesList inParamrlMergeTables, RLImageMergeRecordList inParamrlImageMerge, Int32& outParamMergedDocumentId, String& outParamMessage, String& outParamDocumentStoreGUID, Int32& outParamDocumentStoreId, String& outParamFilename)
at ssDocumentTemplates.Actions.ActionGenerateDocumentForActivityIdPublicAction(HeContext heContext, STMergeDataReceivedRecordTemplatePublicStructure inParamMergeDataReceived, Int32 inParamActivityId, RLLocalTableDelimitedList inParamrlLocalTableDelimited, String inParamDelimiter, RLMergeTablesList inParamrlMergeTables, RLImageMergeRecordList inParamrlImageMerge, String& outParamMessage, String& outParamDocumentStoreGUID, Int32& outParamDocumentStoreId, String& outParamFilename)
at ssDigitalDrive.RsseSpaceDocumentTemplates.MssGenerateDocumentForActivityIdPublicAction(HeContext heContext, IRecord inParamMergeDataReceived, Int32 inParamActivityId, RecordList inParamrlLocalTableDelimited, String inParamDelimiter, RecordList inParamrlMergeTables, RecordList inParamrlImageMerge, String& outParamMessage, String& outParamDocumentStoreGUID, Int32& outParamDocumentStoreId, String& outParamFilename)
at ssDigitalDrive.Processes.ProcExcDocumentMerge.ActExecBusinessAssistedCertificate.ExecuteActivity(HeContext heContext)
at ssDigitalDrive.Processes.ProcExcDocumentMerge.ActExecBusinessAssistedCertificate.ExecuteMethod(HeContext heContext)
   at OutSystems.HubEdition.RuntimePlatform.Processes.ProcessBase.AbstractProcessActivityBase.StartWork(HeContext heContext, Boolean isUnattended, ActivityStatus forInitialStatus, DateTime previousNextRun)

 

Could someone please help?

Debra

mvp_badge
MVP
Rank: #51

Hi Debra,

This is something i found on support doc (OutSystems 11 side effects and breaking changes).

Issue: Upgraded SharpZipLib library to version 1.1.0. The new version of the library can cause compatibility problems with custom components used in extensions. For example, when using the OfficeUtils Forge component you must upgrade to a recent version of the component, since it previously used a library version (NPOI 2.2, an Excel reader library) that depended on the previous SharpZipLib library version.

Runtime: Mobile, Web

Rationale: The new version of the library contains several performance improvements and security fixes. It's also a necessary change to be able to use recent versions of third-party libraries, like recent versions of NPOI that have a dependency on this library.

Workaround: This change has an impact on extensions that are using SharpZipLib to read ZIP files, or in extensions using libraries that have SharpZipLib as a dependency (like NPOI). It's recommended that you test any Zip and Excel-related functionalities of your applications after upgrading. If you find any issues, you must change any OutSystems extensions using third-party libraries that depend on SharpZipLib version 0.86.0. In the extensions, update the version of these third-party libraries to a version that uses SharpZipLib version 1.1.0.

You can also visit the site i mentioned to see all impacted area.


Regards,

-PJ-


Rank: #73012

Hi

I managed to resolve the above issue and some of the documents are now generating fine but I'm getting a different error on some of the others

Object reference not set to an instance of an object.
at ssOfficeUtils.RssExtensionOfficeUtils.MssGenerateWordFile(HeContext heContext, IRecord inParamWordFile, Byte[]& outParamWordBinary)
at ssOfficeUtils.Actions.ActionWord_Export_GenerateFile(HeContext heContext, RCWordFileRecord inParamWordFile, Byte[]& outParamWordBinary)
at ssDocumentTemplates.RsseSpaceOfficeUtils.MssWord_Export_GenerateFile(HeContext heContext, IRecord inParamWordFile, Byte[]& outParamWordBinary)
at ssDocumentTemplates.Actions.ActionCreateMergedDocument(HeContext heContext, ENMergeDataReceivedRecordTemplateEntityRecord inParamMergeDataReceived, Int32 inParamActivityId, RLLocalTableDelimitedList inParamrlLocalTableDelimited, String inParamDelimiter, RLMergeTablesList inParamrlMergeTables, RLImageMergeRecordList inParamrlImageMerge, Int32& outParamMergedDocumentId, String& outParamMessage, String& outParamDocumentStoreGUID, Int32& outParamDocumentStoreId, String& outParamFilename)
at ssDocumentTemplates.Actions.ActionGenerateDocumentForActivityIdPublicAction(HeContext heContext, STMergeDataReceivedRecordTemplatePublicStructure inParamMergeDataReceived, Int32 inParamActivityId, RLLocalTableDelimitedList inParamrlLocalTableDelimited, String inParamDelimiter, RLMergeTablesList inParamrlMergeTables, RLImageMergeRecordList inParamrlImageMerge, String& outParamMessage, String& outParamDocumentStoreGUID, Int32& outParamDocumentStoreId, String& outParamFilename)
at ssDigitalDrive.RsseSpaceDocumentTemplates.MssGenerateDocumentForActivityIdPublicAction(HeContext heContext, IRecord inParamMergeDataReceived, Int32 inParamActivityId, RecordList inParamrlLocalTableDelimited, String inParamDelimiter, RecordList inParamrlMergeTables, RecordList inParamrlImageMerge, String& outParamMessage, String& outParamDocumentStoreGUID, Int32& outParamDocumentStoreId, String& outParamFilename)
at ssDigitalDrive.Processes.ProcExcDocumentMerge.ActExecBusinessAssistedCertificate.ExecuteActivity(HeContext heContext)
at ssDigitalDrive.Processes.ProcExcDocumentMerge.ActExecBusinessAssistedCertificate.ExecuteMethod(HeContext heContext)
   at OutSystems.HubEdition.RuntimePlatform.Processes.ProcessBase.AbstractProcessActivityBase.StartWork(HeContext heContext, Boolean isUnattended, ActivityStatus forInitialStatus, DateTime previousNextRun)

 

Any ideas on this one please?

Debra