开发者

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

开发者 https://www.devze.com 2022-12-14 03:39 出处:网络
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

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)


The Process object must have the UseShellExecute property set to false in order to use environment variables.

0

精彩评论

暂无评论...
验证码 换一张
取 消