Go Back > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor


Google search

What version of Baan have you installed
Baan IV
10.2 (incl. 10.2.1)
Total votes: 84

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 9th June 2011, 09:41
drcelus drcelus is offline
Junior Member
Join Date: Jul 2010
Posts: 18
drcelus is on a distinguished road
Baan: ERP LN 6.1 - DB: MSSQL 2005 - OS: WINDOWS 2003
server2client error codes
Baan: ERP LN 6.1 FP5
C/S: None/Unknown

Does anybody know the meaning of the server2client error codes ?
Values below 0 are errors, and it is returning a -2 value to me.
The file is getting created on the client but with 0 bytes size.

Reply With Quote
Old 9th June 2011, 11:54
george7a's Avatar
george7a george7a is offline
Join Date: May 2004
Location: Nazareth
Posts: 1,490
george7a is on a distinguished road
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 - DB: MS SQL, Oracle - OS: Windows 2000, 2003 & UNIX
Please show us your code. and check the following:

1) Does the server file exist? Double check the full name you give to server2client
2) Do you have permission on that server file?
3) Are all the directories (including subs) on the client created?
4) do you have permission to write on that client directory?
George Abdo
NAZDAQ - Your Documents, Your Way.
Reply With Quote
Old 9th June 2011, 14:56
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,962
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
George covered everything basically. On -2 means the file does not exist - not sure if it is related to client2server command. We also do not use spaces in the path of the directory - that used to cause us problems.

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
Old 9th June 2011, 15:41
drcelus drcelus is offline
Junior Member
Join Date: Jul 2010
Posts: 18
drcelus is on a distinguished road
Baan: ERP LN 6.1 - DB: MSSQL 2005 - OS: WINDOWS 2003
Than you all for the tips.
I learned some other codes the hard way :
-6 = can't create file on destination or invalid filename
-3 = destination directory does not exist
Reply With Quote
Sponsored Links
Old 16th November 2016, 00:16
NPRao's Avatar
NPRao NPRao is offline
Join Date: Aug 2001
Location: Pacific NW, USA
Posts: 3,043
NPRao will become famous soon enough
Baan: Baan 4-5,5.2(Reger),LN-6.1,Infor LN-10.x - DB: Oracle,MS-SQL - OS: HPUX, Linux, Windows
Operating system errors
The operating system errors generate the error numbers 1-99.
Refer to - Operating system errors

Looks at the numbered pages for the other error codes - or download the latest Programmer's manual from the Infor Support site -
KB 22924522 The programmers manual for ERP LN
The art of perfection does not lie in doing extraordinary things but, doing ordinary things extraordinarily well. [-N. Prashanth Rao]
How To Ask Questions The Smart Way,BaaNBoard,NPRao
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webtop hangs on server2client Hiba_t Tools Development 17 19th September 2008 17:37
server2client + Citrix mgakhar Tools Development 3 4th January 2007 01:40
server2client teddybear Tools Development 11 14th July 2006 15:46
server2client does not work more Susanne Tools Administration & Installation 8 2nd February 2005 19:45
How to use server2client RalphBaan Tools Development 2 8th April 2002 16:57

All times are GMT +2. The time now is 06:11.

©2001-2017 - -