Migration of existing users to new database

Hi,
I am using weblogic portal server 7.0. I have configured my domain database
to oracle 8.1.7. from pointbase (which is default).
It's configuration has been done successfully. That means if i create new
user now it goes to oracle. But what about my existing users in my point base
database which i have created previously.
Is there any way to migrate users, groups from point base to new oracle instance?
Thanks & Regards,
Satish.

What version of Exchange?
How are you checking white space?
Are you using -AvaialbleNewMailbox space?  If so then read this please
http://blogs.technet.com/b/rmilne/archive/2013/08/20/how-to-check-database-white-space-in-exchange.aspx
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne 
Twitter:   LinkedIn:
  Facebook:
  XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Similar Messages

  • Cannot migrate exchange 2013 user to another database through EMC, only powershell works?

    Hi Everyone,
    I'm trying to migrate a few mailboxes from a database called "primary" to "archive". I can migrate a single user through powershell, however I cannot migrate users through the GUI. When the "syncing" starts, it reverts the total
    from "2" to "0" and makes it appear as though I never added any users to the batch job. The job then completes "successfully"
    I can see the users in the job before I hit start. Any idea why my job goes blank?
    I'm running exchange 2013 CU6

    Hi ,
    Thank you for your question.
    We could refer to the following steps to troubleshoot:
    Restart IIS to check if the issue persist.
    End up of the user job to check if the issue persist.
    Create a new account to check if the issue persist.
    We could check relevant application log, then we could check if EAC and EMS connect to same domain controller, then we could check sync between Exchange server and domain controller.
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

  • Migrating my existing customization to new Version

    We are upgrading plumtree from version 5.1 to version 5.2.I am in the process of migrating my existing customization code to the new version of plumtree.I am facing certain problems as listed below:The class LoginHelper.java in the package com.plumtree.uiinfrastructure.login which is present in the uiinfrastructure.jar provided by plumtree, has following changes compared to its previous version:The following methods which were public in the version 5.1 are now private in the version 5.2DoTasksBeforeLogin()DoTasksAfterLogin()DoTaskOnFailedLogin()That is why I cannot compile my existing code which uses the above methods.So can you suggest me some alternative.Also GetDefaultPageRedirect() method now returns ILInk instead of Redirect.Can I get some documentation for the changes made in the new version and what are the alternatives?Thanks,

    Ok since this is a pretty broad question and also since I had people laughing at me on the Bind (DNS) mailing list with a separate but related question I will provide some figures if it helps:
    basically I am getting about 500 hits/month from web server and quite a few queries on DNS primary and secondary/day although not quite sure how to measure that.
    The main server which currently I'm using a 1GB memory 3.4GHz PIV machine is doing ok but since I plan to VPN multiple sites in I will most likely need something with more memory although unsure of to go for single or dual socket system.
    I reckon for Scalix and Zimbra a quad core single socket will be ok with round 2-4GB of memory. But I'm still not sure if I would need to go for dual socket systems in my setup unless I virtualize??
    If anyone can at least advise it would be helpful!! Many thanks!

  • How to :Migration from existing 595 into new 595 in RAC?

    Hi all,
    This is the bit complicated task for me(i.e) first let me explain our environment
    We are having 595 two instances (RAC) and 8300 is our storage due to the position we are not able to enhance the memory and CPU in this existing 595 Server.So what we are planning to make another 595 servers with some high configuration?
    Since this is new area for me dont know any idea of how to migrate these into new 595 Servers.
    fy.i storage will not get any change it will be as it is.
    I need any docs or anyone pls share their ideas and steps how they did(suppose if anyone did this already)
    Waiting For your reply.
    Thanks & Regards
    M.Murali..

    If your objective is to replace the exiting 595's with new one's then follow the steps below :-
    1. configure both the new servers (595) for RAC installation - follow the pre-install steps required for installing clusterware etc. e.g. storage, network, ssh etc..
    2. add both the new servers as a "node3" and "node4" into the existing 2-node cluster - follow the "node add" procedure in the documentation
    3. turn-off the first 2 nodes on old servers (node1 and node2)
    4. test your application with only the nodes...
    5. remove the old nodes using "node delete" procedure given in the documentation
    reference - http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/adddelunix.htm#BEICADHD
    - Siba
    http://dbathoughts.blogspot.com

  • Missing Discoverer reports after migrating the EUL to new Database.

    Our Environment is Discoverer Relational- OLTP
    We have recently migrated the source database from Oracle 9.2.0.6 to 10.2.00.0 RAC, this made us to migrate the Discoverer to new database in production.
    Below are the database objects we migrated to new database.
    1. EUL schema
    2. Schemas referred by the Objects in the EUL (schemas containing functions, tables, views etc)
    3. Based on trigger we created to filter active discoverer database accounts, migrated only active database users to new database.
    Note: we had almost 4000 Discoverer users from 2005, since many of these users moved out of company or not using discoverer permanently, and there are users who used discoverer once in year or once in 6 months.
    Finally we come up with 300 Active Discoverer users to be migrated to new database.
    Issues: After migration
    Some of the migrated users did not get their reports migrated which are shared by other users? [Since we didn’t migrate these users schemas as they are not active].
    We have queried the EUL5_DOCUMENTS table in new database for a particular inactive users account (account which is not migrated) is not showing any reports owned by him.
    Since we have migrated EUL schema and active users new database, is this will effect the EUL, [Information related to non active users gets deleted from the EUL in New Database]
    Some users who are not figured in the active migrated list are requesting to get access to discoverer on new database. Can you please suggest the correct way to migrate these accounts.
    Exporting the accounts will work?
    Thanks in advance.
    Sunil

    Kanchana Devasurendra wrote:
    Hi ARS,
    Please check the following item in your new database.
    1. log_archive_max_processes Most properbly value set for this parameter is low ( may be it's set to 1.) Please increase up ( 4)I am curious to know what makes you think 4 is the right magic number for log_archive_max_processes - after all, he's only got one archive destination.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    A general reminder about "Forum Etiquette / Reward Points": http://forums.oracle.com/forums/ann.jspa?annID=718
    If you never mark your questions as answered people will eventually decide that it's not worth trying to answer you because they will never know whether or not their answer has been of any use, or whether you even bothered to read it.
    It is also important to mark answers that you thought helpful - again it lets other people know that you appreciate their help, but it also acts as a pointer for other people when they are researching the same question, moreover it means that when you mark a bad or wrong answer as helpful someone may be prompted to tell you (and the rest of the forum) what's so bad or wrong about the answer you found helpful.

  • Migrating user information between databases

    I am not a oracle DBA but have been placed in the role.
    My situation is as follows I need to migrate all the users from one database to another.
    I am working on Oracle 9i and noticed there is a file called user.dbf that looks like the right one. Is it possible to just move the folder or is there a procedure to follow.
    If anyone knows where to find some good documentation about this task it would be appreciated.
    Thank you in advance
    Lance

    "I am not a oracle DBA but have been placed in the role."
    You should go to the person who did the "placing" and tell them that if they value their data they should arrange for you to be trained properly. Who would this person choose if they needed heart surgery, someone they met down the pub who happens to own a knife ?
    Your suggested method appears to be based on a wild guess and would ruin your database. It is no criticism of yourself, but like everyone else you were not born with DBA knowledge.

  • Change display name for existing users

    Hi,
    We have alot of users in our Active Directory. After an migration our existing users are displaying their name wrong. When we create a new user the display name is set FirstName LastName. But all of our old users have their User logon name as display name.
    Is there a way to change the display name of our old users to FirstName LastName instead of the user logon names they are displaying now? Doing this per user is a hell of a job so this really isn't an option.
    Example:
    Full name: Peter Peterson. User logon name: pepeter. Display name: pepeter. (old user)
    Full name: Tom Thompson. User logon name: tothomp. Display name: Tom Thompson. (new user)
    Greetz,
    Tom

    I have found a script for Powershell that may be the answer to my question. There is only one thing that is not in the script. The script runs for all users. The PageSize is set to 2000 so it runs 2000 entries. Is there a way that I can run this script for
    all Users in AD that start with the letter "A" or with an other letter. :P
    $previewMode = $true #change value to $false ONLY after you have verified the preview!!!
    $CurrentDomain = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()
    $Domain = [System.DirectoryServices.DirectoryEntry]"LDAP://$CurrentDomain"
    $Searcher = New-Object System.DirectoryServices.DirectorySearcher
    $Searcher.PageSize = 2000
    $Searcher.SearchScope = "Subtree"
    $Searcher.Filter = "(&(objectCategory=person)(objectClass=user)(!(objectClass=computer)))"
    $Searcher.PropertiesToLoad.Add("userPrincipalName") > $Null
    $Searcher.PropertiesToLoad.Add("givenName") > $Null
    $Searcher.PropertiesToLoad.Add("sn") > $Null
    $Searcher.PropertiesToLoad.Add("distinguishedName") > $Null
    $Searcher.SearchRoot = "LDAP://" + $Domain.distinguishedName
    $SearchResults = $Searcher.FindAll()
    $dnsSuffix = $CurrentDomain.Name
    foreach ($Result in $SearchResults){
                   $firstName = $Result.Properties.Item("givenName")
                   $lastName = $Result.Properties.Item("sn")
                   $newLogonName = "$firstName $lastName"
                    [System.DirectoryServices.DirectoryEntry]$userObject = $Result.GetDirectoryEntry()
                    $oldLogonName = $userObject.sAMAccountName
        Write-Host "Changing $oldLogonName to $newLogonName..."
        try {
            if (!($previewMode)) {
                       $userObject.cn = $newLogonName           
               $userObject.CommitChanges()
            Write-Host "$oldLogonName successfully changed to $newLogonName."
        catch{
            Write-Host "Error changing $oldLogonName to $newLogonName."

  • How to migrate existing OID user to new OID

    Hi all,
    How do i migrate all existing OID username to new OID server?
    Do i also need to migrate their password?
    Assume i'm using oracle database version 10.2.0.2.0 and how to i know which Oracle Application Server and OID version are certify to Oracle Database version 10.2.0.2.0. Please also let's me know where i can find more detail about this.
    Thanks in advance,
    Kevin

    Kevin,
    export/import can be done using ldifwrite/bulkload see Backup and Restoration of a Directory (http://download-west.oracle.com/docs/cd/B28196_01/idmanage.1014/b15991/backup_restore.htm#i1006559)
    or use ldapsearch/ldapadd
    It's up to you to export/import the userpassword. If you want to force them to create a new password using the new server don't import the password.
    w.r.t. certification you'll need to check the certification matrix found at the bottom of the download section of respective product. e.g. Oracle Application Server 10g R3 (10.1.4) contains OID 10.1.4 here you'll find the link to the certification matrix.
    http://www.oracle.com/technology/software/products/ias/files/idm_certification_101401.html
    or you search for certification and the product version number
    Using a pre-existing DB with OID requires to use RepCA to create the metadata repository into this existing DB before you can point the Oracle Installer during installation to use the then existing MetaData Repository.
    RepCA has dependencies on the DB version to be used. See Oracle Application Server Metadata Repository Creation Assistant Documentation
    http://download-west.oracle.com/docs/cd/B28196_01/getstart.htm
    regards,
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Impact of migrating to a new database on the existing code

    There is a java application that connects to postgreSQL as the database server. postgreSQL is installed under LINUX. I am planning to migrate the existing postgreSQL database to a SQL Server 2000 database under windows. In case of such an action will the application code need to be changed? If yes will it be a major change? Pls advise.

    I left my crystal ball at home today; plus, I've never seen the code for the application in question,so it's kind of hard for me to say. Maybe this is a bit of a stretch, but isn't that what you, as a developer, should be determining? Based on the question(s) in your original post, do you truly believe someone is going to respond with a concrete answer? Do you think everyone but you knows if the application will need to be changed; and, if so, how big of a deal it will be? Come on, give me a break.
    As for a few pointers that might help you come up with some answers:
    - Is the SQL SQL-99 compliant (i.e. least common denominator kind of stuff) or is it postgreSQL-specific?
    - Is the SQL fairly well contained within the code; or better yet in a separate file (.properties or XML)?
    - Are you using any kind of persistence layer?
    Jamie

  • New database for existing user?

    Hi,
    am I right saying that a new schema in Oracle involves a new user to create?
    Say I've got my user already and I just want to create a new schema for this user.
    How can I do it?

    833519 wrote:
    wherever I'm looking I can read this:
    schema
    A named collection of database objects, including logical structures such as tables and indexes. A schema has the name of the database user who owns it.
    ---I don't particularly like that definition.
    A schema can be a logical database - just like a SQL-Server database. For example, the schema HR can be the Human Resources database with tables like employees, departments, payroll and so on.
    A schema can be a user account. Let's say John is the head of a department. A schema can be created for John called JOHN. The HR schema (logical database) can grant select privs to the JOHN schema (user account) on tables and views inside the HR database schema.
    It can even be setup in such a way that JOHN can only see his department's staff in the employees, and payroll tables, and a single row for his department in the departments table (this feature is called virtual private databases).
    The JOHN schema, besides connection to Oracle rights and selection rights on the HR tables, may have no other rights. So no tables, views and other db objects can be created in the JOHN schema.
    The HR schema otoh has the rights to create the db objects. And it may for example not have any create session rights, preventing anyone from directly logging into this schema.
    There may be a .Net application for HR. It uses an application schema in Oracle called HR_APP. It may have certain db objects (such as application log tables, application audit tables, etc). It also will have access to the HR schema's db objects.
    So an Oracle schema can be used in many different ways - providing flexibility way beyond what other database products provide in this regard.
    As for how to use a schema (as a user schema, logical database, app schema, library schema, etc) depends entirely on your requirements - and correctly translating these into secure and flexible Oracle schemas that address these requirements.
    In my understanding this means that if I wanna create two databases (collection of tables), which are called 'schemas' in Oracle I also have to create 2 database users.Yes. But these will be logical database schemas. Not end user schemas. For example, you can create a HR schema for a Human Resources database. You can create a MARKETING schema for the Marketing database. (yes, you will use the CREATE USER command to create these 2 logical database schemas - and you would use the same command to create a user schema, developer schema, or any other type of schema)
    The HR schema can be specifically setup for the HR database requirements. A space quota of 10Gb. The ability to create tables and stored procedures and views.
    Likewise, the MARKETING schema can be setup specifically for marketing. They may need a 50Gb space quota. This database may use object relational features and also need the rights to the SQL advance data types. Etc.
    If you want to use the HR database, you can logon as the HR schema. If you want to use the marketing database, you can logon as the MARKETING schema.
    Or you can create a user schema - and for this schema user to select tables from the HR database, the HR schema needs to grant specific rights (like select, update, delete and insert) to the user schema on those tables.
    Do not let this confuse you. A schema can be many different things, depending on WHAT it can do and HOW it is used. And both these you determine when creating the schema and its rights and its contents (if any).
    As already suggested - read the Concepts Guide. See http://tahiti.oracle.com (Oracle documentation portal).

  • How to create a new user aaa with same rights as existing user bbb ?

    Assume user bbb already exists in Oracla 10g database.
    How can I create a new user aaa with the same rights/permissions as the old user bbb?
    Is this procedure/command also working if the old user is user "system" (=dbadmin)?

    There is some possibilty to generate a EXPDP dump file which contains only DDL statements related to account and
    privileges: EXCLUDE/INCLUDE parameter can help.
    For example, following EXPDP statements seem to work with SYSTEM account:
    expdp / schemas=system content=metadata_only exclude=table,sequence,package,function,procedure,synonym,,type view dumpfile=DPD:system.dmp logfile=DPD:system.log
    Export: Release 10.2.0.2.0 - Production on Thursday, 14 February, 2008 9:41:36
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Starting "OPS$XXX"."SYS_EXPORT_SCHEMA_01":  /******** schemas=system con
    tent=metadata_only exclude=table,sequence,package,function,procedure,synonym,type view dumpfile=DPD:system.dmp logfile=DPD:system.log
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
    Master table "OPS$XXX"."SYS_EXPORT_SCHEMA_01" successfully loaded/unload
    ed
    Dump file set for OPS$XXX.SYS_EXPORT_SCHEMA_01 is:
      C:\TEMP\SYSTEM.DMP
    Job "OPS$XXX"."SYS_EXPORT_SCHEMA_01" successfully completed at 09:41:41
    impdp / sqlfile=dpd:system.sql dumpfile=DPD:system.dmp logfile=DPD:system.logImport: Release 10.2.0.2.0 - Production on Thursday, 14 February, 2008 9:42:46
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Master table "OPS$XXX"."SYS_SQL_FILE_FULL_05" successfully loaded/unload
    ed
    Starting "OPS$XXX"."SYS_SQL_FILE_FULL_05":  /******** sqlfile=dpd:system
    .sql dumpfile=DPD:system.dmp logfile=DPD:system.log
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
    Job "OPS$XXX"."SYS_SQL_FILE_FULL_05" successfully completed at 09:42:50and system.sql is:
    -- CONNECT OPS$XXX
    -- new object type path is: SCHEMA_EXPORT/USER
    -- CONNECT SYSTEM
    ALTER USER "SYSTEM" IDENTIFIED BY VALUES '970BAA5B81930A40'
          TEMPORARY TABLESPACE "TEMP";
    -- new object type path is: SCHEMA_EXPORT/SYSTEM_GRANT
    GRANT GLOBAL QUERY REWRITE TO "SYSTEM";
    GRANT CREATE MATERIALIZED VIEW TO "SYSTEM";
    GRANT SELECT ANY TABLE TO "SYSTEM";
    GRANT CREATE TABLE TO "SYSTEM";
    GRANT UNLIMITED TABLESPACE TO "SYSTEM" WITH ADMIN OPTION;
    -- new object type path is: SCHEMA_EXPORT/ROLE_GRANT
    GRANT "DBA" TO "SYSTEM" WITH ADMIN OPTION;
    GRANT "AQ_ADMINISTRATOR_ROLE" TO "SYSTEM" WITH ADMIN OPTION;
    GRANT "MGMT_USER" TO "SYSTEM";
    -- new object type path is: SCHEMA_EXPORT/DEFAULT_ROLE
    ALTER USER "SYSTEM" DEFAULT ROLE ALL;
    -- new object type path is: SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    BEGIN
    sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CONTEXT('USERENV','CURRENT_SCHEMA'), export_db_name=>'BAS002.REGRESS.RDBMS.DEV.US.ORACLE.COM', inst_scn=>'1456160');
    COMMIT;
    END;
    -- new object type path is: SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
    BEGIN
    SYS.DBMS_AQ_IMP_INTERNAL.CLEANUP_SCHEMA_IMPORT;
    COMMIT;
    END;
    / These export and import steps don't take into account privileges granted on schema objects belonging to another user likely due to to the EXCLUDE statements.
    Message was edited by:
    Pierre Forstmann

  • How to Create new database (copy all table with data excluding 2 table )with existing database.

    Please follow the scenario:
    using C#
    1) current database file name is DB20122013.
    when user click on new year button
    2)Create backup copy of current database
    3)New database should create with all table(excluding table "Dailytemp" and "DailyMain") with data and database name as DB20132014.
    Musakkhir Sayyed.

    Hi,
    I hope, below stored procedure is useful for your scenario.
    CREATE PROC Create_New_Database
    ( @DBNAME VARCHAR(550)
    )AS
    Test : Exec [Create_New_Database] @DBNAME='DB20122013'        
    BEGIN TRY               
    SET NOCOUNT ON   
    DECLARE @sql VARCHAR(MAX), @DBNAME_NEW VARCHAR(550),@num int
    IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME) AND ISNUMERIC(RIGHT(@DBNAME,4))=1
    BEGIN
    SELECT @num= RIGHT(@DBNAME,4) 
    SELECT @DBNAME_NEW='DB'+CAST(@num AS VARCHAR(10))+''+CAST(@num+1 AS VARCHAR(10)) 
    IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME_NEW)
    BEGIN
    SELECT @DBNAME_NEW+' database already exists'
    END
    ELSE
    BEGIN
    SET @sql='USE '+@DBNAME+'  '+' backup database '+@DBNAME+' to disk = ''C:\'+@DBNAME+'.bak''  '
    +' restore database '+@DBNAME_NEW+' from disk = ''C:\'+@DBNAME+'.bak'''
    +' with move '''+@DBNAME+''' to ''C:\'+@DBNAME+'_data.mdf'' ,
    move '''+@DBNAME+'_log'' to ''C:\'+@DBNAME+'_log.log'''
    EXEC (@sql)
    SET @sql=''
    SET @sql=' USE '+@DBNAME_NEW+' IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''Dailytemp'') 
    BEGIN DROP TABLE Dailytemp END IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''DailyMain'') 
    BEGIN DROP TABLE DailyMain END '
    EXEC (@sql)
    END  
    END
    ELSE 
    BEGIN
    SELECT 'Database is now found or Database name does not mach the scenario'
    END
    SET NOCOUNT OFF   
    END TRY   
    BEGIN CATCH                
     DECLARE @ErrorMessage NVARCHAR(4000)                
        DECLARE @ErrorSeverity INT                
        DECLARE @ErrorState INT                           
        SELECT @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE()                
        RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState )                
    END CATCH;   
    GO
    Regards,
    RAMBHARATH

  • Migrating reports to new database schema

    Hi,
    My company has numerous Crystal Reports .RPT files that work against the existing database schema, but we are moving to a new database with a significantly different schema.
    Rather than have to manually recreate new RPT files for all the reports, it would be nice if it would be possible to automate the process.
    I have looked through the documentation for the various Java APIs and am completely confused as to whether this is possible and, if so, the best way to do it.
    Any help would be appreciated.
    Thanks,
    Carl

    I did have Crystal Reports version 9 installed, as well as version XI, but I uninstalled everything and only reinstalled Crystal Reports XI release 2, and I still have the same problem.
    Here is the code I am running:
    package reporting;
    import com.crystaldecisions.sdk.occa.report.data.*;
    import com.crystaldecisions.sdk.occa.report.lib.*;
    import com.crystaldecisions.sdk.occa.report.application.*;
    import java.io.*;
    import java.util.*;
    public class TestReporting3 {
      public TestReporting3() {
      public static void main (String [] p_Args) {
        try {
          String path = "C:\\Samples\\Test3.rpt";
          ReportAppSession ra = new ReportAppSession();
          ra.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");
          ra.setReportAppServer("inproc:jrc");
          ra.initialize();
          ReportClientDocument clientDoc = new ReportClientDocument();
          clientDoc.setReportAppServer(ra.getReportAppServer() );
         clientDoc.open(path, 0);
          ConnectionInfo info = new ConnectionInfo();
          info.setKind(ConnectionInfoKind.SQL);
          info.setPassword("client");
          info.setUserName("client");
          PropertyBag bag = new PropertyBag();
          bag.put("Server Type", "JDBC (JNDI)");
          bag.put("Database DLL", "crdb_jdbc.dll");
          bag.put("Connection String", "Use JDBC=b(true);Connection URL=s(jdbc:derby://localhost:6652/agency;create=true);Database Class Name=s(org.apache.derby.jdbc.ClientDriver);Server=;User ID=s(client);Password=;JDBC Connection String=s(!org.apache.derby.jdbc.ClientDriver!jdbc:derby://localhost:6652/agency;create=true!user={userid}!password={password})");
          bag.put("Use JDBC", "true");
          bag.put("Database Class Name", "org.apache.derby.jdbc.ClientDriver");
          bag.put("Server Name", "jdbc:derby://localhost:6652/agency;create=true");
          bag.put("URI", "!org.apache.derby.jdbc.ClientDriver!jdbc:derby://localhost:6652/agency;create=true!user={userid}!password={password}");
          info.setAttributes(bag);
          clientDoc.getDatabaseController().replaceConnection((IConnectionInfo)clientDoc.getDatabaseController().getConnectionInfos(null).get(0), info, null, 0);
          clientDoc.saveAs("NewTest3.rpt", "C:/Samples", 0);
          System.out.println("Done");
        } catch (Exception ex) {
          ex.printStackTrace();
    The exception is being thrown by the line clientDoc.getDatabaseController().replaceConnection(...);
    Regards,
    Carl

  • Cannot connect as a new user to second database from SQLPLUS

    Hello,
    I've created a new database with CREATEDB POLITE jantest.
    I connected via sqlplus as system/mgr@ODBC:POLITE:jantest. This
    works fine, I run de poldemo.sql file and that worked fine also.
    Then I created a user jan identified by jan. Then I tried to
    connect to this user with SQLPLUS as
    jan/jan@ODBC:POLITE:jantest. I get an error message that the
    user does not exist. Then I tried to connect as
    scott/tiger@ODBC:POLITE:jantest. This worked, however is was
    then connected to the default 'polite' database.
    Has anyone experienced the same kind of weird problems.
    null

    Jan Boersma (guest) wrote:
    : Hello,
    : I've created a new database with CREATEDB POLITE jantest.
    : I connected via sqlplus as system/mgr@ODBC:POLITE:jantest. This
    : works fine, I run de poldemo.sql file and that worked fine
    also.
    : Then I created a user jan identified by jan. Then I tried to
    : connect to this user with SQLPLUS as
    : jan/jan@ODBC:POLITE:jantest. I get an error message that the
    : user does not exist. Then I tried to connect as
    : scott/tiger@ODBC:POLITE:jantest. This worked, however is was
    : then connected to the default 'polite' database.
    : Has anyone experienced the same kind of weird problems.
    Response:
    when you create a database under oracle lite, you first
    configure this database via ODBC(for example give to this
    database a sourcename jan) then connect to this database using
    system/manager@jan. Thenafter you should grant previllege ddl to
    user jan before connecting :
    grant ddl to jan
    and now you can connect using : connect jan/jan@jan
    null

  • Two of me as admin users in new MBA causes permissions issues after setup and migration

    Normally I migrate to new Macs via firewire target mode. Flash forward to a new MacBook Air with no firewire.
    I think I made a mistake in migration. I began setup as a new owner of the brand new MBA, then migrated my existing G4 PowerBook contents using Time Machine via USB.
    The end result is that I have two accounts that represent me on the new MBA; the one I was guided into setting up when I first powered the MBA up, and the old user account from the PB. Although both are admin accounts, I have access to only some files when logged in as either admin. I tried repairing permissions, but no go. It also seems to hide files from the other account when searching in Spotlight.
    It seems the only fix may be to do this all over again without setting up a new account in the MBA, but is that even possible? What would be the best way out of this mess so that I have one admin account with access to new files created under the new user and old files from the old PB user, as well as full permissions for all documents?

    I concur with Colin: start over and use Setup Assistant. I used Migration Assistant once and it took me a week to clear up the mess. Although the two are basically the same process, by the time you use MA you already have an account established - hence the duplications - whereas SA moves over and creates one account.
    And, for Colin:
    looks like the OP inserted an impage/jpg of his post?

Maybe you are looking for