KevinCourtney
Active Member
Hello,
I’m working in 9.0 for a client and I have created a custom NER function that receives several strings and concatenates them into one string. It is similar to what I’ve used for years at another client in pre-9.0 JDE. I’m calling this function from a UBE in the Initialize event.
When I run the UBE locally it works fine but when I run it on the Enterprise Server it’s failing with this error in the debug log and on the PDF.
--UBE--[4]-- --ER: Line(100): Done Processing Assign
--UBE--[4]-- --ER: Line(101): Loading Data Structure for BSFN
--UBE--[4]-- --ER: Line(101): Processing BSFN : ConcatStringsWithDelimForCSVs
--UBE--[0]-- EventRule : Business Function ConcatStringsWithDelimForCSVs at line 99 for Event 11 in Section DrivingSection has caused a memory violation.
The function is defined to run on both the Client & Server.
We’ve done full builds and it’s failing on the enterprise server in both DV and PY.
One difference we do note is the enterprise server is running 64 bit Windows: “Windows 2003 R2 – Standard X64 Edition – SP2” and my workstation (the local option) is Windows XP 2002 SP2
Other info is we’re using Visual C++ 2005.
I would include the code of the function but it doesn’t seem like it would be a problem with the code because it runs without problems locally. (please correct me if my assumption is wrong)
Do any of you have any hints or ideas on what might be causing this problem?
Thanks in advance,
Kevin Courtney
Platform: Intel
Operating Sys: Windows
Database: SQL Server 2005
Release: OneWorld E900
I’m working in 9.0 for a client and I have created a custom NER function that receives several strings and concatenates them into one string. It is similar to what I’ve used for years at another client in pre-9.0 JDE. I’m calling this function from a UBE in the Initialize event.
When I run the UBE locally it works fine but when I run it on the Enterprise Server it’s failing with this error in the debug log and on the PDF.
--UBE--[4]-- --ER: Line(100): Done Processing Assign
--UBE--[4]-- --ER: Line(101): Loading Data Structure for BSFN
--UBE--[4]-- --ER: Line(101): Processing BSFN : ConcatStringsWithDelimForCSVs
--UBE--[0]-- EventRule : Business Function ConcatStringsWithDelimForCSVs at line 99 for Event 11 in Section DrivingSection has caused a memory violation.
The function is defined to run on both the Client & Server.
We’ve done full builds and it’s failing on the enterprise server in both DV and PY.
One difference we do note is the enterprise server is running 64 bit Windows: “Windows 2003 R2 – Standard X64 Edition – SP2” and my workstation (the local option) is Windows XP 2002 SP2
Other info is we’re using Visual C++ 2005.
I would include the code of the function but it doesn’t seem like it would be a problem with the code because it runs without problems locally. (please correct me if my assumption is wrong)
Do any of you have any hints or ideas on what might be causing this problem?
Thanks in advance,
Kevin Courtney
Platform: Intel
Operating Sys: Windows
Database: SQL Server 2005
Release: OneWorld E900