简体   繁体   中英

.Net Error(The data area passed to a system call is too small)

Am trying to execute ssis package using dtexec utility from c# app(Creating New Process, assign arguments to Info and finally Process.start(),while processing have come accross "The data area passed to a system call is too small" Error. System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

** Note:it is failing only when it exceeds certain number of arguments(In my case:22)(package variables)

为了使用环境变量,Process对象必须将UseShellExecute属性设置为false。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM