cancel
Showing results for 
Search instead for 
Did you mean: 

DI Event Service donu00B4t working on 64 Server

andres_naranjo
Explorer
0 Kudos

Grettings

I have problem with the DI Event Service on Windows 2003 Server X64 Edition.

I have a application that using DI Event Services, and this working in Windows Server 2003 32 Bits, but when installed DI Event services on Server x64 the Store Procedure Transaction Notification don´t find the dll B1DIEventService.dll.

I compiled the dll´s in X64 Plataform, but when I try register in the Server show a message:

"B1DIEventService.dll was loaded, but the DllRegisterServer entry point was not found

The File can not be registered"

I executed the next lines in the SQL Server:

DECLARE @object int --declare the object variable

DECLARE @hresult int

EXEC @hresult = sp_OACreate 'B1DIEventsSender.Profiler', @object OUT

IF @hresult <> 0

BEGIN

PRINT @hresult

EXEC sp_OAGetErrorInfo @object

RETURN

END

END

And the result is this:

Error Source Description

0x80040154 ODSOLE Extended Procedure Class not Registered

Thanks a lot for the attention and colaboration.

Edited by: Andres Naranjo on Aug 20, 2009 1:06 AM

Edited by: Andres Naranjo on Aug 20, 2009 1:07 AM

Accepted Solutions (1)

Accepted Solutions (1)

andres_naranjo
Explorer
0 Kudos

Hello

I could solve the problem...

You must only compile the DIEventSender in the plataform X64 whit the next change in the line 60:

char msg[398]; Old message char msg[378]

Remember compile the dll in a X64 machine

After that, replace this file in the (SAP\SAP Business One DI Event Service\SAP Business One DI Event Server\SBO_SP_TransactionNotification) directory.

And register the dll with the next command

C:\WINDOWS\SysWOW64>regsvr32.exe "C:\Program Files (x86)\SAP\SAP Business

One DI Event Service\SAP Business One DI Event Server\SBO_SP_TransactionNotification\B1DIEventsSender.dll"

And must working

Thanks a lot.

Answers (0)