muheeb
29th September 2004, 19:10
Hello all,
I face fatal error when try running a specific EXE file by "app_start"
DLL function in Baan4c4 (under UNIX and XP client).
Baan can run other executables without any problem,
but this specific program that works good as standalone;
and even it run and gives good result when running from Baan, BUT
Baan gives right away the following fatal error:
object 616 process 9 incosistancy
and then the session hangs (and need to be killed).
Does anybody has any clue what this fatal error means?
Thank you very much.
maxime
30th September 2004, 19:35
Hi,
Can you please post your code?
Maxime.
muheeb
1st October 2004, 10:25
Hi,
It's a very simple code... I just use the fucntion "app_start" to run my EXE
program. This code/session is used over and over in other users
(XP and 2000) with other Baan installations without any error.
Just with this some particular Baan installation I face this fatal error.
Also this EXE program works without any errors when I run it in command line
in the same client's OS.
crdeshpande
4th April 2007, 10:56
I am faceing same problem as above , any solution from gurus?
george7a
4th April 2007, 13:45
My guess is that it might have to do with your BW version. Is it an old one?
- George
crdeshpande
4th April 2007, 14:36
I confirmed it's nothing to do with bw version. I tried 66,73 & 79 bw version. when I execute exe for windows brower from baan I am getting error "object xxx process x incosistancy" and that is for some of the PCs only. On most of the pcs it's working fine. so I guess it's something to do with windows API dlls, but which ? we have all XP machines.
george7a
4th April 2007, 14:43
And the exe it self works good on all PCs, right?
crdeshpande
4th April 2007, 15:00
Yes , exe works on all pc's without problem independently, As you people(nazdaq) plays with winapi day & night I guess You might have face similar problem....;)
george7a
4th April 2007, 15:04
Do other functions from the ottdllbw DLL work ok on this PC? Functions like server2client, seq.open.local, remove.local.file or any other?
Could it be a permission issue on those specific PCs?
crdeshpande
4th April 2007, 15:06
yes , it's copies my exe from server to client machine..., Regarding permission problem .. I don't think so because when we log to xp you will have permission to execute exe files. Somewhere app_start problem while executing exe from unix to windows
george7a
4th April 2007, 15:20
In your case, can you run any other exe on that problematic PC? Try app_start with "calc.exe" for example. Does it work?
I think it differs when the server tries to activate the exe. It should have a permission to do so.
george7a
4th April 2007, 15:40
I have found something that should help you.
We have found out that some of the Anti-Spy (or Antivirus) products might cause this error. I can name the Anti-Spy that caused the problem for us before, but I don't know if I am allowed.
Check your problematic PCs for any Anti-Spy program that runs in the background, stop it and run your function again.
Let me know if that was the reason for your error.
- George
crdeshpande
4th April 2007, 15:54
Hi George
I tryied calc.exe & it worked , your comments please.. how to solve this permission issue?
george7a
4th April 2007, 16:02
Did you check if the problematic PC has any Anti-Spy product(s) running in the background?
As in my last post (http://www.baanboard.com/baanboard/showpost.php?p=112776&postcount=12), I have seen that one of the Anti-Spy products has caused this error to appear.
crdeshpande
4th April 2007, 16:34
Thanks George, I done following
1) Stopped windows firewall
2) stopped antispy & antivirus
tested again but no change in results , exe is executing after error message and afterwards session hangs and I need to kill the processes
mark_h
4th April 2007, 16:45
Just incase my companies firewall stopped my email - George you can always send a PM with the software included in it.
george7a
4th April 2007, 16:47
Our problem was cause by an Anti-spy program (I have sent you the name of the product by PM). When we stopped it, the exe worked well and without any errors.
What does the your exe do? Does it touch the registry/system32?
crdeshpande
4th April 2007, 17:06
Hi it just browse window, It's the same code from this post (http://www.baanboard.com/baanboard/showthread.php?t=1910)with little bit of modifications to work for XP
crdeshpande
4th April 2007, 17:10
here is attachment
george7a
4th April 2007, 17:14
Can you post a screenshot of all the processes (second tab of the task manager) that are running on that problimatic PC?
crdeshpande
4th April 2007, 17:45
Hi,
Here is JPG for all processes
george7a
4th April 2007, 17:49
I don't know if it is from the google exes (is anyone of them are trying to "protect" the PC?) but I have noticed that in order to use this exe (brow.exe), "comdlg32.dll" DLL must be found under system32. If not I see that this exe creates (maybe copies) the DLL under system32! Two things to check:
1) Does the problematic PC have this DLL?
2) Does the problematic PC have permission to write under system32?
There are other ways to build a windows browser without depending on the "comdlg32.dll" DLL.
crdeshpande
4th April 2007, 17:53
bye the way for more info .. we do not have any problem for b2win. it works fine on all pcs .. and when I tryied with with debug I got 509 error in bshell log.. don't know it helps you or not...
Thanks
crdeshpande
5th April 2007, 07:01
Hi George,
for your both question answer is Yes , what's the other way to achive this functionality?
Thanks
george7a
10th April 2007, 08:57
Hi,
try to use the exe in this link:
http://www.baanboard.com/baanboard/showthread.php?t=26814
I hope it helps,
- George
george7a
10th April 2007, 12:27
and when I tryied with with debug I got 509 error in bshell log...
Can you post a screen shot of the error you are getting in the bshell log?
george7a
8th March 2009, 14:51
Just for the record,
I had this error again in one of the PC's, it had vista on it. When I installed the latest BW version the error seemed to be gone.
I will keep you posted if anything new happened.
- George
george7a
5th February 2010, 08:23
I got this error again! now in Windows vista & BW version BWc.97. I will keep you posted to the solution..
crdeshpande
21st September 2011, 08:23
For those who face this problem with Windows Vista or Windows 7...
1) Install baan client as Administrator.
2) Click on properties of BECS , on compatibility tab under Privilege Level tick checkbox of "Run this program as an Administrator"
mark_h
21st September 2011, 16:24
Never knew about that - but then again all of our users are not allowed to run anything as administrator.
merian
7th January 2013, 14:05
we are facing this problem in a windows 7 pc with B40c.89 for example. Any general sollution?
merian
7th January 2013, 14:08
I got this error again! now in Windows vista & BW version BWc.97. I will keep you posted to the solution..
ANY missing post?
george7a
8th January 2013, 14:23
Try to upgrade your BWc to the latest version.