SSIS Variables Window Not Coming Up

Dec 13, 2007



I'm not sure if this is the right forum, but i'm having an issue where SSIS Variables window will not come up. The most i get is a gray bar that looks like it is supposed to hold the variables.

I've tried getting it to show by:
1) Menu --> SSIS --> Variables
2) Right Click --> Variables
3) Menu --> View --> Other Windows --> Variables

The same thing seems to happen for "log events" in Menu --> View --> Other Windows --> Log Events.

Does anyone know how to fix this? Is anyone else having this problem?!?!?!

-Thanks Thames

View 6 Replies


ADVERTISEMENT

Variables Window

Apr 30, 2006

Hello All,

I am wondering if someone can shed some light on how to display "Variables" window in Integration Services. I am trying to add a new variable by clicking SSIS menu, and choosing Variables. However, the Variables window never showed up. Is there some property settings that I need to set before I could view the Variables window?

Your help is much appreciated!

-Lawrence

View 5 Replies View Related

Adding Variables To The Watch Window / List ...

Feb 5, 2008

Not sure if this is a "user training" issue or a bug, I seem to have difficulty dragging and dropping variable(s) to the watch window. Is there a specific sequence I need to follow to enable this feature in BIDS? Appreciate any feedback.

View 5 Replies View Related

Another DB2 Issue In SSIS - Text Coming Across As ?hex?...

Feb 15, 2008

I've tried setting the "Process Binary as Character" setting to true on the data source. I've tried cast and convert statements in the queries. I've tried conversion steps... Am I missing something simple, or is it really this difficult to get text values pulled from DB2 as text?
I'm using Microsoft's OLE DB provider for DB2.

Anyone have experience with conversion problems pulling text from DB2 databases?
Thanks in advance...
Laura

View 7 Replies View Related

Ssis Security Short Coming, Major Issues

Jan 6, 2006

Hello,

I feel like ssis encryption model has a serious flaw. Especially when linked to SQL Agent jobs.

I have posted and others have posted messages about this. Something is plain wrong with ssis encryption keys and password protection. Also, you do not have the choice not to protect the packages. In my case, protecting packages is completely useless.

Here is the story.

After this post

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=131340&SiteID=1&mode=1

I created config files for al my packages connections passswords.

Now, by our IT Policy, I had to change again my password and of course, all packages now return multiple errors when I open them.

Hopefully, the config file did its job and the packages are ran anyways by SQL Agent, however, having to manually retype and resave all packages not to have the errors is just a plain hassle. Not to speak about people not using the config files and the correct "Run As" sql agent account.

I stress the fact that in a real world production environment all packages are driven by SQL Agent jobs and MUST run automatically.

Here is the error I get after opening a package after changing my password:

Error 1 Error loading Constants05.dtsx: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.   c:projectsssis packagesssis constantsConstants05.dtsx 1 1 

So Why is'nt this key automatically adjusted after Windows NT Domain password Change?

How can I refresh the key, not to have to reype all the packages connections passwords and rebuilding, Checkin-in again all the stuff?

I do not think the solution is "Use an application account which password never changes when you create your ssis packages" however at this time, this is the only solution I can think of.

How do you guys deal with this problem?

I still do not understand the ssis security model I feel it is diconnected from the reality and unpracticable in a production environment like mine.

Thanks

Philippe

View 17 Replies View Related

Ssis Designer Immediate Window

Dec 18, 2006

Where can I find instructions on how to use it?

View 1 Replies View Related

SSIS 'Execute Process Task' Doen't Open Window

Oct 23, 2006

Hi

I couldn't find an 'SQL Server Agent' Forum , so I'm posting this here...sorry.


I'm using a job to run a batch file with several robocopy commands in it.
The step in the scheduled job runs a SSIS package saved in the Server Package Store.
The SSIS package uses an 'Execute Process Task' control flow item.
The 'Execute Process task' simply calls and execute the batch file. (WindowStyle property = Maximized)
The package/job runs fine in both Visual Studio and in Management Studio. However when run from the latter (SQL Management Studio Job) the command prompt window (dos screen) doesn't open so I can't tell at what stage the batch file is in at any given time.

How can I get the window to open? By the way the window does open if I run the SSIS from Visual Studio.

Thank you

View 1 Replies View Related

Integration Services :: SSIS Custom Task - Drop Down List In UI Window

May 23, 2015

I'm writing my first SSIS custom task. I have added Public properties, which appear in the standard task properties window, and to one of them I have added an EditorAttribute as follows:

    <Category("General"), _
    Browsable(True), _
    EditorAttribute(GetType(UIFileNameEditor), _
    GetType(System.Drawing.Design.UITypeEditor))> _
    Public Property FilesToArchive() As String

[Code] ....

When I select the FilesToArchive property in the Properties window, I get an ellipsis that appears in the property value. When I click on the ellipsis, it brings up the FolderBrowserDialog, which is defined in the UIFileNameEditor class. This all works fine.

What I want to do is to bring up the EditorUI, the one you get when you double click on the task, and also populate that with properties which can be edited. I have a class which inherits DTSBaseTaskUI, which is displayed when I double click on the task.

I can also get properties to be displayed in that UI but I cannot get them to be editable in that UI, using the same technique as in the standard Properties window, as described above.

View 3 Replies View Related

Integration Services :: Updating SSIS Task Standard Properties Window

May 25, 2015

If, in an SSIS package, you put an instance of an 'Execute SQL Task' task in the Control Flow, in the Properties window, you can see the properties of the task, for example CodePage.

If you double click on the task, the Execute SQL Task Editor appears, with several of the properties which are also in the Properties window, including CodePage.

If, in the Editor, you update the value of CodePage, then click OK, the value of CodePage in the Properties window is updated immediately.

I have written a custom SSIS task, which also has the same properties in the Properties window and in the Editor. The Editor also has an OK button. When OK is clicked, the values of the task properties are updated. An example property is FolderToArchive. If I open the Editor, change the value of FolderToArchive and click the OK button, the value of FolderToArchive in the Properties window is NOT immediately updated.

If, however, I select the FolderToArchive field in the Propertiesd window, it is then updated with the value I entered in the Editor.

How do I get my task to update the values in the Properties window, after changing a value in the Editor, when I click the OK button?

I would have thought I would need something like, in pseudo-code,

    Task.Parent.PropertiesWindow.Refresh
    where task is of type Microsoft.SqlServer.Dts.Runtime.Task and Task.Parent is of type Microsoft.SqlServer.Dts.Runtime.Package.

View 9 Replies View Related

How To Connect To Sql Server As Other's Window Login Rather Than User's Window Login Thorugh ASP.NET.

Dec 14, 2006

Dear members,

In MSDN, it says that it is recommended to use windows authentication to connect to SQL Server rather than use mixed authentication.

I create user deltasqluser on windows OS, and I specify in my webform ASP.NET script below :

protected System.Web.UI.WebControls.Label Label1;
private string _connString = @"data source=deltasql2000;initial catalog=northwind;integrated security=false;user id=deltasqluser";
/*
comment : I login to my windows as deltakoronx, and I want to every user (including me), connected to sql server through IIS, will be identified as deltasqluser not as user's login (impersonate)
*/
private void Page_Load(object sender, System.EventArgs e)
{
SqlConnection conn = new SqlConnection(_connString);
SqlCommand cmd = new SqlCommand();
cmd.Connection = conn;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select suser_sname()";

conn.Open();


string userName = cmd.ExecuteScalar() as string;
conn.Close();
conn.Close();
Label1.Text = userName;
}


at web.config, I add :
<identity impersonate="false" userName="deltasqluser" password="" />


at IIS webApplication1's properties, tab "Directory Security", at "Authentication and access control" section, I checked "enable anonymous access" with user : DELTAIUSR_DELTA and checked "Integrated Windows Authentication",


at query analyzer, I login as "sa" and execute script below :
exec sp_grantdbaccess 'deltasqluser','northwind'


when I run the ASP.NET script, error at conn.Open(); with error message :
Login failed for user 'NT AUTHORITYNETWORK SERVICE'.


What should I do so that IIS login to SQL Server as user deltasqluser not as "NT AUTHORITYNETWORK SERVICE" ?

Regards,

Koronx

View 1 Replies View Related

Using Variables In SSIS

May 16, 2006

Hi there,

This is what I am trying to do :

1) Create a global variable.
2) assign a value to the variable using an SQL Task. (For this all I want to do is assign a maximum value from a column in my table)

3) use the variable in a Data flow task (using SQL to get my source data)

I know this must be very simple but I am new to SSIS and I am struggling to achieve this task.

Thanks for your help in advance.

View 11 Replies View Related

Using Variables On SSIS

Aug 2, 2007

Hi,

I'm trying to use a variable in a OLEDB Command, but i can't do it.
What i want to do is:
Step 1: Count the number of rows of a table (using count rows transofrmation) and save it to a variable 'var1'.
Step2: Insert some rows on this table.
Step 3: Count again the number of rows and save it on another variable 'var2'.
Step 4: Ina OLEDB Command , get the inserted records in step 2 to manipulate them on other tables...

Something like that: select top (@var2 - @var1) * from table order by desc

¿Can i use local or global variables from an OLEDB Command transformation object?

View 3 Replies View Related

SQL 2012 :: XML SSIS Variables

Sep 17, 2015

I have a process which connects to a SQL server remotely, runs some code, creates a temporary table with an output. I want to be able to select the results of this table into XML (not a problem), put the results into a variable in SSIS, and put the variable results into a SQL table a different SQL Instance. Doing it this way removes the footprint of needing a normal table on the source SQL Server.

View 2 Replies View Related

SSIS Global Variables

Jul 10, 2007

Before in DTS, I used to using ActiveX scripts to setup simple Global Variables that would later be used by the package, let's say a give state or a date.
I'm completely lost how to do the same in SSIS, can someone give me a hand?
I'm not sure what component to use and how to read this variable.

View 2 Replies View Related

SSIS Variables Error

Apr 27, 2007

Hello,
I am wondering what is the difference between assigning variables in the following two ways.1.
Dim myVar11 As Variables
Dts.VariableDispenser.LockOneForWrite("LoopCount", myVar11)
myVar11("LoopCount").Value = 32.
Dts.Variables("LoopCount").Value = 3I received this error when processing SSIS Package.

Error: A deadlock was detected while trying to lock variables
"User::LoopCount" for read/write access. A lock cannot be acquired after 16 attempts. The locks timed out.

Your help is appreciated,
-Lawrence

View 7 Replies View Related

SSIS Package &&amp; Variables

Aug 15, 2006

I have a SSIS package that was migrated from DTS 2000. It had a variable that I passed to the DTS package when executing. Now when I try executing the SSIS package with the variable, I get the following error: The package path referenced an object that cannot be found: "package.variables[user::SnapShotDate].value". This occurs when an attempt is made to resolve a package path to an object that cannot be found.

From everything that I can find, I am passing the variable correctly. If I look at the package within BIDS, my variable is listed under the variable window & it is scoped for the package. Any ideas on what I might be missing here? This is my first SSIS package that contains a variable.

Let me know if you need more info.

Thanks!

John

View 3 Replies View Related

Using SQL Variables In SSIS Packages

Jul 7, 2007

I have a simple task that I would like to manage through a SSIS package but do not know how to accomplish it. I need to perform the following tasks:

1. update a sql server table (ecwcust) and set the ftpstatus column to 'P' when the column's value is 'E'.
update ecwcust set ftpstatus = 'P' where ftpstatus = 'E'
2. declare a variable and set the variable to the number of rows that have a ftpstatus equal to 'P'
declare @newcustomercount int
select @newcustomercount = count(*) from ecwcust where ftpstatus = 'P'
3. if @newcustomercount > 0, copy all of the rows from ecwcust where ftpstatus = 'P' to an excel spreadsheet.
4. send an email to an email recipient with the excel spreadsheet as an attachment.
5. delete the excel spreadsheet.

I do not know how to create the variable @newcustomercount so that I can determine whether or not to create the excel spreadsheet and copy the records to it.
I have read all the online help and stuff that MS has but I can't understand the instructions. Please point me to some instructions that are understandable.

View 3 Replies View Related

Variables In Ssis Designer

Oct 22, 2007

Hi there,

I have a script which grabs data from a source server. The problem is I have over 50 source servers, so I have to make a script for each one.. EXACTLY the same code but different linked server address.

So I was wondering if i can put the server name into a variable so I only need to make one script.
Is that possible?

thanks,

View 3 Replies View Related

SSIS Variables Not Changing Value?!

Jun 6, 2006

Greetings my SQL friends,

I have a very simple package which consists of a SQL Task component and a Script Task.

The SQL Task retrieves a single value from 1 row table in one of my database and assigns that value to a variable. The Script task simply outputs the value of the variable in to a message box. I know, it's all simple stuff (I am trying to master SSIS )

The problem I have is that when I change the value of the column in my table, the value of the variable is not changing when I re-run my package. It seems to be the same value every time.

What am I doing wrong?!

Your help would be much appreciated.

View 8 Replies View Related

Dyanmic Value Variables In SSIS

May 29, 2007

in my package, I have serveral data flow sources using a same date value. the date value is different everytime the package is executed. (e.g. the date is two weeks before the execution date) I want to create something in my package which can dynamically calculate the datetime and pass it to all the data flow sources.



I thought variable is a good choice. but i don't know how to make the value dynamic.



anyone please help.



thanks

View 9 Replies View Related

How To Export SSIS Variables From Each Other?

Jul 24, 2007

Hi all of you,



I don't think that such thing is possible but either way, I ask, just in case...



We're doing lots of packages which must have the same variables (in terms of datatype, name, etc..)



TIA for that,



View 5 Replies View Related

SSIS Variables In SQL Agent

Feb 25, 2006

I need to pass a value to a package level variable in an SSIS package from a SQL Agent job. If I use dtexecui the syntax for passing the variable in the Property Path is

Package.Variables[User::MyVar].Properties[Value]

and the package runs fine.

When I use this syntax, or any similar format I can think of, in SQL Agent, my job fails. In SQL Agent you put this in the Property Path on the Set Values tab of the Step that runs the package. If I remove passing in the variable my package runs fine.

BOL says use the format Package<container name>.<property name> but I can find no examples. Can anyone provide a working sample to make this work?

Thanks.

View 4 Replies View Related

Variables In SSIS Package

Jan 22, 2008



I have defined an active X task (converting from SQL 2000)


Function Main()


DTSGLOBALVARIABLES("TEST").Value= InputBox("TEST : ","Message Box")

Main = DTSTaskExecResult_Success

End Function


The problem is that this variable is not recognized by the subsequent tasks although I have defined a variable "TEST" in the variable lists.

Is there something else to do to get it recognized ?

Thanks for helping,

Pierre

View 8 Replies View Related

SQL 2012 :: Using Variables In SSIS Tasks

Dec 2, 2014

I have this procedure to remove certain characters from file names.

The SQL Task has this: exec dbo.spCleanseFileName @strFileName = ?, @strFileNameCleansed = ?

The stored procedure:
CREATE PROCEDURE [dbo].[spCleanseFileName](@strFileName varchar(40),@strFileNameCleansed varchar(40) output)

I have it in an SSIS package and my problem is that, after that SQL Task completes, the value for the
),@strFileNameCleansed variable is blank. I HAVE confirmed that the procedure DOES set the correct value inside the SP.

View 2 Replies View Related

SQL 2012 :: SSIS And Variables With Where Clause

Jan 15, 2015

I have an SSIS package which uses variables and foreach loop containers so connect to multiple instances to retrieve config data. I am adding an extra step to include the port of each instance.

I used a select from a central table to get the connection strings, which is put into [User::Server2]

1) execute SQL task to collect the port

(DECLARE @portNumber NVARCHAR(10)
EXEC xp_instance_regread
@rootkey = 'HKEY_LOCAL_MACHINE',
@key =

'SoftwareMicrosoftMicrosoft SQL ServerMSSQLServerSuperSocketNetLibTcpIpAll',
@value_name = 'TcpPort',
@value = @portNumber OUTPUT
)

Which is then put into a variable @Portnumber

2) I then need to insert this into a certain server with a where clause including another variable

so something like
"INSERT INTO DBO.InstanceConfig VALUES ('"+@[User::Portnumber]+"') where Serverinstance = ('"+@[User::Server2]+"')

but it doesnt work like that.. is there an easier way

View 1 Replies View Related

SSIS Script Global Variables

Feb 6, 2008

How do i access global variables in SSIS scripts ?

the Dts.variables("VarName").Value

should work but doesn't ?
do i need to reference the variable another way ?

View 1 Replies View Related

Trying To Use SSIS Variables Within SQL Queries Associated With Lookup

Nov 30, 2007

I'm trying to understand how to use SSIS variables within SQL commands and which Data Flow toolbox objects I can use for this. My simple package has a OLE DB Source object that returns the rows in a table. For the next operation, the output from the OLE DB Source is input into a Lookup data flow transformation where there is a select query that returns another value from a different table...

select bla from myTable where dbname = db_name()

The output is then passed on to an OLE DB Destination.

The above lookup query only works because, it so happens, that I could get a unique and correct result back filtered by current database name. However, due to other required changes, I now have introduce more 'where clauses'. I have all the necessary clause information in SSIS variables (iterated via a For Each loop). I would like do something like...

select bla from myTable where dbname = ? and bla_type = ?

However, there isn't a facility for Parameters in the Lookup object's 'use results of a SQL query'. I can see that I can use parameters in the OLE DB Source object by changing the 'data access mode' to SQL Query. However, it doesn't seem valid to join two OLE DB Source objects together in the data flow? I can't see any other suitable objects in the Data Flow toolbox. Ideally, I would be able to use Parameters in the Lookup object or some other object that would do the same job.

Thanks,
Clive

View 6 Replies View Related

How To Pass DB Connection To SSIS Through Variables?

Jan 14, 2008

Can any one please help me. how to pass the database connection through variables to SSIS.
And also calling SSIS from visual studio.net


Regards
Ravi

View 1 Replies View Related

Accessing Variables In SSIS Code

Nov 21, 2006

Hi

I am not able to access SSIS variables which are defined at Data Flow Task in a custom component. This custom component is developed by me in C#. How can i access these variables?

Please let me know if theres a way to access SSIS variables.

Thanks,

Vipul

View 10 Replies View Related

Setting SSIS Variables In SQLAgent Using VB.net

May 13, 2008

This is a fun one. I have a job that runs a SSIS package. It has some variables that I set a runtime. How can I programmatically change the values for these variables using SMO? I can get to the step in the job using VB but I can't find a way to programmatically change the value of the parameters of the job. The code loops through every property of the SSIS step. There's a command string but that's an ugly beast to code against. Any help is appreciated.


With oStep

Console.Write("Name: " + .Name + vbTab)

Console.Write("Proxy Account: " + .ProxyName + vbTab)

Console.Write("Type: " + .SubSystem.ToString + vbTab)

Console.WriteLine("Urn to point to job: " + .Urn.ToString)

iProp = .Properties.GetEnumerator

While iProp.MoveNext

Console.WriteLine("Property Name/Value: " + Convert.ToString(iProp.Current))

End While

End With

View 3 Replies View Related

Help Required Using Variables And Comparing Them In SSIS

Sep 25, 2007



Hi i am New to ssis and Scripting in ssis what i was trying to do was to compare few variables which i populate using execute sql tasks and determine which process needs to kick off based on Task success or Failure



are the variables i am populating Mapping them to result set in execute sql task.

This is the criteria for script task to Fail or success


I am not able to populate the varibales with the Values from Execute Sql and also i am encountering errors in the script task.

I am Declaring ex: myvar11 as variables and then using it , please help me as i am new and guide me for the right approach. and can this logic be implemented in ssis for example like && operator used in script.
End IF

View 36 Replies View Related

System Variables In A SSIS Package

Oct 2, 2006

hello all,



I am having a hard time referenceing system variables. Can some one give me a quick lesson?



I am trying to save system variables suck as StartTime finishtime and processes ran?



I want to store these items into a table for use later.

View 10 Replies View Related

Setting Variables In SSIS Packages

Feb 8, 2006

I have a bunch of variables which I need to initialize from Parameters table in SQL Server database.

I could think of the following two ways

1) Have one SQL Task for each variable and assign a query such as - Select ParamValue from Parameters where ParamChar = '<KeyName>'

2) Have a script task and write VB code to connect to the database and fire one query for every variable and set it accordingly.

I am not totally convinced with both of these approaches. Is there any better approach than these...

Thanks,
Loonysan

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved