RemoteCommand error after upgrade 1559

Hi, I upgraded version from 1557 to 1559. I recompile my project and run application. I got the error when using RemoteCommand. I open DAServer debug that has return any error.

ClientDataModule.RemoteCommand.Execute(‘sp_SPCTBuffer’,aParam);

I rolled back to 1557 and recompile my project. Run it without any problem. Please advise.

Hi,

Can you specify error message, pls?

Hi,
I will arrange to provide for you next week. Because I have a demo presentation on Friday. I need time to finish the demo application within these two days.

Hi,

Here is the error.

image

ClientDataModule.RemoteCommand.Execute(‘sp_SPCTBuffer’,aParam) content is as below.

if @Action = 1
begin
	delete FROM SP_OCarton where PackOrder = @PackOrder
	delete FROM SP_OCtnInf where PackOrder = @PackOrder
end
delete FROM SP_TSize where OwnGuid = @PackOrder
delete FROM SP_TAsm where OwnGuid = @PackOrder
delete FROM SP_TAsmArt where OwnGuid = @PackOrder
delete FROM SP_TBuffer where OwnGuid = @PackOrder
delete FROM SP_TBufferArt where OwnGuid = @PackOrder

Hi,

AV is generic error.
Can you show call-stack on server-side, pls?

also can you show what line (on server-side) causes AV, pls?

what driver & auxdriver you are using?

Hi,
Server side without any error.
How to check auxdriver?

Hi,

Is Yorksys2.exe server project or client application?

If it is client application and it is failed at

ClientDataModule.RemoteCommand.Execute(‘sp_SPCTBuffer’,aParam) 

line, check that aParam is initialized.


untitled

if server-side is ok, aux driver isn’t needed for me.

Hi,
The problem is Yorksys2.exe client application. The error come from client application side. I’m using 1557 or before that without error. The error only happened in 1559.

image

Hi,

can you show callstack and line that causes this AV.

you can send this info to support@ for keeping privacy

Hi,
I will prepare in testing environment and then send the information for you by email.

1 Like