471,348 Members | 1,325 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

%1 is not a valid Win32 application

Hi,

We have a .net dll, which has a wrapper to command line tool. When we try to
call we enocunter this error. When we execute the same command from command
line it executes without error. Can anyone help us out with this problem?
Following is the error we encounter.

"d:\iw-home\Teamsite\bin\iwgetfilejobs
"\default\main\APAC\English\Demo\WORKAREA\workarea \templatedata\ExternalContent\1IntelWeb\data\13190 252\180313.xml"
returns 1 : System.ComponentModel.Win32Exception: %1 is not a valid Win32
application at
System.Diagnostics.Process.StartWithCreateProcess( ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start() at
Intel.Ebusiness.Platform.Content.Workflow.CommandL ineTool.Execute() "
Jul 21 '05 #1
1 7090
> We have a .net dll, which has a wrapper to command line tool. When we try
to
call we enocunter this error. When we execute the same command from command line it executes without error. Can anyone help us out with this problem?
Following is the error we encounter.

"d:\iw-home\Teamsite\bin\iwgetfilejobs
"\default\main\APAC\English\Demo\WORKAREA\workarea \templatedata\ExternalCont
ent\1IntelWeb\data\13190252\180313.xml"


I think that "180313.xml" cannot be launched directly the way you have
implemented it, you need some other instruction that launches the
application associated with the xml extension instead.

Bascially you must execute a ShellExecute() but I don't know how that is
done in C# yet.
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Mark Space | last post: by
1 post views Thread by Pradeep D | last post: by
6 posts views Thread by =?Utf-8?B?TWVsaXNzYQ==?= | last post: by
reply views Thread by Gianluca Pezzoli | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.