Save Database Password in Report File

Post Author: David B
CA Forum: General
I'm accessing an Oracle database that requires me to use a password, both in CR XI designer, and with the Report Viewer control in Visual Basic 6.  This database requires me to enter a password to connect, and I can't change that requirement.  I'd like to embed the password into my report file so that the user won't have to enter it each time they run the report, and cannot find any mechnism to allow for this.  How might I accomplish this goal? 

In Business Object you will find out "Enable Database Credentials" for each user. You need to assign your database credential over there. If you don't have admin account in Business Object then contact your BO Administrator.

Similar Messages

  • Save iCloud password to backup file?

    I am using Apple Configurator to configure many devices in my organization. Currently, after restoring a backup file to a device I need to type in the password for the shared iCloud Account we use for one group of devices. Is there a way to do this automatically without having to touch the device?

    As of today, I was able to restore ipads and the accounts (including passwords) were in the iPads.  I'm not sure why this is, I just know that it's working that way.  It may be important to note that these iPads have had this information in them before.  But after noticing this, I reset the iPads to factory settings which should have made that a non-factor.  When I restored them to the backup, the passwords were already entered.
    I have no idea why this is suddenly happening.

  • How do you extract SQL from Oracle Forms and Reports files?

    I am developing an "as is" data model for a government client for a 14 year old system that has three databases, 20 schemas, over 1500 tables, and over 23,000 columns. Needless to say, I do not plan to perform a manual mapping of data to screens and reports.
    Most of the system has been developed in Oracle Forms and Reports. I am trying to map the live tables and columns to forms and reports.
    The process here has been to save the forms and reports files as .fmb and .rdf files. The client does not have an available copy of Oracle Designer, which I understand could be used to extract the SQL.
    Is there a utility somewhere that can parse the .fmb and .rdf files to extract the SQL?
    Thanks,
    Jim Gearing

    Jim,
    I don't know of any utility that will do this. You can convert and save each fmb as a fmt so you can view/search the contents , but I don't recommend that approach.
    On the other hand, you download a copy of Oracle Designer:
    http://www.oracle.com/technology/software/index.html
    It usually is included with Oracle Forms and Reports.

  • Unable to load password protected Accdb file using crystal reports 2008

    Hi,
    I am trying to generate crystal reports  using crystal reports 2008 and in the process, I am internally setting accdb file to all my rpt files .
    When i try to map my accdb file (Without passord protection) to all my rpt files, everything works fine and i am able to generate reports.
    But, when i try to map the password protected accdb file to the rpt file, it throws me an error saying
    "LogOn failed. "
    Details :         ADO Error Code : 0X
    Source:         Microsoft Access Database Engine
    Description : "Cannot start your appliaction, The workgroup information file is missing or exclusively opened by other users"
    SQL State  : 3028
    I have made sure that none of my applications are running when i try this.
    Please find the screenshot for the same.
    Please let me know how to resolve this issue as i need to work with password protected accdb files for generating reports.
    Thanks in Advance.
    Regards,
    Ramnath

    Hi Ludek,
    This is happening in CR designer.
    Besides, please find below the additional basic info regarding this
    Crystal reports version      : 2008
    Database connection type : OLE
    OLE DB Driver                    :  Microsoft Office 12.0 Access Database Engine OLE DB Provider
    Database                           :  Access 2010
    Dev Language                   :  VB.Net
    Regards,
    Ramnath

  • Could i save Database conneciton password information on CMC via BOE SDK?

    Hi,
    i have changed the DB connection information via BOE SDK(Servername,databasename,username,password,etc.),
    but it seems that the password was not saved.
    After sdk program running over, i still  need to maintain  the password on CMC if i want to schedule on InfoView or CMC.
    if i schedule the report using BOE SDK, i also need to add code:(just for run time of sdk program)
         cusLogon.setPassword("initial");
    or cusLogon.setCustomPassword("initial");
    May i save the password information on CMC via BOE SDK (not to maintian it on CMC manually)? or that is impossible?
    whether is because the security reason? or i don't find the correct approach?
    Thanks.
    code:
    newIConnectionInfo.setUserName("username-here");  //  this changing could be displayed on CMC -> "Database Configuration"
    newIConnectionInfo.setPassword("initial"); // this is of no effect
    Regards,
    Jinling.
    Edited by: jinling xiang on Nov 22, 2010 11:51 AM

    Hi jinling xiang
    I followed your thread...on
    how to achieve synchronization after DCP connection string changed via sdk  
    i have modified the DCP connection string using method: metaDataProperties.setProperty("SI_METADATA_BVCONN_ATTRIBUTES", new string here) via BOE SDK for java, and then
    checked it through Query Builder
    :select * from CI_APPOBJECTS where SI_GUID=' DC(DataConnection) GUID' ,
    it appears ok, the DCP connection string has been changed.
    I would greatly appreciate if you could help us to achieve the same ...we are on the same path that
    there are around 182 connection that is using Teradata R2 V6 DB Engine and we need that to update
    to the Teradata 13.
    If you could help us in sharing the API code that will be a great help to us.
    Thanks
    Balaji karunakaran

  • RE: What's database field are used in crystal report file?

    Hi all
    Please help me a C# code that using Crystall Report API (Crystal Report XI- Develop license) to get the list of database fieldname that using in crystal Report file. (What's database field using in header section ,group section , detail section of report.....)
    We looking forward to hearing from you
    Thanks
    Son

    Hello Son,
    please use this code below to get a list of used database fields in a report :
    //File Name:          CS_Get_report_data_out_inproc.sln
    //Created:            April 11, 2008
    //Author ID:          FLI
    //Purpose:            This C# .NET sample Windows application demonstrates
    //                  how to retrieve report data and put the into a XML file
    //                  using unmanaged RAS.
    // Note this is available without a dedicated RAS with SP2 for XI R2
    using System;
    using System.IO;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    namespace CS_Get_report_data_out_inproc
        public partial class Form1 : Form
            // CR Declarations
            ReportDocument boReportDocument;
            ISCDReportClientDocument boReportClientDocument;
            public Form1()
                InitializeComponent();
                //Create a new ReportDocument
                boReportDocument = new ReportDocument();
                // load the RPT file
                boReportDocument.Load("..
    ReportData.rpt");
                // show in reportviewer
                crystalReportViewer1.ReportSource = boReportDocument;
            private void button1_Click(object sender, EventArgs e)
                //Access the ReportClientDocument in the ReportDocument (EROM bridge)
                boReportClientDocument = boReportDocument.ReportClientDocument;
                // Retrieve the Rowset Controller
                RowsetController boRowsetController = boReportClientDocument.RowsetController;
                // Retrieve the metadata (column headers) - this allows you to only retrieve the data that is on the report.
                RowsetMetaData boRowsetMetaData = new RowsetMetaData();
                Fields boFields = boReportClientDocument.DataDefinition.ResultFields;
                boRowsetMetaData.DataFields = boFields;
                // Now print out the data in XML file
                //(Note: This will print out the results of formulas too)
                StreamWriter sw = new StreamWriter("C:
    ReportData.xml", false);
                sw.WriteLine("<?xml version='1.0' encoding='utf-8'?>");
                sw.WriteLine("<ReportData>");
                sw.WriteLine("<Reportheader>");
                // Print out the titles
                for (int i = 0; i < boFields.Count; i++)
                    String boFieldName = boFields<i>.Name;
                    sw.WriteLine("<ReportheaderDetail>" + boFieldName + "</ReportheaderDetail>");
                sw.WriteLine("</Reportheader>");
                //Create the cursor which lets us loop through the data
                RowsetCursor boRowsetCursor = boRowsetController.CreateCursor(null, boRowsetMetaData, 1);
                Record boRecord;
                while (boRowsetCursor.IsEOF == false)
                    sw.WriteLine("<Customer>");
                    boRecord = boRowsetCursor.CurrentRecord;
                    for (int j = 0; j < boFields.Count; j++)
                        try
                            sw.WriteLine("<Detail>" + (String)boRecord[j].ToString() + "</Detail>");
                        catch (Exception err)
                            sw.WriteLine("<Error>" + err.Message + "</Error>");
                    sw.WriteLine("</Customer>");
                    boRowsetCursor.MoveNext();
                sw.WriteLine("</ReportData>");
                // CLose the file
                sw.Close();
                MessageBox.Show("XML File 'ReportData.xml' successfully created on C:");

  • Can't save a report file in the Reports Builder

    dev environment : w2k, Oracle92iDS(rel 2) and patch set 9.0.2.2.0
    Problem description :
    Saving a report corrupts the report file(jsp, rdf) in the reports builder, when a report has the bind variable used in the functions.
    I can execute the report well, if I don't try to save .
    The moment the file is saved and the report can never be reopened and run.
    Please note it works fine when there is no bind variabled used in the function. Here are the steps to reproduce.
    Can someone verify this, if so is there an workaround for this problem on the Reports Builder?
    ===
    set serveroutput on
    create or replace
    package Q_REP_test
    as
    type drec is record
    sdate date
    type dreccursor is ref cursor return drec;
    Procedure Get_sysdate(retdate out dreccursor);
    procedure add_days_tocurdate(no_of_days in number, retdate out dreccursor);
    end q_rep_test;
    show errors
    create or replace
    package body q_rep_Test
    as
    procedure Get_sysdate(retdate out dreccursor)
    is
    begin
    open retdate for
    select sysdate retdate from dual;
    end;
    procedure add_days_tocurdate(no_of_days in number, retdate out dreccursor)
    is
    begin
    open retdate for
    select sysdate+no_of_days retdate from dual;
    end;
    end q_rep_test;
    show errors
    ===
    Invoke the SP as follows:
    ===
    function QR_1RefCurDS return q_rep_test.dreccursor is
    tempc q_rep_test.dreccursor ;
    begin
    q_rep_test.add_days_tocurdate(:p_1,tempc);
    return tempc;
    end;
    ===
    1. Create a report
    2. create an user parameter(p_1)
    3. add a pl/sql as above
    4. run it(to verify the report works)
    5. save it.
    6. close the report
    7. Open it again, you get an as
    "REP-0002: Unable to retrieve a string from the Report Builder Message file". Now it is corrupted and can't be used at all.

    Mac OS X 10.9.2
    MacBook Pro Retina 15" Late 2013 w/ nVidia GT 750M
    Adobe Audition 6.0 Build 732 (64 bit)
    Downloaded WAV file from internet in a ZIP. Unzipped it. Played it in iTunes. Quit iTunes. Right clicked the file and chose Open With and Adobe Audition CC. I'm pretty sure this is the first time I've opened Audition on this computer, since I just recenly upgraded from an older MacBook. Edited the WAV, had the issue. Read the forums, closed and was prompted to save. Saved and then it finished closing. Right clicked on the file again and chose Open With and Adobe Audition CC. Now the file gave me the option to Save or Save As depending on how much further I edited the file, which was just cutting out more of the track. The razor tool, though, still not available. Had to put the cursor where I wanted, then used the Shift and Home buttons to select the beginning part of the track and the Delete key to remove it.

  • Report the size of all SharePoint Databases in a text file using PowerShell?

    I am new to Powershell. please help me for following question with step by step process.
    How to report the size of all SharePoint Databases in a text file using PowerShell?

    Hi Paul,
    Here is the changed script, which will also include the size for the Config DB.
    Please let me know if it worked:
    #Get SharePoint Content database sizes
    Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $date = Get-Date -Format "dd-MM-yyyy"
    #Variables that you can change to fit your environment
    $TXTFile = "D:\Reports\SPContentDatabase_$date.txt"
    $SMTPServer = "yourmailserver"
    $emailFrom = "[email protected]"
    $emailTo = "[email protected]"
    $subject = "Content & Config Database size reports"
    $emailBody = "Daily/Weekly/Monthly report on Content & Config databases"
    $webapps = Get-SPWebApplication
    $configDB = Get-SPDatabase | ?{$_.Name -eq ((Get-SPFarm).Name)}
    $ConfigDBSize = [Math]::Round(($configDB.disksizerequired/1GB),2)
    Add-Content -Path $TXTFile -Value "Config Database size: $($ConfigDBSize)GB"
    Add-Content -Path $TXTFile -Value ""
    foreach($webapp in $webapps)
    $ContentDatabases = $webapp.ContentDatabases
    Add-Content -Path $TXTFile -Value "Content databases for $($webapp.url)"
    foreach($ContentDatabase in $ContentDatabases)
    $ContentDatabaseSize = [Math]::Round(($ContentDatabase.disksizerequired/1GB),2)
    Add-Content -Path $TXTFile -Value "- $($ContentDatabase.Name): $($ContentDatabaseSize)GB"
    if(!($SMTPServer) -OR !($emailFrom) -OR !($emailTo))
    Write-Host "No e-mail being sent, if you do want to send an e-mail, please enter the values for the following variables: $SMTPServer, $emailFrom and $emailTo."
    else
    Send-MailMessage -SmtpServer $SMTPServer -From $emailFrom -To $emailTo -Subject $subject -Body $emailBody -Attachment $TXTFile
    Nico Martens - MCTS, MCITP
    SharePoint 2010 Infrastructure Consultant / Trainer

  • How do I save a password protected file without a password?

    Someone sent me a password protected file and I want to save it on my computer without the password.
    Thanks,
    Scott

    Hi Scott,
    It is not possible to save a password protected file without a password with Adobe Reader, you would require Adobe Acrobat to remove the password protection. Even with Adobe Acrobat you can only remove the security if you are aware about the password otherwise you need to contact the Author/creator of the PDF to remove the security.
    Regards,
    ~Pranav

  • How to save bloger password in firefox 3.6.6 ? common ways at internet such as changing nsLoginManager.js is not working because the notepad cant save the new file.

    how to save bloger password in firefox 3.6.6 ?
    common ways at internet such as changing nsLoginManager.js is not working because the notepad cant save the new file.
    == URL of affected sites ==
    http://blogger.com

    Some sites like PayPal, Yahoo, Windows Live and bank sites use ''autocomplete="off"'' to prevent Firefox from saving the name and the password.
    If a site uses ''autocomplete="off"'' then look at this article for a bookmarklet to remove that autocomplete attribute.
    http://kb.mozillazine.org/User_name_and_password_not_remembered (bookmarklet)
    http://kb.mozillazine.org/Password_Manager
    See also http://en.wikipedia.org/wiki/Bookmarklet

  • How to save the report file in network drive

    Hi experts,
    Can any one of you pls tell me how can  save the report file in network drive.
    My requirement:
    by running a report i wll get daily data into a list.SO, i want to keep this in a common drive (network drive:Z) where every one can acces the txt file.
    I want the code in SAP to design this.
    Awaiting for an early reply.

    Is the Z drive in the application or presentation server ?
    make sure the server has write access to the required folder
    for presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename              = 'c:\test_xls.xls'
        filetype              = 'ASC'
        write_field_separator = 'X'
      TABLES
        data_tab              = itab.
    for the application server, use
    data: outfile(120).
      OPEN DATASET outfile FOR APPENDING IN TEXT MODE ENCODING DEFAULT.

  • CMC cannot save database configuration from a crystal report using WS

    Hi all
    I have a report in Crystal reports which is using a web service as a datasource. All works fine since web services is not using ws-security but when I deploy my report on CMC i can not save database configuracion. This is because i don't want it to prompt me for the logon credentials.
    thanks

    Hi Manish,
    thanks for your answer. Unfortunately I'm still stuck in this matter.
    Does this happen with the sample reports too? I think it will be a good approach to try this to see if your system is behaving differently for sample reports and reports published from outside
    I did not really try this, but viewing and editing my reports in Crystal Reports 2008 Designer works perfectly fine. As well can the user view my reports in the InfoViewApp.
    Also, does it revert to the login screen setting immediately after you click Save or does it show the setting as changed after clicking Save but, does not retain it when you come back and check the report settings again?
    The data is reverted immediately after clicking "Save"
    Kind reagrds
    Wolfgang

  • Powerpivot data connection will not save the password

    I'm trying to create a Powerpivot workbook with data that users can refresh themselves before analysis.  We don't have Powerpivot data refresh in Sharepoint active, so I can't make use of that service.
    When I create a Powerpivot data connection to SQL server using SQL Server Authentication (unchanging read-only username and password), and checking the box to save the password, the connection works fine for refreshing the data as long as I leave the workbook
    open.
    If I close the file and re-open it, the password is gone from the data connection and the user cannot refresh the data.
    I've tried configuring the data connection with the SQL native client provider and the SQL OLEDB provider and I see exactly the same results.
    The connection string gets built with Persist Security Info=True and the Password shows up as hidden text (dots).  It stays this way through refreshes as long as the workbook is open.  However, once I close the file and re-open it, the
    connection string no longer has the Password parameter listed at all, not even as hidden text.  Persist Security Info is still there and set to True.  As might be expected, the connection string does not have the information needed to access the
    SQL Server instance.
    This type of connection string using SQL Server Authentication still works fine with the password saved when used directly as an Excel data connection, or when used as a data source in Reporting Services.  It's only Powerpivot where the password gets
    blown away.
    Is there a workaround for this issue?

    Thanks Jaynet.
    Unfortunately, the procedure described in the link you provided does not work for PowerPivot, at least in Excel 2010.
    If I create the PowerPivot data connection using "From Database/From SQL Server" there is no option to "Allow saving password".  There is only the checkbox to "Save my password".  There is an "Advanced" button that allows you to set many additional
    properties of the data connection, but there is nothing like allow saving password.
    If I create the PowerPivot data connection using "From Other Sources/Others (OLEDB/ODBC)" and then click the "Build" button, I get a dialog that is pretty close to the one in your link.  For the Provider tab, I can choose either the Microsoft OLE DB
    Provider for SQL Server or the SQL Server Native Client 10.0.  In the connection tab I do have the "Allow saving password" checkbox.  I check this and complete the rest of the data connection configuration.  After I save the file with this data
    connection and then re-open it, the data will not refresh.  If I edit the existing connection from the PowerPivot design tab, the Password parameter is completely missing from the connection string.  If I go back into the connection string builder,
    there is nothing in the password field (not even dots) and allow saving password is no longer checked.
    I've even tried creating my own connection string in Notepad and pasting it into the connection string box (definitely including Persist Security Info=True).  This does not work either and PowerPivot erases the entire Password parameter just the same
    as if I had used the builder and checked Allow saving password.
    I'm beginning to think that the previous poster, David Hager, has it right.  This may be a bug introduced with the latest version of PowerPivot.  If there is no workaround, it is a total pain for me.
    Mike Paulonis

  • Power Pivot Bug: Can't Save Edits to Power Pivot Query without checking Teradata Connection's "Save my password" Option

    Can't edit and re-Save Power Pivot query with Teradata connection (using LDAP security mechanism) unless "Save my password" option was checked.  Without this option I receive this error upon attempt to Save changes made to the query ...
    The following exception occurred while the managed IDbConnection interface was being used: [TeraGSS Security Library] [115022] Exception occurred in TERAGSS layer.  See inner exception for details.;TdgssAuthenticationTokenExchange delegate threw an exception.
     See the inner exception for details.
    ErrorCode: -452984642 Severity: Error Facility: DotNet
    [Teradata Database] [8017] The UserId, Password or Account is invalid..
    A connection could not be made to the data source with the DataSourceID of '6a06124c-496f-4887-bf39-d2582173d499', Name of 'Teradata fsltdprd'.
    An error occurred while processing table 'Query'.
    The current operation was cancelled because another operation in the transaction failed.

    Sorry you're right, the Office category isn't currently accepting bug reports in which case Olaf's suggestion to use the smiley face is the way to go. In Excel please go to File > Options > Trust Centre > 'Trust Centre Settings...' and check
    that the Feeeback Tool is enabled.
    If the option is greyed out like this...
    ... then you should be able to enable it by changing the value of the 'Enabled' registry key from a 0 to a 1 which you will find under: HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Feedback. You will then need to close all Office applications
    and re-launch Excel 2013.
    Once the Feeback Tool has been enabled, you should see the smile face(s) in the top right hand corner of the Excel window and be able to send your feedback.
    Regards,
    Michael
    Please remember to mark a post that answers your question as an answer...If a post doesn't answer your question but you've found it helpful, please remember to vote it as helpful :)
    Website: nimblelearn.com, Blog:
    nimblelearn.com/blog, Twitter:
    @nimblelearn

  • In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File

    Post Author: bhaveshbusa
    CA Forum: Crystal Reports
    In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File. When the application calls ReportDocument.Load(reportFileName). This
    tries to connect to the database using the connection information embedded in
    the "reportFileName". This was only realised on checking the ODBC Trace
    Log. The connection itself is not a problem. The problem is that the embedded
    connection information is related to OLD production system. And failed
    connections had raised some concerns.
    Note: I am using
    SetDataSource to populate the data for the report. So I don't need the
    connection.
    Is there any way I
    can disable this auto-connect?
    Thanks and
    regards,
    Bhavesh

    960738 wrote:
    I need a help in answering one of the issue encountered last week.
    I have created a database link and tried to access the information from a table using the program written in another language. The password provided was incorrect for that user while creating database link. So we expected that,while retrieving the data, Database connection has to be errored out as password provided is incorrrect.
    But unfortunately, user account was locked out. When i checked with DBAs they mentioned that it tries to connect 16 ports with in a min of time.we were shocked as it STOPS another scheduled jobs with that user. and affects production badly.
    As per the program, it has to connect only one time and yesterday we tried to execute the program in DBAs observation and it errored out as expected. Didn't tried for multiple ports.
    Now the question is, WHY the database connection established 16 times last week and caused user account locked. DBAs are unable to answer it. Any EXPERTs opinion on this would greatly appreciated.
    I have verified managing ports in oracle documentation, it was mentioned that if one port is busy it will try to connect to another port in the range of ports mentioned during the installtion. DBAs verified ports related file and it was blank. and they are not agreeing with this reason. Please HELP me in finding the correct REASON for this.
    is it a NETWORK issue or issue with DATABASE SERVER only?
    Thanks
    SSP
    Edited by: 960738 on Sep 22, 2012 9:13 PMDBLINK is 100% oblivious to the fact any port exists.
    DBLINK only contains username, password & TNS Alias.
    can you post actual SQL & results?

Maybe you are looking for

  • Problem with Installing 8.0.5 ODBC Drivers

    I have been having a problem getting the ODBC for the 8.0.5 client. The installation runs fine, I use Net8 Easy Config and setup and running. I setup the datasources and sucessfully "Test" the connection with the login and password. When I go to the

  • How to call a report from a menu ?

    I am converting 6i client/server forms to 9i. I have a menu that has an option on it to run a report for each menu item selected using RUN_PRODUCT. 9i is making this obsolete, so how can I call a report from a menu (not a form) now then ? In a form i

  • Swf colors rendered diffrent in IE, FF, Opera

    Hi folks, Just changed a header from png image to swf, needed a red blinking "beacon" But strangely the color of the swf renders diffrently in all browsers except safari? Does anyone have a clue? Colorprofile issue in the PSD file maybe? Have tried a

  • Alternative Application Module Coding Style

    I want to preface this post with the fact that I'm relatively new to the OA Framework, but not general OO concepts. Typically you'd see an application module with this structure: public class testAMImpl extends OAApplicationModuleImpl    * This is th

  • Slideshow at 100% - unwanted transition

    I am running PS CS4 on a PC with XP SP3 and 4GB with the 3/GB switch. My video card (MATROX P650 PCIe 128MB) does not support OpenGL 2.0 so I am not using GPU acceleration. BTW, I also have CS3 and full screen preview and slideshow in Bridge seem to