Advertisement

06.06.2007 at 07:51AM PDT, ID: 22616465
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.4

errors during Execute Process Task validation

Asked by SQLPoet in SQL Server 2005, MS SQL Server, MS SQL DTS

Tags: , ,

I am using an Execute Process task in SSIS (SQL Server 2005). I am supplying the location of the executable and the arguements via package variables and expressions.

the package variables are loaded like this:
...
ElseIf Dts.Variables.Item("User::DEV_SERVER_CONSTANT").Value.ToString = Dts.Variables.Item("System::MachineName").Value.ToString Then
            Dts.Variables.Item("User::strDEPCmd").Value = Dts.Variables.Item("User::MYDEP_EXE_DEV").Value.ToString
            Dts.Variables.Item("User::strDEPCmdArgs").Value = " server=" + Dts.Variables.Item("User::strSQLServer").Value.ToString + ";USER=AUTO;PWD=;USENT=Y;"
        ElseIf ...

MSGBOXing the variables out yields these results:
User::DEV_SERVER_CONSTANT = ComputerName
Both User::MYDEP_EXE_DEV and User::strDEPCmd = \\ComputerName\SharedFolder\SSIS_TEST\Mydep.exe
User::strDEPCmdArgs =<space>server=ComputerName\Instance;USER=AUTO;PWD=;USENT=Y;
User::strSQLServer = ComputerName\Instance

I created an expression in the Execute Process task for the executable that looks like this:
@[User::strDEPCmd] + @[User::strDEPCmdArgs]

Everything seems to be going smoothly on debug but I then get the following error:
...
Error: 0xC0029153 at Run MyDeposit, Execute Process Task: File/Process "Instance;USER=AUTO;PWD=;USENT=Y;" does not exist in directory "\\ComputerName\SharedFolder\SSIS_TEST\mydep.exe server=ComputerName".
Error: 0xC0024107 at Run MyDeposit: There were errors during task validation...

I have attempted to supply these values separately, as well. In that case, I removed the <space> from User::strDEPCmdArgs and supplied it in the box for arguments. This yielded the following result:

Error Desc:     [DBNETLIB][ConnectionOpen (Invalid Instance()).]Invalid connection.
Error Code:     -2147467259:80004005
Error Source:   modmain.main
Error System:   Microsoft
Error Location: Line: 0
Error Suggested Response: 0Start Free Trial
[+][-]06.12.2007 at 09:59AM PDT, ID: 19267898

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SQL Server 2005, MS SQL Server, MS SQL DTS
Tags: 0xc0029153, task, ssis
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.14.2007 at 06:06PM PDT, ID: 19288368

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.22.2007 at 05:26AM PDT, ID: 19340645

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]09.15.2008 at 10:54AM PDT, ID: 22481090

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]09.19.2008 at 07:38PM PDT, ID: 22527883

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32