Using ApplyLogOnInfo  (lost information)

Hi.
I am using:
Crystal Reports 2008 ver. 12.0.0.683(sp0)
Visual studio 2005 (vb)
SQL2005 & Oracle (db)
The problem is that when the following line is executed, the database name and all information reverts back to the original information (database name,etc) .
(when i try to change connection SQL to Oracle db, and Oracle to SQL).
crTable.ApplyLogOnInfo(crTableLogOnInfo)
Vb code:
Dim crTableLogOnInfo As New TableLogOnInfo
Dim crConnectionInfo As CrystalDecisions.Shared.ConnectionInfo = New
CrystalDecisions.Shared.ConnectionInfo()
With crConnectionInfo
    Select Case intProvider
    Case databaseProvider.sqlServer
            .ServerName = "server"
            .DatabaseName = "DB"
            .UserID = "sa"
            .Password = ""
    Case databaseProvider.Oracle
            .LogonProperties.Clear()
            .Attributes.Collection.Clear()
            'setup the attributes for the connection
            dbAttributes.Collection.Set("Server", "ORCL")
            dbAttributes.Collection.Set("Trusted_Connection", False)
            .ServerName = "ORCL"
            .DatabaseName = ""
            .UserID = "us"
            .Password = "pwd"
            .Attributes.Collection.Set("Database DLL", "crdb_oracle.dll")
            .Attributes.Collection.Set("QE_DatabaseName", "")
            '.Attributes.Collection.Set("QE_DatabaseType", "Servidor de Oracle")
            .Attributes.Collection.Set("QE_SQLDB", True)
            .Attributes.Collection.Set("SSO Enabled", False)
            .Attributes.Collection.Set("QE_LogonProperties", dbAttributes)
            .LogonProperties = dbAttributes.Collection
            .Type = CrystalDecisions.Shared.ConnectionInfoType.CRQE
        End Select
    End With
For Each crTable In crTables
    crTableLogOnInfo = crTable.LogOnInfo
    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
    crTable.ApplyLogOnInfo(crTableLogOnInfo)
next*
Don't return error, ApplyLogOnInfo.
Regards

Understood re. the actual issue. However I wonder if what you asked in the other post may be a clue to the solution. E.g.;
When I save the report,(cr designer new connection Oracle), after 90% dont't have problems
when i use the report on my application.
Please elaborate on the above. Are you trying to say that this work 90% of the time and fails 10% of the time? If that is so, then that is quite different than the report reverting to an incorrect conenction.
Do you now something about OracleReport() ¿? (Crsytal library¿?)
Again, what does the above mean?
Ludek

Similar Messages

  • When I login I get a message "aosnotifyd wants to use your confidential information stored in "my name" in your keychain." How do I know if it is safe to allow this? Can anyone advise please?

    Every time I login I get the message "aosnotifyd wants to use your confidential information stored in "my name" in your keychain." How do I know if it is safe to allow this? Can anyone advise please?

    My immediate reaction is to deny.
    Have you downloaded or installed any application that may relate to the abbreviation AOS? It may not necessarily be the application's name, could be the developer or distributor.
    As it's occuring at log-in, go to System Preferences > Accounts > your account > Login Items and look for a related item. If there's one there, right-click (or ctrl click) on it and select Reveal in Finder. That will show you where the originator of the item is on your system and should give you more of a clue as to what it is.
    I'd remove the item from login items anyway (highlight and click the minus sign at the bottom of the window). There shouldn't be anything trying to use your keychain info to notify anyone.

  • Messages Agent wants to use my confidential information??

    Good afternoon,
    Every time I restart my computer a window opens up saying:
    Messages Agent wants to use your confidential information stored in "FaceTime: email address.com" in your keychain.
    do you want to allow access to this item?
    Always Allow    Deny       Allow
    This has been happening since i've updated to OS X Yosemite 10.10
    What is this and should I Allow it?
    Thanks

    Back up all data before proceeding.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select
              Change Settings for Keychain "login"
    In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
              Keychain Access ▹ Preferences... ▹ First Aid
    There are four checkboxes in the window that opens. Check all of them. if they're not already checked. Close the window.
    Select
              Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.
    If you use iCloud Keychain, open the iCloud preference pane and uncheck the Keychain box. You'll be prompted to delete the local iCloud keychain. Confirm. Then re-check the box. Follow one of the procedures described in this support article to set up iCloud Keychain on an additional device.

  • Photostream Agent wants to use your confidential information

    I keep getting the following message when I power on:  "Photostream Agent wants to use your confidential information stored in icloud in your keychain.  Do you want to allow access."  I click, "Deny" and the same message pops up again.  I click, "Deny" and it disappears for good until the next time I power on.
    Is there some way to get rid of this pop up.  I don't even understand who Photostream is and why an agent would want my info.  Maybe it has something to do with my keychain settings.
    Thank you.

    Thank you, captfred.
    I unchecked "photostream" in icloud.  Does this mean that my photos on my hard drive are no longer backed up in icloud?  I want to back them up, I just don't want to "share" them with a "Photostream Agent", or anyone else for that matter as I have pictures of my children on my hard drive.

  • Translate wants to use your confidential information stored in.....?

    I don't know why, but all of a sudden, I keep getting this message from my mail program. I keep saying Deny, but it comes back. I have searched relentlessly and have found no answers. Since the app is called translate, all I keep getting are translation information. Nothing to do with whatever is going on here.
    Here is a copy of the message:
    *translate wants to use your confidential information stored in "Exchange" in your keychain.*
    I don't know if this is legit, or if it is something malicious. Can anyone with any knowledge in this, please enlighten me.
    TIA, Billy

    First the basics.
    Which mail program?
    Any third party software being used in conjunction with mail or to enhance the system? (e.g., There are translation programs which are meant to interact with mail, I think.)
    What happens if you search your mac for the string "translate", any applications show up?
    charlie

  • Facetime wants to use your confidential information stored in ids: - AuthToken in your keychain

    OSX 10.10.2 fresh new iMac.
    When I open FaceTime and log in, I'm presented with a message.wants to use your confidential information stored in ids:<my appleID emailaddress> - AuthToken in your keychain.  Option to Always Allow, Deny or Allow.  Clicking either one will bring me back to FaceTime login screen.  I'm not able to login.
    Google search results suggest resetting KeyChain or Since this is a new mac, I don't really have anything in my Keychain.
    I've already went into Keychain preferences and made sure it was unlocked and even reset the Keychain preferences.
    I'm able to login on my iPhone and my other iMac running 10.10.2 as well.

    FaceTime, Game Center, Messages - Get help signing in
    FaceTime, Game Center, Messages: Troubleshooting sign in issues    
    FaceTime Troubleshooting

  • How do I stop the popup "identityservicesd wants to use your confidential information stored in " key " in your keychain"?   Always allow doesn't work.

    I repeatedly see the popup:
    "identityservicesd wants to use your confidential information stored in "<key>" in your keychain"
    If I click "always allow" it still comes up.
    I've followed instructions elsewhere on this forum to open Keychain Access and use First Aid, but to no avail.
    Previously I would receive the popup "messages app wants to use your confidential information..." but I changed the Access Control to allow all applications to access this item, hoping that would do the trick.  But sadly it didn't work.
    Any ideas?
    (Also, ever since upgrading to Mavericks, it wants to go through first-time setup every time I log in.  I'm prompted to enter my iCloud password, etc. etc. but the above problem predates that)

    My immediate reaction is to deny.
    Have you downloaded or installed any application that may relate to the abbreviation AOS? It may not necessarily be the application's name, could be the developer or distributor.
    As it's occuring at log-in, go to System Preferences > Accounts > your account > Login Items and look for a related item. If there's one there, right-click (or ctrl click) on it and select Reveal in Finder. That will show you where the originator of the item is on your system and should give you more of a clue as to what it is.
    I'd remove the item from login items anyway (highlight and click the minus sign at the bottom of the window). There shouldn't be anything trying to use your keychain info to notify anyone.

  • On start up I get message: indentityservicesd wants to use your confidential information stored in FaceTime (email) in your keychain

    Hello  when I downloaded software OSX 10.9.1 now on startup I get this message 2 times: Identityservicesd wants to use your confidential information stored in Facetime @yahoo.com in your keychain. This is very annoying and slows my computer down. I dont use or dont want to use Facetime and Keychain is annoying also but i dont know how to delete either one.
    <Email Edited by Host>

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

  • 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?

  • Is there a way to get back lost information on a phone that was synced to the wrong itunes account

    is there a way to get back lost information on a phone that was synced to the wrong itunes account? My sister and I share a computer and she accidently did the itunes restore on her phone under my name so all of my contacts, apps, ect are on her phone and all of her info is gone. Is there a way to undo the reset? PLEASE HELP!!!

    She can restore to a previous backup, if she has one. Or she
    can restore via iCloud if she has that setup.

  • Can't use "read the information"

    hello every body
    first excuse my english... I'm french and my studdies are far...
    I can't use "read the informations" .
    When I try, nothing appens and within a few seconds, the finder restarts.
    if I did something wrong, I did it on my two computers (pb G4 ti and imac G5) same problem on both...
    thank you for your answers...

    You will be able to the get this information using the VISA Driver Development Wizard. You can read more about this tool at the following link:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/ADF3152837E2B4A486256B5600642AC7?opendocument
    This document explains in detail the process required.

  • I resently upgraded my OS to Snow Leopard, but the information in my address book did not transfer.  How can I recover the lost information?

    I upgraded to Snow Loepard OS.  But not all the information in the address book was transfered.  How can I recover the lost information from my old address book?

    No I did not make a copy of my address book. 
    Some information was moved over, many did not.
    I do not see a pattern.
    I think all the info is still on the hard drive, I just don't know how to recover it.

  • How to use recursive in Information Design Tools?

    Hi all,
    I want to use recursive for count number of employee in each organization. I write code something like this.
    with EmpCTE as
          select RootID = D.ORG_CD , D. ORG_CD, D .ParentOID
          from  (SELECT     CURRENT_LEAF as ORG_CD ,
                   D .DATE_KEY AS DateKey,
                        CASE WHEN LEAF_LEVEL = 1 THEN LEVEL0
                                   WHEN LEAF_LEVEL = 2 THEN LEVEL1
                                   WHEN LEAF_LEVEL = 3 THEN LEVEL2
                                   WHEN LEAF_LEVEL = 4 THEN LEVEL3
                                   WHEN LEAF_LEVEL = 5 THEN LEVEL4
                                   WHEN LEAF_LEVEL = 6 THEN LEVEL5
                        END AS ParentOID
           FROM [BISIPH_HR]. [dbo].[ORG_HIER_STD] H , MST_DATE_DIM D
           where 1= 1
           and D. DATE_KEY between BEGDA and ENDDA
           and D. DATE_KEY between C_L1_BEGDA_KEY and C_L1_ENDDA_KEY
           and D. DATE_KEY between C_L2_BEGDA_KEY and C_L2_ENDDA_KEY
           and D. DATE_KEY between C_L3_BEGDA_KEY and C_L3_ENDDA_KEY
           and D. DATE_KEY between C_L4_BEGDA_KEY and C_L4_ENDDA_KEY
           and D. DATE_KEY between C_L5_BEGDA_KEY and C_L5_ENDDA_KEY
           and D. DATE_KEY between C_L6_BEGDA_KEY and C_L6_ENDDA_KEY
           and D. DATE_KEY between C_L7_BEGDA_KEY and C_L7_ENDDA_KEY
           )   D
          where 1= 1
          AND DateKey = 20140101
          union all
          select EmpCTE. RootID, D .ORG_CD, D.ParentOID
          from (
            SELECT   CURRENT_LEAF as ORG_CD,
                   D .DATE_KEY AS DateKey,
                        CASE WHEN LEAF_LEVEL = 1 THEN LEVEL0
                                   WHEN LEAF_LEVEL = 2 THEN LEVEL1
                                   WHEN LEAF_LEVEL = 3 THEN LEVEL2
                                   WHEN LEAF_LEVEL = 4 THEN LEVEL3
                                   WHEN LEAF_LEVEL = 5 THEN LEVEL4
                                   WHEN LEAF_LEVEL = 6 THEN LEVEL5
                        END AS ParentOID
           FROM [BISIPH_HR]. [dbo].[ORG_HIER_STD] H , MST_DATE_DIM D
           where 1= 1
           and D. DATE_KEY between BEGDA and ENDDA
           and D. DATE_KEY between C_L1_BEGDA_KEY and C_L1_ENDDA_KEY
           and D. DATE_KEY between C_L2_BEGDA_KEY and C_L2_ENDDA_KEY
           and D. DATE_KEY between C_L3_BEGDA_KEY and C_L3_ENDDA_KEY
           and D. DATE_KEY between C_L4_BEGDA_KEY and C_L4_ENDDA_KEY
           and D. DATE_KEY between C_L5_BEGDA_KEY and C_L5_ENDDA_KEY
           and D. DATE_KEY between C_L6_BEGDA_KEY and C_L6_ENDDA_KEY
           and D. DATE_KEY between C_L7_BEGDA_KEY and C_L7_ENDDA_KEY
           ) D
          inner join EmpCTE on D .ParentOID = EmpCTE.ORG_CD
          AND D. DateKey = 20140101
    select distinct
    ORG_DIM.ORG_CD
    , ORG_DIM. ORG_DESC_T
    , EmpCTE. ParentOID
    --, EMP_DIM.EMP_CODE
    , cnt. Child
    , cntemp. ChildEmp
    from MST_EMP_DIM EMP_DIM
    INNER JOIN TXT_EMP_ORG_FACT EMP_ORG_FACT ON EMP_ORG_FACT .EMP_KEY = EMP_DIM.EMP_KEY
    INNER JOIN MST_ORG_DIM ORG_DIM ON ORG_DIM .ORG_CD = EMP_ORG_FACT.ORG_CD
    INNER JOIN EmpCTE ON EmpCTE .ORG_CD = ORG_DIM.ORG_CD
    INNER JOIN TXT_EMPLOYMENT_FACT EMPLOYMENT_FACT ON EMPLOYMENT_FACT.EMP_CODE_KEY = EMP_ORG_FACT.EMP_CODE_KEY
    INNER JOIN (
           SELECT ORG_CD = RootID, Child = COUNT (*)
           FROM EmpCTE
           GROUP BY RootID
    ) cnt ON cnt.ORG_CD = EMP_ORG_FACT. ORG_CD ------------------ ¹Ñº¨Ó¹Ç¹ ORG ·ÕèÍÂÙèãµé ORG »Ñ¨¨ØºÑ¹
    INNER JOIN (
           SELECT ORG_CD = RootID, ChildEmp = Count (*)
           FROM EmpCTE
           INNER JOIN TXT_EMP_ORG_FACT EMP_ORG_FACT ON EmpCTE .ORG_CD = EMP_ORG_FACT.ORG_CD
           INNER JOIN MST_EMP_DIM EMP_DIM ON EMP_ORG_FACT .EMP_KEY = EMP_DIM.EMP_KEY
           INNER JOIN TXT_EMPLOYMENT_FACT EMPLOYMENT_FACT ON EMPLOYMENT_FACT.EMP_CODE_KEY = EMP_ORG_FACT.EMP_CODE_KEY
           WHERE 1= 1
           AND 20140228 BETWEEN EMP_ORG_FACT.ORG_ASSIGN_START_DT_KEY AND ORG_ASSIGN_END_DT_KEY
           AND 20140228 BETWEEN EMP_DIM.EMP_START_DATE_KEY AND EMP_DIM.EMP_END_DATE_KEY
           AND 20140228 BETWEEN EMPLOYMENT_FACT.START_DATE_KEY AND EMPLOYMENT_FACT.END_DATE_KEY
           AND EMP_ORG_FACT. EMP_ASSIGN_PAYROLL_AREA_CD IN ('Z1', 'Z2')
           AND EMPLOYMENT_FACT. EMPLOYMENT_STATUS_KEY = 3
           GROUP BY RootID
    ) cntemp ON cntemp.ORG_CD = EMP_ORG_FACT. ORG_CD
    WHERE 1= 1
    AND 20140228 BETWEEN EMP_ORG_FACT.ORG_ASSIGN_START_DT_KEY AND ORG_ASSIGN_END_DT_KEY
    AND 20140228 BETWEEN EMP_DIM.EMP_START_DATE_KEY AND EMP_DIM.EMP_END_DATE_KEY
    AND 20140228 BETWEEN EMPLOYMENT_FACT.START_DATE_KEY AND EMPLOYMENT_FACT.END_DATE_KEY
    AND EMP_ORG_FACT. EMP_ASSIGN_PAYROLL_AREA_CD IN ('Z1', 'Z2')
    AND EMPLOYMENT_FACT. EMPLOYMENT_STATUS_KEY = 3
    ORDER BY EmpCTE.ParentOID
    and result
    I want to create ChildEmp object for display in web-i report. How can i use recursive in Information Design Tools? or Do you have other solution for this?
    Thank you for your advise.
    Notto Zung

    Hi,
    NoDim is a function of the Bex query formula ,  so you can't delegate that to the cube.
    What object is, and what are you trying to do.   For example,  Sales, and trying to leave out Currency attribute.
    You can do an awdful of customizing  in a Business Layer or Data Foundation,  that is where your solution where probably come from.
    Regards,
    H

  • How PI uses technical system information in SLD

    Hi Experts,
    I know there are business system and technical system registered and associated in SLD.
    Especially for those SAP systems, in our normal PI scenario, how PI uses the technical information which was registered under Technical System in SLD since we need again configure the host/port and credentials details in the sender/receiver channel in ID.
    Or SLD is just one central place for collecting all the technical information together only for life cycle management?
    There is nothing more to do with the Tech System (SLD), PI only needs the business system in scenario.
    Please knidly share your opnion, thanks in advance.
    Best Regards,

    Hi Aditya,
    Let me provide an example to describe the need fot technical systems.
    Think of an outbound scenario : SAP ECC/CRM -> PI -> Third Party (ex: SOAP)
    Now just think how PI will identify what the sender is (ECC/CRM or 3rd party) if the TS is not registered in SLD? The Business Systems are logical systems whcih points to Technical Systems (application systems that are installed in system landscape). TS hold the information about the actual systems, its host, IP, clients etc.
    Now based on the source BS which points to TS, the target binding is done in Receiver Determination pipeline step. Now if there is no TS attached to the BS how can PI identify whether ECC or CRM is sending the data and hence will not be able to identify the relevant target for the source.
    Think of Business Systems as sitting on top of Technical Systems, and when the landsape details are not known for third party systems we use Business Component/Business Service.
    Cheers,
    Souvik

  • Has anyone had an email saying Adobe can't bill using current payment information.

    Has anyone had an email from Adobe saying they cannot bill using current payment information on the account? I haven't made any changes and they have been happily taking the monthly subscription for many months. There are no issues with my payment information and the bank cannot find an attempted transaction from Adobe. I'm out of the country at the moment and cannot call their 800 numbers. Is there a number (not the 800 type) that can be used by international callers?

    Hi hansawathie
    Payment was attempted on March 21st & 22nd but it wasn't authorized.  Could you possibly check this with your bank in case they're blocking the payment for any reason.
    We'll automatically attempt to take payment in 7 days or you can contact our Chat team: Manage your membership and payments | Creative Cloud
    Thanks
    Bev

Maybe you are looking for

  • Sharing out a printer via SMB on Lion

    I have a complex situation where we share out a printer from a Mac workstation to a windows computer in another location. It worked fine until we replaced the Snow Leopard Mac with a Lion one. Now, the windows computer no longer sees the printer, eve

  • Block releasing to accounting for a specific sales area

    Is it possible to block a billing document from 'releasing to accounting' for a specific sales area? Posting block on the billing type is not an option since the billing type will be used in other sales areas. Thanks KM

  • Dynamic inmternal table content O/P in BGD ?

    Dear All, I've content in my dynamic Internal Table. When I'm trying to print the values of that table on the List the output is not proper . The problem is not with the values but the alignment of each of the column. It's giving some absurd output a

  • Authenticate before Downloading  BLOB

    I have a report that contains links to PDF files that are stored in BLOBS. The URL for the links uses APEX_UTIL.GET_BLOB_FILE_SRC to generate the URL. Some of the PDF files are public, while others require a user to be authenticated before the can vi

  • Bios "pcie 3 support" setting is not working?

    Hi All, When I dissable pcie 3 support in bios, it does not seem to turn it off. I just got this mobo (z77 mpower) with a 3770k and I am having issues with my two Gigabyte 670 in sli (they seems to run fine not in sli). These same cards were fine in