Wrox Programmer Forums
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 20th, 2008, 07:11 PM
Authorized User
 
Join Date: Oct 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default SSPI security with SSIS

Hi Everyone

I'm having trouble with my SSIS package using a connection to SQL server and trying to create a connection string using an expression. When I set up the connection, I specify the name of the server (the same server on which I'm creating the SSIS) and the database name, specify Windows Security, and the SSIS package runs fine.

I have created an expression which creates exactly the same connection string as the connection generates on its own, but get this error every time I run it:

[OLE DB Destination] SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONAMANAGE R.
and
[DTS.Pipeline] Error: Component "OLE DB Destination" (315) failed validation and returned error code 0xC020801C
and
"Login failed for user ''. The user is not associated with a trusted SQL server connection."

Any insight is very much appreciated!

Arbon

"A spirit with a vision is a dream with a mission"
__________________
\"A spirit with a vision is a dream with a mission\"





Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Access Security & Role Based Security robzyc C# 6 April 11th, 2008 02:31 AM
SSIS integration gunjan.sh SQL Server 2005 0 January 10th, 2008 07:22 AM
System.Security.SecurityException: Security error coolcatjk Pro VB.NET 2002/2003 4 March 2nd, 2006 06:00 PM
Error when complie SSPI.h file Richy Visual Studio 2005 0 November 17th, 2005 05:18 AM
cannot generat SSPI Context mateenmohd SQL Server 2000 1 January 14th, 2004 03:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.