Losing Oracle User Name And Password

Mar 17, 2006

I have written a simple SQL Server 2005 package to pull some data from Oracle (using ODBC) and pumping it into SQL Server. When I run it from the server in debug mode in VS it works fine. When I schedule the job it errors out with "ora-01005: null password given; logon denied." The password is there. Has anyone experienced this? Is there a security setting somewhere preventing me from saving passwords? Is there a work around? Thanks.

View 2 Replies


ADVERTISEMENT

SSIS Losing Password

Feb 18, 2008

Hi, i am having a problem when i tried to execute a SSIS package from a job in sql server 2005
First of all, when i create a new connection in the designer, i complete with server, user and password, and test connecion succesfull.
Then, i execute all the package and it works fine.
After building it, i tried tu execute the package using the file that it ve just been created into bin folder, but the connecttions didnt have the tag password, so after user id i add ;password=xxxx in every connection and it works fine. But every time i wantex to execute, i have to write the password.
Also i tried openeing the text file that the DTS created, but when i open it again, the password wasnt there.
Finally, i tried to create a job that execute this file, and i have to write the password as i did when i execute directly from the file, but i couldnt run. It has an authentication problem. If i open again the step configuracion, the password is not there.
The same that happen every time, but now i can run the package

Any idea?

Thanks a lot

View 2 Replies View Related

SQL Server 2000 TempDB User Losing Permissions

Jan 15, 2007

I am supporting a system that needs to allow users to have access to TempDB.

I set these users up using the GUI, but whenever the server is restarted, these users permissions are wiped out and the db_owner permission is lost and I have to manually go in and apply the permissons for the database to work again, it happens on most reboots but not all.

Is there anyway to keep these users permissions when the server is rebooted?

Your help is most appriciated.

P.S Could I create a stored procedure that when ever the Server is rebooted the procedure would recreate these permissions?

If I need to do this how would I go about doing this?

View 8 Replies View Related

SQLEXPRESS Backup File Losing NETWORK SERVICE User When Copied

Mar 11, 2008

I'm using the methods of the Microsoft.SqlServer.Management.Smo namespace within a .NET application to create a backup file from a SQLEXPRESS database. I can then restore the database from that backup device using methods in the same namespace. Here is a snippet from the restore code:


srv = New Server("MYPCSQLEXPRESS")

db = srv.Databases("washmaster")

Dim bdi As New BackupDeviceItem(BackupFileName, DeviceType.File)

Dim recoverymod As RecoveryModel

recoverymod = db.DatabaseOptions.RecoveryModel

rs.NoRecovery = False

rs.Devices.Add(bdi)

rs.Database = "washmaster"

rs.ReplaceDatabase = True

srv.KillAllProcesses("washmaster")

rs.SqlRestore(srv)


This works great as long as I used one of the backup files that I created directly on the disk. However, my application has a utility that allows the user to copy the backup files onto another drive, such as a CD or a thumb drive and when I try to restore from the copy of the backup, I get the following exception:

....Cannot open backup device..[filename]...Operating system error 5(Access is denied.)

The reason I get this error is that the "NETWORK SERVICE" account was removed from the file permissions when the file was copied.

How can I copy a backup to another drive and preserve the "NETWORK SERVICE" account? If I can't do that, is it wise to try to add the account back to the file before using it to restore or is there a better way?

Thanks,
SJonesy

View 3 Replies View Related

DB Engine :: Extract All Privileges And User Password For A User In DDL Format For Server?

Jul 12, 2010

My goal is to write a DR plan where i am restoring all user databases onto a diffrent server in a event of hardware failure. I was trying to figure out a way to extract DDL of user accounts and their permissions on all user databases so i can simplify my DR documentation. 
 
This is the plan I came up with...to restore all system and user dbs on a different Physical SQLServer.

1. build named instance $PROD

2. restore master database

    - startup sqlserver in single user mode -m or DAC sqlcmd -S ServerName -U sa -P<xxx> –A
    net stop MSSQLSERVER$PROD
    net start MSSQLSERVER$PROD -m
    - restore database master from disk e:master.bak with replace;
   
3. start sqlserver normally

4. stop SQLServer agent

5. restore msdb

-restore database msdb disk e:msdb.bak with replace;

6. restart SQLServer

7. Restore User Databases.

8. Run Sp_change_users_login for all users

-Sp_Change_users_logins 'auto_fix','username'

View 7 Replies View Related

Integration Services :: Oracle Ole Provider And Password

Dec 3, 2015

Oracle linked server. If I query Oracle in my packages using SQL it tooks age if I use an OLE DB Oracle connection it takes minutes, so I started to develop my packages using the OLE DB Oracle. The point is that in order to connect the Oracle db I must set up a password (Oracle requires a password but if I use directly SQL it doesn't need any password). This password changes every month so I do need to set up the password for...if I can come up with another solution? I don't know, maybe a unique connection...just set up the password only once. 

View 2 Replies View Related

Oracle Password Disappears From The Connection Manager

Mar 27, 2008

All,

I am using the Oracle Provider for OLE DB (32 bit) to connect to an Oracle 10g database. I enter all the connection parameters and test the data source and I it says that the connection is successful. I then open the connection manager for the data source and see that the password has disappeared.

After reading entries on this forum, I tried to setting the package permission to UserKey, Password and others. Still no luck. Then I created an XML configuration file and set the connection string and password there as well. Still no luck.

Below is the message I am getting:


Error: 0xC0202009 at Package1, Connection manager "******": SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21.

An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".

Error: 0xC00291EC at Execute SQL Task, Execute SQL Task: Failed to acquire connection "****". Connection may not be configured correctly or you may not have the right permissions on this connection.



Here is my XML config file:


- <DTSConfiguration>

- <DTSConfigurationHeading>


<DTSConfigurationFileInfo GeneratedBy="******" GeneratedFromPackageName="Package1" GeneratedFromPackageID="{63C53905-74EC-4AD5-9523-3A4B4BEF4CB5}" GeneratedDate="3/27/2008 8:39:47 AM" />
</DTSConfigurationHeading>

- <Configuration ConfiguredType="Property" Path="Package.Connections[*********].Properties[ConnectionString]" ValueType="String">


<ConfiguredValue>Data Source=*****;User ID=*****;Password=******;Provider=OraOLEDB.Oracle.1;Persist Security Info=True;</ConfiguredValue>
</Configuration>

- <Configuration ConfiguredType="Property" Path="Package.Connections[*****].Properties[Description]" ValueType="String">


<ConfiguredValue />
</Configuration>

- <Configuration ConfiguredType="Property" Path="Package.Connections[*******].Properties[InitialCatalog]" ValueType="String">


<ConfiguredValue />
</Configuration>

- <Configuration ConfiguredType="Property" Path="Package.Connections[*******].Properties[Name]" ValueType="String">


<ConfiguredValue>******</ConfiguredValue>
</Configuration>

- <Configuration ConfiguredType="Property" Path="Package.Connections[*******].Properties[Password]" ValueType="String">


<ConfiguredValue>******</ConfiguredValue>
</Configuration>

- <Configuration ConfiguredType="Property" Path="Package.Connections[******].Properties[ProtectionLevel]" ValueType="Int32">


<ConfiguredValue>1</ConfiguredValue>
</Configuration>

- <Configuration ConfiguredType="Property" Path="Package.Connections[********].Properties[RetainSameConnection]" ValueType="Boolean">


<ConfiguredValue>0</ConfiguredValue>
</Configuration>

- <Configuration ConfiguredType="Property" Path="Package.Connections[*******].Properties[ServerName]" ValueType="String">


<ConfiguredValue>******</ConfiguredValue>
</Configuration>

- <Configuration ConfiguredType="Property" Path="Package.Connections[********].Properties[UserName]" ValueType="String">


<ConfiguredValue>*******</ConfiguredValue>
</Configuration>
</DTSConfiguration>

I am a local administrator on the box as well. Any help would be greatly appreciated.

View 10 Replies View Related

Prompt User For User Name And Password

Apr 14, 2008

Hi guys,

My users are unable to view reports on server A. When trying to access it shows up as users have no access to the reports.
We have another server B which also deploys the same set of reports,to the same set of users as Server A.Users are able to view the reports on Server B.
Both server B & A are used for deploying reports that are created on another development server.I am very new to the concepts of IIS and report administration.Could someone tell me what I can start checking on? What are the settings that I can compare on both server ?

If I am not very clear on the problem explained above.Do let me know I would be glad to explain futher.

View 4 Replies View Related

Failed To Decrypt Protected XML Node DTS:Password With Oracle As Source File

Oct 18, 2007

Hello all, I have read many topics about this error but it doesn't fix my packages in my particular case. The problem is that I access to a database in Oracle using the Ole DB provider for Oracle

I get that the mentioned error when I try to run a job from the agent.

1 - When I set "DontSaveSensitive" to ProtectionLevel I get this error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D.
An OLE DB record is available. Source: "Microsoft OLE DB Provider for Oracle" Hresult: 0x80040E4D Description: "ORA-01017: username/password no valid".
This is normal because the connection needs a password.


2 - When I set "EncryptSensitiveWithUserKey" to ProtectionLevel I get the mentioned error: "Failed to decrypt protected XML node "DTSassword" ..

The other options to ProtectionLevel doesn't work neither. I have tried to write the password in the field required...

I have tried many possibilities but nothing new, it doesn't work.

Does anybody have this error with Oracle as source file ???

Thank you .







View 4 Replies View Related

Need Help --&&> Connecting To Oracle Throught SSIS Package(Failed To Decrypt An Encrypted XML Node Because The Password Was Not S)

May 14, 2007

Hi,





In BI Tool SSIS Packages run fine and get data From Oracle and Save it in SQL Server.

Package Protection Level is EncryptSensitivewithPassword.

In BI tool when i open the package it ask password and then run fine.

If i change the Protection Level to Dont save Sensitive,

It does not run fine in even BI tool.


It is fine if i use EncryptSensitivewithPassword.in BI Tool and run it.

Now the problem is that i need to run this package through SQL Job.

so Job give error



"Failed to decrypt an encrypted XML node because the password was not specified or not correct. Package load will attempt to continue without the encrypted information."

Please i need help ?



Thanks

View 7 Replies View Related

User Id And Password

Jan 20, 2004

I am havining problems connecting to my database in some projects.
I installed MSDE and didn't get prompted for any passwords. When I Initialize the connection and use: Integrated Security=aspi, the connection works ok for some projects but not for others, it doesn't seem to work with a server-side script block or from a sql dattabase that I created in the server explorer in visual studio VB.NET. When I test the dattabase connection in server explorer it works fine.

Is this intergrate securtiy supposed to work only with applications that connect to sample databases like the pubs database, and also not in server-side script?

How do I create a username and password for a default instance of MSDE?

I have found setup instruction on upgrading MSDE to create a username and password but I am not upgrading.

If I do create a username and password will initializing the connection with: Intergrated Security = aspi, still work?

I would apprecate any help I could get as I am a newbee.
Many thanks,
Glen Conaway

View 1 Replies View Related

What User Name And Password ?

Apr 9, 2004

I have just installed MSDE (first time ever).
I am now trying to work with it (first time ever)
Most tools I now find I need to use, ask simple questions like:

Name of Server:
User Name:
Password:

I know the name of the server - fantastic
I did not specify a user name or password when installing -

WHAT DOES IT WANT ????

ie, How do you specify the user name and password AFTER installing the server.

GO ME ????????

PS - 'sa' and blank does not cut it at all.

View 14 Replies View Related

How To Assign Password And User Id

May 8, 2008

Hi
I have add one new database mdf file in my project by --->  add new  Item in to project.
But This database.mdf file is in windows authetication mode.
So there is no password assign to this.
I want to assign use id and password to this database or I want to give sql server authetication mode.
I have tried Modfy Connection property of database but that is not working. what is the default username of this conncetion?????
REply.....

View 3 Replies View Related

User Changing Password

Jul 7, 2000

Can the user change their password in Enterprise Manager? When they follow the documentation, this does not seem to work
unless they are sa: (I know about sp_password....we are trying to find a GUI method for typical user.)

Expand a server group; then expand a server.
Expand Security; then click Logins.
In the details pane, right-click the login to modify, and then click Properties.
In Password, on the General tab, enter a new password.
Confirm the password.

View 2 Replies View Related

Finding User Password

Jun 14, 1999

Is it possible for the SA to find out a current user's password. I know that it is possible for the SA to change the user's password, but I am lost as to how to find the user's current password. Any help would be appreciated, Thanks

View 1 Replies View Related

Password For The Domain User

Apr 7, 2004

My SQL Server is running as a Domain user account and it asked me to enter the password for thr Domain user account when I was changing the Startup account from Local to Domain user.
My QUESTION here is:
Is there a way or command for me to change the password automatically on the Services account, if I change the password for the Domain User account/.

View 5 Replies View Related

Sp_loginas(User,Password)

Jun 17, 2008

Feeling kinda dumb...
Does this sproc not exist in SQL 2005? Is there another wasy I can login as a use in T-SQL?

View 12 Replies View Related

How To Change The User Name And Password

Sep 30, 2006

Hello

I newly installed SQL Server 2005 .I did not mention any username and password during installation.But now i want to specify one.Can you tell me how to do so .My Operating System is WindowsXp.

Thanks In Advance
Poornima

View 2 Replies View Related

Invalid Password/user Name

Jun 11, 2007

Hi all,
I can run the import/exp through the utility and link to oracle to extract data via OLE DB ORACLE interactively,it run prefectly ok.

However, when I try to schedule as a package and jobs, it always give me invalid password/username. Why the username/password not save or somehow it wouldn't accept when run as package or jobs?

Anyone can help? Thanks.

View 13 Replies View Related

Sa Password Recommended For End User?

Aug 12, 2007

Hi,

I have a database app that deploys with sql 2005 express to each end-user. I would like to install sql 2005 express using Windows Authentication only. In this case, should I bother to set an sa password? And if I do set the sa password, how would I go about making sure that the sa password is different for every installation of sql express? Would it be recommended to save every end-user's sa password (possibly tens of thousands of passwords) just in case sql maintenance needs to be done on their computer? Any help would be greatly appreciated. Thanks!

View 6 Replies View Related

Retrieve SQL User Password?

Mar 31, 2008

Is there a T-SQL command or script that would help me in retrieving a lost SQL User password? I have just migrated a SQL server instances from one server to another, and in order to modify the SSIS packages, I need the password for the user that it uses. I would much rather know the existing password rather than change it.

- - - -
- Will -
- - - -
http://www.strohlsitedesign.com
http://blog.strohlsitedesign.com/
http://skins.strohlsitedesign.com/

View 2 Replies View Related

Aliased User Password

Jan 28, 2008

Hello.

Can I find out the password of an aliased databases user? We have a third party app that uses one but it has no corresponding server login so I don't know what the password is set to and I need to change it.


Thanks

View 8 Replies View Related

User Id And Password In My Connection String

Aug 15, 2006

Is there a way to find out my user id and password that should be used in my connection string? If I can not find this information out for myself, do I need to go to some type of system administrator.
Here is the connection string in my web.config file.
<connectionStrings>
<add name="SPK" connectionString="Server=localhost; User ID=AppUser;Password=meander;Database=atstdb01;
Persist Security Info=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
 
When I access this connection string via my code, A little dialog box pops up with the following error message:
Login failed for user AppUser. Reason: Not associated with a trusted SQL Server connection.
 

View 2 Replies View Related

Reset Forgotten User Password

Jul 31, 2000

A user forgot her password, how do I reset her password? sp_password
require a former password to change, and I'm unable to do that since
she forgot her's

thanks!

View 3 Replies View Related

How To Migrate User&#39;s Password From One SQL 7 Server To Another

Apr 20, 2000

Hi,

Does anybody know how to migrate the user's password along withe user names from one sql 7 server to another?



Thanks,

Jim

View 3 Replies View Related

Prevent User From Changing Password

Apr 17, 2011

Is there a way to prevent a particular user with SQL login from changing their password?

We have an application where we only want to prevent a certain user from changing their password but do not want to use windows authentication?

View 14 Replies View Related

Changing The Domain User Password

Apr 8, 2004

Is there an automatic way of changing the Domain user password getting used for running the SQL Server as a Domain user account? I'm taking about EM---Security----Domain User name and the password getting used for running the SQL Server?

View 1 Replies View Related

How To Change The User Account And Password

May 23, 2008

HI,

I m swagatika and working on a s/w company.I am facing some problem in MS SqlServer2005.

my problem is:-

i installed sql server2005 completely .At the install time , i set the username='xyz' and password=blank (windows authentication mode).

Now i want to change my user account to 'sa' and password to blank.

After installation,how to change the user account and password.

Please can anybody help me ?

View 3 Replies View Related

How Can I Chang Sa User' Password By Script

Jan 3, 2005

I need to change the sa user password by sql script whithout sql enterprise

View 1 Replies View Related

Can't Change Sql Login User's Password

Jan 13, 2006

SQL Server 2005 Express will not allow me to change the password for my login user. I tried deleting the user and re-creating the user. Another password is being put in although the password I put in was accepted. I even test to see what would happen if I left the password blank. It got accepted. But when I look at the password for my login user again, a different and much longer password was put in. I even tried this T-SQL statement:

CREATE LOGIN <loginname> WITH PASSWORD='<passwordname>', CHECK_EXPIRATION = OFF, CHECK_POLICY = OFF

I am out of ideals. Is this a bug?

View 5 Replies View Related

User Loggon Password Changed

Dec 4, 2005

Dear AllI have a problem ,as i created the new user itspassword became changed.I logon SQL Server as[color=blue][color=green]>> Server Name: localhost>> Server option : window athentication[/color][/color]then i created a new user[color=blue][color=green]>>user name = test>>password = 123[/color][/color]then,i refreshes the serveras i click on the test userits password become too long as ************what is the reason

View 1 Replies View Related

How To Find User Login Password

Feb 25, 2013

Earlier one of my team member has created a user login and password but forgot the password after few days and now we need to know the password of that login.  Some of the application are using this login so we can delete and create a new login with the same name hence is there any possibility or script to find out the password of the existing login.

Note: The login is not 'sa'

View 9 Replies View Related

Changing User Accound And Password

Oct 15, 2007



I tried to cahnge this account option to built in account option in SQL ( MSSQLSERVER) properties box. Then SQL Server was log on as Local system. But then I can not view my reports which i created. Now I changed it again to this account option. but I dont exaclty remember the password. Is there anyway I can get to know the password I created.

Thanks

View 1 Replies View Related







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