Solved

MSSQL Job Agent running SSIS packages

Posted on 2013-11-27
7
815 Views
Last Modified: 2016-02-11
Greetings, I have a SSIS Package with two variables.  The variables are hard coded in a SSIS package.  I have provided an image attached.

Here's the variables:
11-27-2013-2-44-14-PM.png
Here's the step:
11-27-2013-2-58-08-PM-0001.png
and here's the mapping:
11-27-2013-2-58-24-PM-0000.png
The package runs with no errors while in BIDS, but when I attach the package to SQL Server Agent, I get the error "Parameter name is unrecognized"

This is the first package I am deploying to MSSQL.  However, I have looked at already deployed packages, and they have variables, but nothing in the Job Settings.  The project works fine in BIDS.

What am I missing?  Thanks
0
Comment
Question by:Evan Cutler
  • 4
  • 2
7 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39683053
Hi,
which SQL Server version and edition?
32 or 64 bit?

Thanks.
Rainer
0
 
LVL 9

Author Comment

by:Evan Cutler
ID: 39683619
I'm using 2008 64 bit, with this particular job running in 32 bit
0
 
LVL 25

Expert Comment

by:reb73
ID: 39686881
In the mapping try changing the value of 'ParameterName' from

?

to the ordinal

0
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 9

Author Comment

by:Evan Cutler
ID: 39687018
ok...what's an ordinal?
and what do I change in the line of the command?

Thanks.
0
 
LVL 25

Accepted Solution

by:
reb73 earned 500 total points
ID: 39688888
Ordinal is the order of the parameter list starting from 0.

The suggested change is in the parameter screenshot above, change the question mark to 0.
0
 
LVL 9

Author Comment

by:Evan Cutler
ID: 39688901
Ok. Please give me until Tuesday to try it. Visiting family for turkey day. Thanks
0
 
LVL 9

Author Closing Comment

by:Evan Cutler
ID: 39715471
don't know why this worked, but it did...
must be something I did...
Thanks.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now