What User Is Used When Executing An SSIS Package From Management Studio?
All:
I am working with a package that executes a stored procedure. This stored procedure makes use of a Linked Server. When I execute it in debug mode in VS 2005, it works flawlessly. However when I deploy it to the production server and execute it by going to Management Studio, connecting to Integration Services, navigating to MSDB, right clicking and choosing "run package" I get the infamous:
Login failed for user '(null)'. Not associated with a trusted SQL Server Connection. OLE DB Provider SQLNCLI for linked server [name] returned message "Communication Link Failer"
error. If I execute the stored procedure by itself on the production server, it works flawlessly. It is only when this stored procedure gets executed via the above mentioned way inside of an SSIS pack that I get this error. To me this suggest it is being executed as a different user, but I don't know which one.
Any help would be wonderful.
Thank you in advance...
AccDev
View Complete Forum Thread with Replies
Related Forum Messages:
Executing SSIS Packages From Business Intelligence Studio When Not The Package Owner
I created a package but someone else will be running it every day. When this person opens the project in Business Intelligence Studio they get build errors such as the following: Error loading PackageName: Failed to decrypt protected XML node "PackagePassword" 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. this problem is described in the article below however the only advice they offer is to "change the value of the ProtectionLevel property " however they don't specify what to change the value to. I have tried every option but it still does not work. And having them enter in a password every time is out of the question. http://support.microsoft.com/default.aspx?scid=kb;en-us;904800 It seems there is no way for someone other than the package owner to run the package! Running them from the sql server is not an option since we don't have permission to do so. As far as I know BIS is the only way.
View Replies !
User Rights And Executing Of SSIS Package
I have a small SSIS package which: - drops existing table in Excel, - creates a new one in Excel, - copies data from SQL to newly created sheet. So there are 2 connections: one to a excel file, and second to SQL using sa account. I am working on my account belonging to Administrators group. SQL Server and Excel file are on my development machine. Everything works ok when I run package from file system using DTExecUI.exe (in context of my user belonging to Administrator group). But when I have created job to execute this package problem with security occured. Even assigning local account on which SQL Server and SQL Server Agent works to Administrator group do not help. I have simulated what can happen when running DTExecUI.exe utility in contex of different user. I have used Administrator (I start it using "Run As..." from context menu in Explorer"). And what occured, SSIS package can not login to SQL Server using sa user! 1. Why running DTExecUI.exe in context of different user impact login to SQL on sa accout? If it were Windows Integrated I could understand it. 2. Especially if the different user is also Administrator!!! I have found solution for running a task in SQL Agent - SQL Agent has to work on the same account on which SSIS package was created. But this is crazy when I would like to deploy it to a production server. Please help. Przemo
View Replies !
SSIS Package Not Running From Client Management Studio
I migrated a few stored procedures from SQL 2000 to SQL 2005. When the packages are run from the box where the SSIS and SQL Server (Windows server) is installed it is running fine without any issues. When run from my local machine (client) where I have installed the SQL Server Client, the same package would not execute and gives me some weird error messages. I am a local admin on the box. Is this a issue with SSIS? Do we have to log onto the box (server) and then execute the packages? Any help is appreciated. Thanks !
View Replies !
Error Running SSIS Package From Management Studio
Hi I created SSIS Package to transfer tables from one sql2005 DB to another sql2005 DB. When I execute the package from the BIDS it execute succesfully. However, when I import the package (file system) to the management studio - msdb - stored packages and run the package from there (right click: Run Package) I get this error: the validate method on the task failed, and returned error code. the validate method must succeed and indicate the result using an out parameter. what is the reason for this error? I aprriciate your help. SeoAndSo.com
View Replies !
Including SSIS Package To Management Studio And Scheduling The Same.
Hi, I am new to SSIS and SQL Server 2005. I have imported data from excel file to SQL Server 2005 data base and save that as a SSIS package. I saved that package both in SQL SERVER and as a dtsx file. Now I wanna see the same in object explorer in Management Studio. How do I include one SSIS package to Management Studio? If I want to schedule the same how do I do? It would be great if anyone can help me.
View Replies !
Error Stating Package Failure While Executing SSIS Package In Standard Edition
Hi, I have developed an SSIS package for ETL purpose. I am invoking the SSIS package through .Net console application by referencing the ManagedDTS Assembly. I am able to execute the package in Sql Server 2005 Developer Edition and it runs fine till completion. But when i try to execute the packahe in Sql Server 2005 Standard edition, by invoking the package through .Net console application the status of the package is failure. Can any one help me how to over come this problem.
View Replies !
Error While Executing SSIS Package From Other SSIS Package
Hi, In our project we have two SSIS package. And there is a task (Execute SSIS package) in First package that calls the execution of second package. I m continuously receiving an error "Failed to decrypt protected XML node "PackagePassword" 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." As we are running first package by job, job runs successfully logging above error The protection level of second package is set to "EncryptSensitiveWithUserKey" Can anybody please suggest how to handle it?
View Replies !
Help. Problem Running Package From Management Studio Job
Help. I am trying to run an SSIS package from Management Studio jobs. It probably has to do with passwords or something, but I am clueless where to fix. Thanks! version: SQL Server 2005, sp2 This is the error I am receiving: Quote: Message Executed as user: ABCsqluser. ... Version 9.00.3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 11:21:14 AM Error: 2007-03-15 11:21:14.73 Code: 0xC0016016 Source: Description: Failed to decrypt protected XML node "DTS:Property" 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. End Error Error: 2007-03-15 11:21:14.86 Code: 0xC0016016 Source: Description: Failed to decrypt protected XML node "PackagePassword" 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. End Error Error: 2007-03-15 11:21:22.18 Code: 0xC001602A Source: Oehm Automation - Fetch a... The package execution fa... The step failed.
View Replies !
VERY!! Slow Package Execution When Using Management Studio
I have a parent package which executes 14 child packages in parallel, which on average take ~10 seconds each to complete when I execute the parent packege using BIDS or DTEXEC. However, if I run the parent package using SQL Management Studio (Integration Services > Stored Packages > MSDB > Right Click > Run Package) each package takes in excess of 10 minutes to run, getting progressively slower as each package starts. Surely the package is executing in exactly the same way as BIDS/DTEXEC, just a differenct UI? Can anyone explain why this happens? Thanks in advance, Leigh
View Replies !
User Token Is Different When SP Is Executed In Management Studio Vs Application
Hello, I have a stored procedure that outputs login token and user token information. The stored procedure has WITH EXECUTE AS CALLER specified. When I execute the stored procedure from Management Studio I get the following output from the stored procedure <login_token pid="267" sid="AQUAAAAAAAUVAAAAdbl1VI3r6l4jX2Nr0AYAAA==" name="MYDOMAINjoe" type="WINDOWS LOGIN" /> <login_token pid="2" sid="Ag==" name="public" type="SERVER ROLE" /> <login_token pid="3" sid="Aw==" name="sysadmin" type="SERVER ROLE" /> <login_token pid="257" sid="AQIAAAAAAAUgAAAAIAIAAA==" name="BUILTINAdministrators" type="WINDOWS GROUP" /> ... (more groups) <user_token pid="7" sid="AQUAAAAAAAUVAAAAdbl1VI3r6l4jX2Nr0AYAAA==" name="MYDOMAINjoe" type="WINDOWS LOGIN" /> <user_token pid="0" name="public" type="ROLE" /> <user_token pid="5" sid="AQUAAAAAAAUVAAAAdbl1VI3r6l4jX2NrCAUAAA==" name="MYDOMAINPeople" type="WINDOWS GROUP" /> <user_token pid="16" name="approleDirector" type="ROLE" /> <user_token pid="16384" name="db_owner" type="ROLE" /> When I execute the stored procedure through my application (IIS application connecting to SQLServer 2005 through SQL Native Client - not .NET) I get the following <login_token pid="267" sid="AQUAAAAAAAUVAAAAdbl1VI3r6l4jX2Nr0AYAAA==" name="MYDOMAINjoe" type="WINDOWS LOGIN" /> <login_token pid="2" sid="Ag==" name="public" type="SERVER ROLE" /> <login_token pid="3" sid="Aw==" name="sysadmin" type="SERVER ROLE" /> <login_token pid="257" sid="AQIAAAAAAAUgAAAAIAIAAA==" name="BUILTINAdministrators" type="WINDOWS GROUP" /> ... (more groups) <user_token pid="1" sid="AQUAAAAAAAUVAAAAdbl1VI3r6l4jX2Nr4QQAAA==" name="dbo" type="WINDOWS LOGIN" /> The login token is the same but the user token is dbo instead of the actual user. What am I doing wrong? Thanks.
View Replies !
Windows Authentication - Connecting To A DB As A Different User In Management Studio
Is there a way to connect to database using Windows authentication as a different user than what you've logged in with to your desktop? For example: I log on to my desktop as mydomainme. I'm developing queries using Management Studio against a database (on another server) where mydomainme doesn't have access, but the admins have granted access to mydomainJobs1. I have the password for mydomainJobs1, and I'm hoping I can connect to the database using that account without having to log-off my local desktop as mydomainme and then re-login using mydomainJobs1. The analogy in the file/share-permissions world would be using "net use" from a command prompt: net use \SomeServer /User:mydomainJobs1 jobs1password Anything similar for SSMS?
View Replies !
How Can I See My Databases In Management Studio Express, As A Limited User?
I installed SQL Server 2005 Express, and Management Studio Express, while logged on as an Administrator of my XP Pro machine. When I switch to my limited user account, Management Studio Express seems not to be aware that SQL Server is even running on the machine (although Configuration Manager can see it and reports that it is running). I'm sure I've missed something simple, but I can't find the answer anywhere... how can I get access to my local SQL Server from my limited user account?
View Replies !
Can A Non-administrator User Run The SQL Server Management Studio Express ?
If i install the SQL Server Express and the Management Studio in my computer with an administrator account... can a non-administrator user run the SQL Server Management Studio Express ? When the non-administrator user tries run the SSEMS, he gets an error, something like "Cannot load the SQL Management Studio Package". Can i set several permissions to let non-administrator users run the SSEMS ?
View Replies !
SSIS In Management Studio
I notice someone else asked about this but my situation is a little different. I go into Management Studio, connect to the Integration Services and then try and go into the MSDB file folder I get a big long error message that my server doesn't allow remote hosts, which it does I have gone into the surface area configuration to make sure, and that sql server 2005 has no default instance, which it does because I have been into the MsDtsSrvr.ini.xml configuration file and written it in there, and that sql server 2005 does not exist. Has anyone figured out how to fix this?
View Replies !
Management Studio Express && SQLcmd: Syntax Errors In Executing A MS-DOS Batch File && A Microsoft SQL Server Query File?
Hi all, I have the "Northwind" database in my Sql Server Management Studio Express. In my C:ProSSEAppsSamplesForChapter02Chapter02 folder, I have the following 2 files: (1) ListColumnValues (MS-DOS Batch File) sqlcmd -S .sqlexpress -v DBName = "Northwind" CName = "CompanyName" TName = "Shippers" -i c:prosseappschapter02ListListColumnVales.sql -o c:prosseappschapter02ColumnValuesOut.rpt (2) ListColumnValues (Microsoft SQL Server Query File) USE $(Northwind) GO SELECT $(CompanyName) FROM $(Shippers) GO When I ran the following SQLcmd: C:ProSSEAppsSamplesForChapter02Chapter02>ListColumnValues.bat I got the following "ColumnValuesOut.rpt" with error messages: 'Northwind' scripting variable not defined. Msg 102, Level 15, State 1, Server L1P2P3SQLEXPRESS, Line 1 Incorrect syntax near '$'. 'CompanyName' scripting variable not defined. 'Shippers' scripting variable not defined. Msg 102, Level 15, State 1, Server L1P2P3SQLEXPRESS, Line 1 Incorrect syntax near 'CompanyName'. I copied these T-SQL statements from a book and I do not know how to correct them. Please help and tell me how to correct these errors. Thanks in advance, Scott Chang
View Replies !
Create Package In SQL Server Management Studio Express?
Our server currently has the following components installed for SQL Server 2005: 1. SQL Server Management Studio Express and 2. Configuration Tools (SQL Server Configuration Manager, SQL Server Error and Usage Reporting, and SQL Server Service Area Configuration). Is there a way to setup a package using the software currently installed (if not, what needs to be installed in order to setup a package)? I'm looking to schedule running an executible, it was fairly easy with SQL Server 2000 (using DTS), but I'm unsure how to set this up using the software we currently have installed.
View Replies !
Chinese UI For X64 Installation Package Of Management Studio Express W/SP2 ???
Hi, I tried installing the x64 version of Microsoft SQL Server Management Studio Express Service Pack 2 ( SQLServer2005_SSMSEE_x64.msi) from http://www.microsoft.com/downloads/details.aspx?familyid=6053C6F8-82C8-479C-B25B-9ACA13141C9E&displaylang=en on my Vista Ultimate x64 machine and the install wizard appears to be in Chinese??? Does anyone else get this issue? How do I get the English version of this package? Thanks.
View Replies !
How To Create A User Account For My Web Site In SQL Server Management Studio
Hi, I keep getting a connection failed error message... CANNOT the DATABASE " " requested by the Login. The Login failed for User 'NT Authority/ Network Service' error and I figure I should create an account for the site to access the Database with but I do not know how to create an account in SQL server using the Management studio?? Anyone willing to give me the exact information I need to do this so I do not do something else and ruin things please??? I am not much of an SQL DBA. thanks in Advance.
View Replies !
SQL Sever 2005 Management Studio - Connect As Different Windows User
I want to connect to a SQL server from my workstation using the application in the Subject, but I need to connect as a different Windows user. Basically, I login to my workstation with my "Joe User" account, but for servers I used my "Joe Admin" account for security purposes. However, the Management console autofills in my workstation username when I select "Windows authentication" for the connection, and grays out the username/password fields so that I cannot specify another set of credentials. Is there a way to change this behavior? Otherwise I will need to termserv into a server using my administrative account, install the management software there, and then begin the process. That is a lot of unecessary overhead that I would like to avoid. Thank You, John G
View Replies !
Connecting To SSIS In Management Studio.
Hi: I have 4 named instances of SQL 2005 running on one of our sales server (dont ask me why I have 4 instances.Its a beefy box btw). All the instances have SSIS Packages (around 6-7 in each instance) saved to the SQL server and not to the file system. The issue is every time i need to look at the packages or export the packages from SSMS I have to edit the MsDtsSrvr.ini.xml and type in the named instance name within the <ServerName></ServerName> tag . I then have to restart my SSIS. I dont see an easier approach to this method. This is causing me a lot of unnecessary time waste. is there anyway this can be automated where in i can pass the instance name dynamically to the ini file or even more best, can I have all the instance names in the ini file and some how look at the packages in each Instance. I am not sure how having all the instance names in the ini file woud resolve the issue though. I know I can use BIDS which is much more flexible and a recommended approach but need a solution for looking at SSIS packages through SSMS in all of the 4 instances. I look forward to recommendations from anyone who have better ideas and suggestions. Thank you AK
View Replies !
Executing SSIS Package From .NET
Hi again First I explain my environment: - SSIS Packages are stored on 64bit Server (Win 2003 64bit, SQL 2005 64bit) - .NET (C#) application (on Win 2003 32bit Server) which loads and executes the SSIS Packages. I can execute my SSIS Package localy on the 64bit Server and they work fine. When I execute the SSIS Package from the Application I get following exeption: Retrieving the COM class factory for component with CLSID {697AC67E-FDD5-46D1-90D7-F3D0DF1B2A47} failed due to the following error: 80040154. ... at Microsoft.SqlServer.Dts.Runtime.Package..ctor() The code looks like: Microsoft.SqlServer.Dts.Runtime.Package local_Package = new Microsoft.SqlServer.Dts.Runtime.Package(); Microsoft.SqlServer.Dts.Runtime.DTSExecResult local_DTSExecResult = new Microsoft.SqlServer.Dts.Runtime.DTSExecResult(); Microsoft.SqlServer.Dts.Runtime.Application local_Application = new Microsoft.SqlServer.Dts.Runtime.Application(); local_Package = local_Application.LoadFromDtsServer("PackageName", "64bitServer", null); local_DTSExecResult = local_Package.Execute(); Other question would be: how can I execute a package directly on the server?? I mean without "LoadPackage"?? I guess the problem on top is because on the 32bit Server there is only Framework installed but not Integration Services Tools ... Would be happy for any comment! Best regards Frank Uray
View Replies !
Executing A SSIS Package
Can someone tell me the best way to "automatically" execute a SSIS package. I have approximately 100 computers that I need to execute packages on. Here is the scenario: I have some text files that are coming from our AS400 to a local computer (the package will NOT be used to bring files from our AS400. I will be using Client Access for that). The text files will be stored in a specified directory on the local computer. I will be importing these text files into a SQL Database on all 100 machines. Once I create the Import Package, what is the best way to execute this package on the devices? I thought maybe after creating the package, I can put an EXE on the desktop that will execute the SSIS package. This way all I would have to do is click a icon on the desktop. I don't know if this is feasible or not. After building a package, do you make it a EXE or what? Pease advise. Thank in advance.
View Replies !
Executing SSIS PACKAGE Through .net
Hi, I have created a SSIS package through SSIS Tool. Protection Level is 'EncryptSensitiveWithUserKey'. When I execute , it works fine. I have written a code to execute SSIS package through .net application. When i try in my local PC. The package works fine. When I deployed in Webserver, it throws an error, DTS Package: Package1 failed. Error Details as follows. 1. Source : Execute SQL Task Description : Failed to acquire connection "DatabaseConnection ADO.NET". Connection may not be configured correctly or you may not have the right permissions on this connection. "DatabaseConnection ADO.NET". is a connection which is specified in the SSIS. Can any one pls tell me how to solve this issue. Thanks & Regards, Ganesan
View Replies !
SSIS Package Not Executing As A Job.
Hi All, I hav a strange problem. I created a SSIS package on my machine with protection level as "EncryptAllWithPassword". When I deploy this package on a SQL Server on another machine (either in File System or SQL Server)and add it as a job in SQL Server Agent and try to run it through a scheduler or manually the job fails with the following message - Executed as user:IBM-P4-1976SYSTEM. The package could not be loaded. The step failed. However if I deploy it on my own machine the job runs successfully. Also if I run the package using dtexec utility on the another machine it runs successfully. It is not running as a job on another machine. All the logged in users have administrative rights. My databases are altogether on a different server. Can any one help me out with this issue...Pleassssseeee...
View Replies !
Executing SSIS Packages As Another User
The scenario: I have a package that first needs to copy some files from a workstation computer up to a server. If I set the package execution up as a job, the packages executes under a domain account (<domain><sql agent>). This domain account does not have access rights to the directory on the workstation, therefore the package can not see or copy the files in the directory. I have tried to execute the package from the command line using 'RUNAS' with 'dtexec.exe' (runas /user:<domain><user> detexec.exe ...) using my own user name and apparently, because you have to wait for the password prompt, this doesn't work either. So, is there a way for me to set up a package to run under a specific set of credentials so that I am able to copy the files from the workstation up to the server? I realize that just setting up the current <sql agent> user with the proper credentials would be the easiest, but our network admin group won't hear of it. They want one user id that SQL Server, SSIS, SSAS and SSRS run under (the <sql agent> account) and another user id that has the file system access that I described above. Any help would be much appreciated. Thank you. Wayne E. Pfeffer Sr. Systems Analyst Hutchinson Technology Inc.
View Replies !
Viewing DTS Package Logs In 2005 Server Management Studio
We still have some Legacy 2000 DTS packages running on our 2005 Server. The DTS packages have been configed to save the logs on the 2005 SQL server. We can manually look at the logs in 'msdb.dbo.sysdtspackagelog' and 'msdb.dbo.sysdtssteplog' table but I am looking for some GUI tools so our tech support can view the package logs without writting a query. In 2000 Enterprise Manager, you can right click on a DTS package and select 'Package Log...' and then a nice GUI window will show up for you to browse through all the dts logs. I just can't find this tool in 2005 Server Management Studio for Legacy DTS packages. If I right click on a Legacy DTS package, all the option I get are 'Open, Migrate, Export, Delete, Rename, Refresh'... Since the log tables are still the same, I am wondering if there is anyway I can use that 2000 DTS log viewer in 2005? Thanks.
View Replies !
SQL Database User Account Access Remotely Via SQL Management Studio Express
Hi, I hope you can help.I have configured a Windows 2003 web server and SQL 2005 Server (on same box) to successfully allow remote connections and to allow access via SQL Server Management Studio Express 2005.The problem I have is that I want to restrict access to the databases on the server via the Management Studio to specific databases e.g. 1 database user "sees" only 1 database.I can configure it so that the user's remote access permissions do not allow access to other databases but they can still "see" the database listed in the Management Studio explorer.I can also configure it so that the users cannot see all the databases (by disabling View All Databases on SQL Server), but this means that they cannot not see their own database which they have permissions for.Is it impossible to have the desired behaviour of only displaying the database which the remote user accessing has permissions for and hiding all other databases?I have MSN'd,Googled and Yahoo'd this one to no avail :(Many thanksFergus
View Replies !
How To View Permissions Of User-defined Database Roles In Management Studio?
As part of our security project, I've done the following when logged in as 'sa': Created database roles 'dbrole1' within dbAccount Created login and user 'user1' and added user to be a member of 'dbrole1' Granted execute permissions on sp1 and sp2 to 'dbrole1' However, I didn't see the above permissions listed in SQL Server Management Studio - Database - Security - Roles - Database Roles - 'dbrole1' properties - securables Any ideas? Thanks!
View Replies !
Running SSIS Packages In Management Studio
We are using SQL Server 2005 Standard edition. We have the development studio installed on a developer€™s workstation. The SSIS package is accessing network folders using UNC and the tasks in packages are accessing SQL Server with a SQL Server id. The SSIS package runs fine on the workstation. We deploy the SSIS package as a SSIS store on SQL Server. I receive Error 18456 Severity 14 State 8 error when I run the SSIS package as a SQL Agent job. When I run the SSIS package from the Integration Services Management Studio, I get The AcquireConnection method call to the connection manager "dboSQLabm" failed with error code 0xC0202009. I€™m sure this is a permission based problem since it runs fine on my workstation. I tried logon onto the SQL Server with my id (I€™m an admin to the server). I tried running the agent with my windows id. It looks like I€™m getting problem connecting to the SQL Server tables since the logs are properly written to the network drive. In SQL DTS 2000, all we needed to do was give the SQL agent id permission to the network folder. I tried to search the forums, but none of the solutions seem to work for my situation.
View Replies !
SSIS Access From SQL Server Management Studio
I am trying to develop a package using SSIS to get rid of Informatica. But I am not able to connect to the SSIS from the SQL Server Management Studio. The error message is 'Connect to SSIS Service on machine XXXXX failed: Access denied'. I am using Windows authentication and I am in the DTSADMIN role. I have 'dbo' privileges in all the databases in the Server where the SSIS Service is running (Yes, I checked and the SSIS Service is running). The SSIS is installed in the same Server as my SQL Server 2005 Standard Edition is running. I can see that the same issue is posted by many people and no answer is posted againt it. It will be greatly appreciated by many beginners to SSIS if the answer to this question is available generally. I have another question too. How do I transfer data between two databases in two SQL Server 2000 machines using SSIS? I really want to use something like the BCP OUT and BCP IN with memory pipes to avoid the intermediate data landing. How do I achieve it? I do not want to use the linkedserver here because of the excessive logging for the huge data volume I have. Any answer to the above questions are greatly appreciated. Thanks in advance... Ganga Palakkattil gpalakattil@telephia.com
View Replies !
SSIS Packages Not Visible In Management Studio
I've created some SSIS packages and made sure that they work correctly. I've tried both copying these packages to the server using "Save a copy" and building and running a deployment package. When I open management studio and connect to the Integration Services instance, I'm not seeing what I expect to see. There are no items under Stored package and I can't even expand the folder. I'm sure the packages are on the server though, because within the Business Intelligence Studio, if I choose "add an existing package", my packages are visible under the SSIS folder. Is this a security issue? Possibly we've installed Integration Services incorrectly? Any help is appreciated. Thanks. -Joe Benckert
View Replies !
Problem Executing SSIS Package
HI, I am facing a problem in my packages. Whn I execute them in Visual Studio, it works fine but when I execute as standalone i.e by Cmd or by Double clicking on it, it throw PRODUCTLEVELTOERROR and "This component requires higher version of SSIS". I have SSIS running on my system as service and my SQL version is as below: Microsoft SQL Server 2005 - 9.00.3186.00 (X64) Aug 11 2007 05:31:24 Copyright 1988-2005 Microsoft Corporation Developer Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2) I went through some sites and they say the issue is SSIS service not running or Standard version of SSIS. But my SSIS version and ssis service are both fine. I went through http://msdn2.microsoft.com/en-us/library/ms143761.aspx and as per this it should be working on my system. Can anybody explain the reason why I am getting this error. Also, in one of my components, I am using reflection but this should not be an issue. Thanks in advance. Regards
View Replies !
Executing A SSIS Package With Variable Changes From ASP.NET
I am trying to execute a ssis package, where a user will be able to excute the package from an ASP page, the user will select a file, this will be the source file for the SSIS package, this will change when ever the package is executed, I was thinking of just using a sqlClient.sqlCommand and editing the command text and excuting it that way, or through a SP, would this be the best solution? Is there a better solution? and if not what would be the SQL command to execute the package, along with editing the variable?
View Replies !
SSIS Package Fails While Executing
While executiing an SSIS package i get the follwoing error: Executed as user: <User>. Microsoft (R) SQL Server Execute Package Utility Version 9.00.3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 11:00:00 PM Error: 2008-03-06 23:00:01.02 Code: 0x00000000 Source: Execute DTS 2000 Package Task Description: System.Runtime.InteropServices.COMException (0x80040427): Execution was canceled by user. at DTS.PackageClass.Execute() at Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask.Exec80PackageTask.ExecuteThread() End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:00:00 PM Finished: 11:00:01 PM Elapsed: 0.859 seconds. The package execution failed. The step failed. The SSIS package contains one "Execute DTS 2000 package" which is written in SQL server 2000. The DTS written in SQL server 2000 and then i made the SSIS package for the same to be executed as "Execute DTS 2000 package" BUt the package execution fails. I have seen some workaround also for same where it was saying to install some dll files for SQL server 2000 Meta data services. SQL server 200 meta data services is required for running DTS packages in SQL server 2005 server. I installed that also but still the same error. I have done all but all in vain. Your help will be very helpfull since this is the production issues. Thanks, Ashok
View Replies !
Executing SSIS Package Asynchronously
Is it possible to execute a child package from a parent package ashnchronously. I have a SQL Server table containing a list of packages to execute. I want to create a master package that will query this table, and execute each of the packages asynchronously. I've tried using the Execute Package task and also executing packages programtically from a Script task, but these only seem to work synchronously. I have also seen suggestions about executing packages asynchronously from T-SQL by starting a job, however, I'd rather not have to dynamically create jobs for each package I want to execute. Any ideas would be welcome. Or even an answer of "No this is not possible". Thanks in advance
View Replies !
How To Check Whether An SSIS Package Is Executing
I have scheduled an SQL Job to run every 15 mins. This runs an SSIS package. But sometimes my package might execute for more than 15 mins. In this case, a second instance of the package would start. I don't want this to happen. So is there any way I can check whether the package is already running before I continue the execution of the same. Right now I am using a mutex to handle this problem. Are there any problems using the mutex and is there a better way to handle this? Thanks in advance. Sumesh
View Replies !
Executing A SSIS-Package From Web Service.
I have a SSIS Package that I am executing from a Web service. The SSIS Package is stored as a file. That works fine. In the SSIS package I have one ADO.NET, .Net ProvidersSqlClient Connection. For the Protection Level I have EncryptSensitiveWithUserKey. My problem comes when I change the Protection Level to EncryptSensitiveWithPassword. Now the SSIS package is throwing an error when trying to connect to the sql database: Login failed for user _ _ I believe my problem is that I don€™t know how to pass the password of the SSIS package from the Web service into the SSIS package. Below is part of the code for the Web service: <WebMethod()> _ Public Function LaunchSSISPackage( _ ByVal variableName As String, _ ByVal variableValue As Object) As Integer 'DTSExecResult Dim packagePath As String Dim myPackage As Package Dim integrationServices As New Application Dim SSISvar As Variable myPackage = integrationServices.LoadPackage(packagePath, Nothing) SSISvar = myPackage.Variables.Add(variableName, False, "User", variableValue) LaunchSSISPackage = myPackage.Execute() I appreciate your help with this issue I am having. Thank You.
View Replies !
SSIS Package Gets Stuck While Executing
I have a package which reads from a source, does some transformation and then loads into a target table(custom transformation build to handle multiple scenarios for insert/update/delete etc). For couple of packages, I am facing an unusual problem. The package gets stuck after executing for some records. There is no data flow in the buffer. But again, if I stop executing the package and run it again, it runs through fine. Any idea what could be issue or what particularly I should be looking for in order to debug this issue. Thanks, Manish
View Replies !
Problem Executing The SSIS Package Using C# Exe
Hi, I am using C# exe to run the SSIS packages. I have placed the SSIS packages in a folder. So everytime i try to execute the SSIS through the exe i get the error " An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E4D Description: "Login failed for user '[UserName]'.". While creating the SSIS, i have saved the password. But when i open the SSIS to check I just see that the password field is blank. Is there any other property which i need to set to keep the password saved forever?? Regards,
View Replies !
Error While Executing The SSIS Package
I migrated the DTS package to SSIS package using the migration wizard... but when i try to execute it it gives the following error plz help ... error : Error retrieving file name for a component failed with the error code 0x043A1034 any suggestions ...
View Replies !
SSIS Child Package Not Executing.
I have a parent package that calls a child package. When this is executed on SQL server (the actual server host SSIS services) it executes fine I can see data in the correct tables and I can determine that is ran. But I try to run this from my local pc within the designer (Visual Studios) and the parent package runs a few task that are before the child package task but once it gets to the child package it stops. I have set breakpoint on several task with the parent package and I can step thru them but once it gets to the child it tries to run it then the execute package task object turns red. I can not find any error messages or codes. I even have beak points set up on the child package itself and the process never hits those break points but I'm assuming is cause is puking before I get to the child package. The child package is stored in SQL server and is in MSDB. I just want to debug the child packages from BIDS or visual studios? any one know how to debug child packages from BIDS or Visual Studios? I can if I run the child package by itself but I need to test from end to end ....so within the parent packages which calls a few child packages.. thanks
View Replies !
|