baanlover
11th August 2003, 10:47
i have created a customized table and trying to generate a maintain session for this customized table. I m using session ttadv2290(BaaNERP 5.0c) and selecting the option to generate script along with Run session option. While running the session, it comes out with an error "Cannot read session or object !!!!cannot determine location!!!!". I saw on the OS level, scripts are getting created but objects are not there in the folder. I tried compiling the objects thru session ttadv2530 but still objects and not created. Any suggesions ???

~BL

baanlover
13th August 2003, 13:54
Help me BaaN Gurus.

~BL

morpheus
13th August 2003, 14:42
Have never worked on BaaN V, but in BaaN IV, there is a session ttadv1115m000, where the path for the objects, etc., are to be defined. Please check the corresponding session in BaaN V.
Good Luck...

baanlover
13th August 2003, 15:24
I have found the problem and will post the details, only after getting the response from BaaN, b'cause this a bug in bic.exe and std_gen.exe files. I have to confirm this only after getting the new bic.exe and std_gen.exe files from BaaN. But, i m sure that the bug is from these 2 files.

~BL

Warans
20th August 2003, 14:38
BL,

Did you get the bug fixed by BaaN ?

If you could let us know the details, it would be highly appreciated.

Thank you

Warans

baanlover
22nd August 2003, 16:10
Hi,

I myself found the problem as well as solution also. I had installed BaaN 5.0c in my test server and the folder which i created for baan was d:\program files\baan. After installation, was trying to develop some new maintain session and print session. I was able to generate the session, but while compiling the Program scripts, it was not generating the objects, but was able to generate objects for report scripts. I reported this to baan and they said, i have to validate the server for new developments and then only the objects will be created. I was remembering that, i had already done the developments in baan 4c4 using demo lic, but baan people were not getting convinced. I validated my system and was retrying but the problem was same. Finally, i started looking for the sol and found that, if i compile the program scripts from command prompt, the objects were getting created. Finally, i found that, while compiling scripts(program or reports), it creates a temp file in $BSE\tmp folder, but bic.exe and std_gen.exe was not recognizing the folder d:\program files\baan\tmp as a single folder. while compiling the script from command prompt, i was using temp folder as "d:\program files\baan\tmp" and was able to generate objects. When i saw while creating report scripts, the session ttadv3530m000, uses temp folder within " " but the session ttadv2530(program script) doesnt take temp folder in " " and was not able to take d:\program files\baan\tmp as a single folder. This is standard bug in baan b'cause even in baan ivc4, the session ttadv2130(maintain program scripts) doesn’t take temp folder in " ". Now, i have created a new folder in e:\ drive and have changed the location of $BSE\tmp folder from d:\program files\baan\tmp to e:\baan\tmp after modifying the registry and the env var of my server and it is working fine. I have already reported this to baan.

hope it will help u all while installing baan s/w.

Regards,
BL

vishbaan
27th August 2003, 12:07
hi

i too have the same problem of scripts not getting compiled.

the compilition error , it shows

std_gen ........d:\baan\tmp\tmp00012320........
bic .............d:\baan\tmp\tmp0000012323........
ptcmcs9445060000g : No such file or directory

I set the registry BSE_TMP to d:\baan\tmp; it was initally %BSE%
\tmp no big difference I believe.

i tried compiling from command prompt even, no success.

what could be the problem ????!!!! any clues

wishes

vish

vishbaan
27th August 2003, 12:15
hi

I am able to compile it from the command line using std_gen and bic.

But even after setting BSE_TMP in registry and env variable in the server, I am still not able to compile the scripts from BaaN, Maintain scripts.

same error i get:
ptcmcs944560000g : No such file or directory.

thanks for a clue...

vish

baanlover
27th August 2003, 12:37
If u r doing the changes at reg level, pls dont forget to restart the server, b'cause i have faced the same problem, but after restarting the server, it got solved.

Regards,
BL

vishbaan
29th August 2003, 12:09
hi BL,

the program scripts have the same error while compiliation.

No such file or directory : Ptcmcs944560000g

any further clues

vish