dbTalk Databases Forums  

SSIS null password given when executing package

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS null password given when executing package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mystical potato
 
Posts: n/a

Default SSIS null password given when executing package - 09-25-2006 , 07:14 AM






I created a package configuration and used the package installation wizard to
deploy a package to my dev server.

The package pulls data from Oracles servers (9.2 Oracle client and
ADO.NET:System.Data.OracleClient.OracleConnection objects to connect to the
servers. In the package configuration I added the passwords for the oracle
connection object and added the package to the server.

When I run the package that is now on the server from my machine it works
fine. If I remote into the machine and run the package it fails with the
follwing error:

Error: system.data.OracleClient.OracleException: ORA-01005: null password
given; logon denied...

Does anyone know why this is happening? thanks Scott

Reply With Quote
  #2  
Old   
Charles Kangai
 
Posts: n/a

Default RE: SSIS null password given when executing package - 09-27-2006 , 07:36 AM






Is Oracle client installed on the server?

Hope this helps.

Charles Kangai, MCT, MCDBA
Author of Learning Tree's 4-day course: "SQL Server 2005 Integration
Services" http://www.learningtree.com/courses/134.htm
Author of Learning Tree's 4-day course: "SQL Server Reporting Services"
http://www.learningtree.com/courses/523.htm
email alias: charles
email domain: kangai.demon.co.uk

"mystical potato" wrote:

Quote:
I created a package configuration and used the package installation wizard to
deploy a package to my dev server.

The package pulls data from Oracles servers (9.2 Oracle client and
ADO.NET:System.Data.OracleClient.OracleConnection objects to connect to the
servers. In the package configuration I added the passwords for the oracle
connection object and added the package to the server.

When I run the package that is now on the server from my machine it works
fine. If I remote into the machine and run the package it fails with the
follwing error:

Error: system.data.OracleClient.OracleException: ORA-01005: null password
given; logon denied...

Does anyone know why this is happening? thanks Scott

Reply With Quote
  #3  
Old   
mystical potato
 
Posts: n/a

Default RE: SSIS null password given when executing package - 09-27-2006 , 08:27 AM



Yes, Oracle 9.2 is running on the server. I have other packages running on
this server that hit 8.x servers. The server I'm having problems with is 10g.

However, I just figured out what the issue is. In an effort to test I was
trying different types of connections (e.g. Native OLE/DB Provider for
Oracle, .NET Providers\OracleClient Data Provider). Even though some of
these connections were not being used (and I didn't put them in the config
file), the sql server attempted to validate them and ended on error. I put
all the password info in all my connections objects and everything works fine.

The thing that throws me is why does the package fail if it is executed on
the server but run when I execute the same package (on the server) from my
local machine? Is the password info cached on my machine or something
similar???

thanks,
Scott

"Charles Kangai" wrote:

Quote:
Is Oracle client installed on the server?

Hope this helps.

Charles Kangai, MCT, MCDBA
Author of Learning Tree's 4-day course: "SQL Server 2005 Integration
Services" http://www.learningtree.com/courses/134.htm
Author of Learning Tree's 4-day course: "SQL Server Reporting Services"
http://www.learningtree.com/courses/523.htm
email alias: charles
email domain: kangai.demon.co.uk

"mystical potato" wrote:

I created a package configuration and used the package installation wizard to
deploy a package to my dev server.

The package pulls data from Oracles servers (9.2 Oracle client and
ADO.NET:System.Data.OracleClient.OracleConnection objects to connect to the
servers. In the package configuration I added the passwords for the oracle
connection object and added the package to the server.

When I run the package that is now on the server from my machine it works
fine. If I remote into the machine and run the package it fails with the
follwing error:

Error: system.data.OracleClient.OracleException: ORA-01005: null password
given; logon denied...

Does anyone know why this is happening? thanks Scott

Reply With Quote
  #4  
Old   
Charles Kangai
 
Posts: n/a

Default RE: SSIS null password given when executing package - 09-27-2006 , 09:19 AM



It would fail if you are logging onto the server with an account that is
different than the account you are using on the other machine. The
ProtectionLevel property of the package may be set to
EncryptSensitiveWithUserKey. User Key is the Login credentials, and if these
are different, it cannot decrypt the password. Check the ProtectionLevel
property of the package in BIDS.

Hope this helps.

Charles Kangai, MCT, MCDBA
Author of Learning Tree's 4-day course: "SQL Server 2005 Integration
Services" http://www.learningtree.com/courses/134.htm
Author of Learning Tree's 4-day course: "SQL Server Reporting Services"
http://www.learningtree.com/courses/523.htm
email alias: charles
email domain: kangai.demon.co.uk


"mystical potato" wrote:

Quote:
Yes, Oracle 9.2 is running on the server. I have other packages running on
this server that hit 8.x servers. The server I'm having problems with is 10g.

However, I just figured out what the issue is. In an effort to test I was
trying different types of connections (e.g. Native OLE/DB Provider for
Oracle, .NET Providers\OracleClient Data Provider). Even though some of
these connections were not being used (and I didn't put them in the config
file), the sql server attempted to validate them and ended on error. I put
all the password info in all my connections objects and everything works fine.

The thing that throws me is why does the package fail if it is executed on
the server but run when I execute the same package (on the server) from my
local machine? Is the password info cached on my machine or something
similar???

thanks,
Scott

"Charles Kangai" wrote:

Is Oracle client installed on the server?

Hope this helps.

Charles Kangai, MCT, MCDBA
Author of Learning Tree's 4-day course: "SQL Server 2005 Integration
Services" http://www.learningtree.com/courses/134.htm
Author of Learning Tree's 4-day course: "SQL Server Reporting Services"
http://www.learningtree.com/courses/523.htm
email alias: charles
email domain: kangai.demon.co.uk

"mystical potato" wrote:

I created a package configuration and used the package installation wizard to
deploy a package to my dev server.

The package pulls data from Oracles servers (9.2 Oracle client and
ADO.NET:System.Data.OracleClient.OracleConnection objects to connect to the
servers. In the package configuration I added the passwords for the oracle
connection object and added the package to the server.

When I run the package that is now on the server from my machine it works
fine. If I remote into the machine and run the package it fails with the
follwing error:

Error: system.data.OracleClient.OracleException: ORA-01005: null password
given; logon denied...

Does anyone know why this is happening? thanks Scott

Reply With Quote
  #5  
Old   
frank lee
 
Posts: n/a

Default RE: SSIS null password given when executing package - 04-03-2009 , 08:11 AM



Message
Executed as user: UMC-USERS\lish. ...ion 9.00.4035.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 8:00:05 AM Error: 2009-04-03 08:00:06.58 Code: 0xC0047062 Source: Data Flow Task Source - Query [1] Description: System.Data.OracleClient.OracleException: ORA-01005: null password given; logon denied at System.Data.OracleClient.OracleException.Check(Oci ErrorHandle errorHandle, Int32 rc) at System.Data.OracleClient.OracleInternalConnection. OpenOnLocalTransaction(String userName, String password, String serverName, Boolean integratedSecurity, Boolean unicode, Boolean omitOracleConnectionName) at System.Data.OracleClient.OracleInternalConnection. .ctor(OracleConnectionString connectionOptions) at System.Data.OracleClient.OracleConnectionFactory.C reateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) at System.Data.Provide... The package execution fa... The step failed.


From http://www.google.com/search?hl=en&q...&btnG=Sea rch

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.