Removing password from mirror database user causes connection problems

Using Crystal Reports 2008, I have 2 Sybase databases connected to a single server, one is the original database used by my app, the other is a mirror that I want to run reports against.
If I add a new user to both databases, I can connect to the mirror via an OLE DB connection without a problem.
However, to prevent users from connecting to and running reports against the main database, I've changed the user so that they have a password in the mirror database, but not in the main database.
The problem is, after making this change, when I try to connect to the mirror database I get an "Invalid user ID or password" error.
I can connect to the mirror database as this user from other applications, it only seems to be Crystal Reports that has the problem.
Is this a bug, or am I doing something stupid?!  Any help greatly appreciated!
Ian

Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

Similar Messages

  • Cannot Remove Password From Accdb Database

    Access 2007
    Windows 7 Ultimate x64
    I created an accdb database and encrypted it with a password.  Now I want to remove the password.
    I opened the database exclusively and entered the password.  The help instructions say:
    2.On the Database Tools tab, in the Database Tools group, click Decrypt Database.
    The Unset Database Password dialog box appears.
    Unfortunate, the Database Tools group is displaying "Encrypt with Password" and clicking on that brings up the Set Database Password dialog box not the Unset Database Password dialog box.
    Is this a known bug?
    There is also an Encode/Decode Database in the Database Tools group but there does not appear to be anything in the help information about it. 
    Decode Database results in a not found response and Encode Database retunrs a link to Encrypt a database by using a database password which refers to the "Encrypt with Password" section of the documentation which refers to "Encrypt with Password" in the Databse
    Tools group.
    The only way it appears you can remove a password is to create a new unprotected database and import everything from the old one it.  Unfortunately, that leaves behind things like the layout of the Relationships window, all property settings, etc.

    Hi There,
    Sorry for the late response.
    I think I have a solution to your issue.   I poretty much had the same condition when trying to remove a password.  I logged on in EXCLUSIVE mode multiple time and each time I would see the ENCRYPT with Password instead of the "DECRYPT...."
    I believe my password contained a few special characters that may have caused the problem with corruption because I also noticed that whenever I tried to COMPACT & REPAIR it would not accept my password  that I logged on with.  That's why I
    figured there is either a bug or corruption.
    In either case follow these steps and you should be able to resolve without re-building and importing/exporting objects:
    =================================================
    If you try changing the database password by
    1. Open exclusive mode
    2. Click info
    3. If the Decruypt button appears then click and change the password.
    If not try below
    It is possible to remove the password as follows:
    Again open Access database in EXCLUSIVE mode
    Press Ctrl+G to activate the Immediate window in the Visual Basic Editor. (With MS Access )
    Type or copy/paste the following line:
    Code:
    a)  CurrentDb.NewPassword
    "enter old password", ""
    With the insertion point anywhere in the line, press <Enter.>
    Examples
    1. Remove the password assume the current password is : SnowFlake123
         CurrentDb.NewPassword "SnowFlake123", ""
    2.  Change the password to SpringWater123” assume the current password is : SnowFlake123
          CurrentDb.NewPassword "SnowFlake123", "SpringWater123"
    ================================================
    This worked for me.    I used option 1 and removed the password.  Then compact and repaired.
    Restarted without the password and then ENCRYPTED with PASSWORD.  I used a password with upper, lower case and numbers.  No special characters.
    I tried to follow the steps to remove the passowrd and now my "DECRYPT...." shows up under file, info. 

  • Remove password from main user account on os x 10.8

    How do i remove password from main user account on os x 10.8
    Thank you
    John

    http://support.apple.com/kb/HT1274

  • Can I remotely remove Apps from my iphone when not connected to iTunes. I have my apple ID and password. but my iphone is not in same wifi range

    Can I remotely remove Apps from my iphone when not connected to iTunes. I have my apple ID and password. but my iphone is not in same wifi range

    Sorry, not sure what you mean by remotely?
    You can remove apps from your phone without being connected to anything if you have the phone in hand. Were you speaking about something else?
    If not, then you just press on an app on the Home screen and hold it down until they all begin to wiggle. Apps that you can remove (non-Apple apps) have a little "x" in the top left-hand corner. Tap on that, and the app will be removed.
    Cheers,
    GB

  • Changing the password for OIM Database User

    We need to change the password of the database user that created and user to run the prepare_xl_db.sh. I changed the <password encrypted="true"> to "false" and modified the password in the xlconfig.xml and restarted the app server but I can't log in. I get the below error. - what else is needed?
    ERROR,30 Oct 2008 09:31:56,265,[XELLERATE.SERVER],Class/Method: XLJobStoreCTM/initialize encounter some problems: Error while connecting to Database. Please check if DirectDB settings are correct in Xellerate configuration file.
    FATAL,30 Oct 2008 09:31:56,265,[XELLERATE.SCHEDULER],QuartzSchedulerImpl constructor Exception
    org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'noTXDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    ) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:429)
         at org.quartz.impl.jdbcjobstore.JobStoreCMT.initialize(JobStoreCMT.java:131)
         at com.thortech.xl.scheduler.core.quartz.XLJobStoreCTM.initialize(Unknown Source)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:753)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:885)
         at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.initialize(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.<init>(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.getSchedulerInstance(Unknown Source)
         at com.thortech.xl.scheduler.core.SchedulerFactory.getScheduler(Unknown Source)
         at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.startScheduler(Unknown Source)
         at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.init(Unknown Source)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2371)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4824)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
         at com.evermind.server.Application.getHttpApplication(Application.java:570)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    * Nested Exception (Underlying Cause) ---------------
    org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'noTXDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    ) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    )]

    During oim installation datasources are created to access the database.
    So when you change the password for the database user you have to adjust the password in the datasources.

  • How can i remove password from my I Pod

    how can i remove password from my I Pod

    If you mean you can't get past the screen lock then:
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Can I remotely remove Apps from my iphone when not connected to iTunes

    Can I remotely remove Apps from my iphone when not connected to iTunes. I have my apple ID and password. but my iphone is not in same wifi range

    Tap & hold an app icon until they wiggle then tap the X on the app you want to delete.

  • Removing record from secondary database

    Could soembody please explain - if I'm removing entry from secondary database using a cursor, will that entry be removed from primary database as well, or I need to remove it explicitly?

    looks like it does, as stated in javadocs, so nevermind ;)

  • Anyone know why, firefox does not remember password for a site when you remove password from the view password site? I removed a pasword in the view password window and now it not asking me to remember and also it is not remembering the password when I go

    Anyone know why, firefox does not remember password for a site when you remove password from the view password site? I removed a password for a site that was not remembering the correct password for the "view password" window and now it does not guess the password and does not remember the password for that site. All other sites are being remembered.
    == This happened ==
    Every time Firefox opened
    == After I deleted the password from the view password window.

    The saved password feature worked well, but the site I had saved the password for required that I change the password. I have found no way to update the password in Firefox. After I deleted the saved password, Firefox did not ask if I wanted the new password saved. When this happened before, I removed and re-installed Firefox, and then it worked. I hope there is another way to update a password.

  • Local Users (belongs to domain) on ISE cannot derive Password from Windows Database

    Dear Support Team
    We are in the progress of Migrating ACS4.2 to ISE3355 running 1.1.4. We have SSL VPN Users & Wireless Users to be migrated.
    ISE 1.1.4 is already integrated with AD Windows 2008 and can see all the groups defined on AD.
    1: in ACS 4.x & even 5.x, we have option to add a user locally (users belonging to domain) , and  we can configure user’s password to be derived from Windows Database. It helps to control AAA Policies.
    It also helps to avoid configuring "users" in specific groups on AD and as a result no dependency on System Team to configure users in specific groups, which can be used in policy making on ISE.
    However while doing the same, I could not find an option in ISE 1.1.4. Password cannot be derived from windows database. Password has to be set manually, that clearly means that i have to arrange the users in specific group on AD.
    Is it a platform specific issue or am I missing something ?
    Thanks in advance for your valuable time to look into this issue.
    Ahad....

    It seems that i have to open a TAC case to get cisco official explanation on this feature, it was a nice feature, which has been unnecessarily deprecated.
    Any Inputs from anyone, who has similiar requirement, Please share it here.
    Regards
    Ahad

  • How do I remove password from iphone backups?

    I am currently using the original iPhone running 1.0.2. I'm just wondering how do I remove the password from iphone backups? I read on other threads that you only have to uncheck "encrypt backup" in the summary page when you connect your phone. However, I don't have this option. I only see:
    - Open iTunes when this iPhone is connected
    - Sync only ticked songs and videos
    - Convert higher bit rate songs to 128 kbp AAC
    - Manually manage music and videos
    Any help would be appreciated. Thanks.

    If you are just trying to bypass the passcode on the phone, you can unlock it.  Plug the phone into your computer/itunes and turn the equipment on.  At the same time hold down the on/off button and the home button and do not let go.  Typically you will see the apple symbol and after a few minutes you will see a picture of a apple cord asking you to plug th ephone in to itunes.  unplug the phone from your computer and replug.  You should then be able to restore the phone to original manufacturing setings using the apple software on your computer.
    If you are trying to bypass the APPLE user id and password, that's a whole new set of issues.

  • Remove password from PDF with Reader 9.0?

    Hi,
    We would like to know if a user opens a protected PDF (with 128/256 bits encryption) in Acrobat Reader 9.0,
    can the user save a copy of the protected PDF and the new PDF is no longer password protected.
    That means I would like to check if the reader 9.0 can allow user to remove the password (Of course, permission
    should be granted when creating the protected PDF in Acrobat 9.0) from the protected PDF file.
    Thanks for your attention in advance,
    Raymond

    Reader cannot remove password protection. It only reads files.

  • Retrieve password from public database-link

    In the past we have created a public database-link to another database. Unfortunately we forgot the password and want to have it back. Sice the database-link is public, the password can not be found in user_db_links.
    Is it possible to retrieve a password from a public database-link?

    Hi,
    I know resetting in an Option for you but in worst case. Coming to the point you can get from "sys.link$" But how far will work on 10g verison did not checked. Try and see
    Ahh. sorry Why you try "select dbms_metadata.get_ddl(’DB_LINK’,’TEST’,user) from dual
    it will give the script. If the password in encripted for 10g try with "link$" it will work.
    - Pavan Kumar N
    Edited by: Pavan Kumar on Nov 18, 2008 3:57 PM

  • Removing Data from a Database using JList

    Hi,
    I have the following JList with a "Remove" button.
    I have managed to populate the JList with entries from the DataBase but now i am having problems removing the data from the data base using the JList.
    What i am trying to achieve is, when an entry is selected from the JList and the "Remove" button is hit, the entry should be removed from the JList and from the database.
    How do i do this, please help..
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import javax.swing.*;
    public class RemoveD extends JDialog {
        private JList list;
        private JButton removeButton;
        private JScrollPane scrollPane;
        private Connection conn = null;
        private Statement stat = null;
        private ResultSet rs = null;
        String names = new String();
        private DefaultListModel listModel = new DefaultListModel();
        public RemoveD(Frame parent, boolean modal) {
            super(parent, modal);
            initComponents();
        private void initComponents() {
            try {
                Class.forName("com.mysql.jdbc.Driver");
            } catch (ClassNotFoundException ex) {
                ex.printStackTrace();
            try {
                String userID = "";
                String psw = "";
                String url;
                url = "jdbc:mysql://localhost:3306/mqnames";
                conn = DriverManager.getConnection(url, userID, psw);
                stat = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
                        ResultSet.CONCUR_READ_ONLY);
                rs = stat.executeQuery("SELECT queueName FROM queuenametable");
                int j = 0;
                while (rs.next()) {
                    names = rs.getString(1);
                    System.out.println("rs: " + names);
                    listModel.addElement(names);
                }//end of While
                stat.close();
                conn.close();
            } catch (SQLException ex) {
                ex.printStackTrace();
            scrollPane = new JScrollPane();
            list = new JList(listModel);
            list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            removeButton = new JButton();
            setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
            getContentPane().setLayout(new GridLayout(2, 0));
            scrollPane.setViewportView(list);
            getContentPane().add(scrollPane);
            removeButton.setText("Remove");
            removeButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent evt) {
                    removeButtonActionPerformed(evt);
            getContentPane().add(removeButton);
            pack();
        private void removeButtonActionPerformed(ActionEvent evt) {
        public static void main(String args[]) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    RemoveD dialog = new RemoveD(new JFrame(), true);
                    dialog.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            System.exit(0);
                    dialog.setVisible(true);
    }

    Ask a specific question. Do you know how to get the selected item in the list? Do you know how to write a delete query in SQL?

  • Remove password from sleep

    How do I remove password login when awakening from sleep..works on other computers but not HP....why??? Windows 8.1 ''''Hp all in one

    Alsandra,
    Welcome to the HP Forum.
    Method can depend on your Operating System.
    Windows 8.1 Example:
    Windows key > type anywhere pc > Click PC Settings > Accounts > Sign-in options >
    Under Password policy - Password required when waking this PC from sleep >>
    Click Change
    Confirm choice...
    Windows 7 Example:
    Control Panel > set icon view > Power Options > Require a password on wakeup >
    Under Password protection on wakeup >>
    CHECK Don't require a password
    Click Save Changes
    Click the Kudos Thumbs-Up to show you appreciate the help and time from our Experts.
    Although I strive to reflect HP's best practices, I do not work for HP. 
    Click Accept as Solution when the Answer is a good Fix or Workaround!
    Kind Regards,
    Dragon-Fur

Maybe you are looking for

  • Cannot a get JSP page instance from a page being destroyed

    We have a J2EE app, using Struts + Tiles (build 1.1-b3), running on Win2KPro, Ora9ias v9.0.3. The application is roles-based, and different users see different versions of the same page based on their role authorizations. Occasionally, when multiple

  • How can I remove the credits from the apple ID and import it to another apple ID?

    How can I remove the credits from the apple ID and import it to another apple ID? I want to remove the credit I have from my apple ID to another apple ID. Is there a way?

  • Mac mini can't find laserjet 5000 printer

    My Mac Mini is linked to my printer via ethernet through a router. The computer doesn't "see" the printer. I've gone through print utility in system preferences and the only printer it shows in Adobe pdf. I've tried resetting and still the printer do

  • Path to refnum

    How can I convert path to refnum? Currently I am doing it with Get File Size. But it seems an overkill. Any other simpler way? Have a very nice day!

  • How read the PDF and XML files after Unzipping the folder

    Hi Gurus, I have a zipped folder and i this two types of files .XML and .PDF files. I am able to unzip the folder and reading the .XML files, unable to read the PDF files. I want to send this PDF file to the target as it is. Please help me. Regards S