 |
Microsoft Dynamics Support
Visit the Microsoft Dynamics newsgroups and exchange ideas with a community of business professionals and product experts from around the globe. |
|
|
| Author |
Message |
Laura Barber Guest
|
Posted: Wed May 07, 2008 6:53 pm Post subject: Error 5004 Unable to execute... Windows createprocess() erro |
|
|
Hello,
I have created two RDT executable files that work on my system. They bomb
on the client system, or to be more accurate, the code that tries to call the
executables is bombing. It gives the same message when I try to run notepad,
so I’m pretty sure Solomon never gets close to opening the executables.
I just learned after an hour of debugging that the client system is run on
Citrix terminal server. It is a Windows Server 2003 and the version of
citrix is "Citrix Presentation Server".
I seem to remember from years ago another client was also having problems
running Solomon or Solomon customizations through Citrix or through a
terminal server. I’m very fuzzy on details. Has anyone experienced this,
and if so, can you remember how it was solved?
If you’ve made it this far through the message, here are more particulars:
It bombs on this line of code:
serr1 = Launch("MC00200.EXE " + Trim$(Contract_ID), True, True, 0)
The full error is: "50004 unable to execute
c:\accounting\solomon\mc00200.exe 4 1049080 BAK5018888. Windows
Createprocess() error 2".
The contract id is BAK5018888, but I don’t know what the numbers 4 and
1049080 refer to.
I am on 6.5 SP1 and the client is 6.5 SP2. The module is Service Dispatch
and the screen is Service Call Entry.
--
Laura Barber on behalf of Bev Kaufman |
|
| Back to top |
|
 |
|
|
Laura Barber Guest
|
Posted: Wed May 07, 2008 11:42 pm Post subject: RE: Error 5004 Unable to execute... Windows createprocess() |
|
|
Please disregard - this error mysteriously disappeared on its own.
--
Laura Barber
"Laura Barber" wrote:
| Quote: |
Hello,
I have created two RDT executable files that work on my system. They bomb
on the client system, or to be more accurate, the code that tries to call the
executables is bombing. It gives the same message when I try to run notepad,
so I’m pretty sure Solomon never gets close to opening the executables.
I just learned after an hour of debugging that the client system is run on
Citrix terminal server. It is a Windows Server 2003 and the version of
citrix is "Citrix Presentation Server".
I seem to remember from years ago another client was also having problems
running Solomon or Solomon customizations through Citrix or through a
terminal server. I’m very fuzzy on details. Has anyone experienced this,
and if so, can you remember how it was solved?
If you’ve made it this far through the message, here are more particulars:
It bombs on this line of code:
serr1 = Launch("MC00200.EXE " + Trim$(Contract_ID), True, True, 0)
The full error is: "50004 unable to execute
c:\accounting\solomon\mc00200.exe 4 1049080 BAK5018888. Windows
Createprocess() error 2".
The contract id is BAK5018888, but I don’t know what the numbers 4 and
1049080 refer to.
I am on 6.5 SP1 and the client is 6.5 SP2. The module is Service Dispatch
and the screen is Service Call Entry.
--
Laura Barber on behalf of Bev Kaufman |
|
|
| Back to top |
|
 |
|
|
David Beaver Guest
|
Posted: Fri May 16, 2008 8:57 pm Post subject: RE: Error 5004 Unable to execute... Windows createprocess() |
|
|
This may not be the right solution for you, but this seems like a good place
to post this. I was getting the same errors in Dynamics SL v6.5, when adding
to the Menu system (file delta.mnu) a call to an external program. I
discovered that the full name of the path/program being called in delta.mnu
cannot be longer than 28 characters. If it's longer, you'll get this error.
Other posts say that this error typically means "I can't find the file I'm
trying to execute". So mis-spelling the file name would cause it, but also |
|
| Back to top |
|
 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|