Error in .NET.

I used the Execute Processs Task to extract files from a zip folder.

In the task editor of the execution process, in the tab "Process" I set the following parameters:

Executeable:C:\Program Files\WinRAR\WinRAR.exe 

and in the expression Tab:

 Arguments:"e "+ @[User::ZipFilePath] +"\\"+ @[User::FnameZip] +" -o+" workingDirectory:@[User::UnzipFilePath] 

When I run the SSIS package manually from the BID environment, everything works fine, But my problem is to execute the package from the .asp.net application .

In .NET, my program failed and returned a warning: No archives found

What's wrong? Is this another setting to run the package in .NET? I get this message in the log: The result of the expression "e" + @ [User :: ZipFilePath] + "\" + @ [User :: FnameZip] + "-o +" "in the" Arguments "property cannot be written to the property The expression was evaluated, but could not be set in the property, and for others my variable I exceeded the error.

just if I set the argument without a variable and give the path like this: D: \ tempHolderZip \ myfolder.zip, it works in .net

I found it. I also tried it, but no result.

+4
source share

All Articles