SqlDeveloper copy database

Hello guys,
i am getting crazy. I have an new server with Oracle 11g (11.2.0.1.0) and one (that i have used for testing) with Oracle XE (11.2.0.2.0).
Now i want to copy all the data from the testing server to the new server. I tried it with the Databasecopy-Tool from SQLDeveloper. This doesn't work because my target database is to old.
What can i do? Is there another easy way to copy data or can i disable the versioncheck in the sqdeveloper?
Greetz

I am getting the following "error" in my DatabaseCopy log in the head:
The Target Database 11.2.0.1.0 is an older version than the source 11.2.0.2.0.
And then there came the ddl in the log. But nothing is copied.

Similar Messages

  • Error in last step of copy database wizard

    Hi All,
    I am getting below mentioned error in copy database wizard. I am using SSMS 2012 to copy a database from one server to another server using attach and detach method. Been stuck in this issue for quite sometime. Please provide your insights...
    Event Name: OnError
     Message: An error occurred while transferring data. See the inner exception for details.
    StackTrace:    at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()
       at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferExtraObjectsViaSmoTransfer()
    InnerException-->There is already an object named 'spt_values' in the database.
    StackTrace:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.SqlServer.Management.Smo.Transfer.ExecuteStatements(SqlConnection destinationConnection, IEnumerable`1 statements, SqlTransaction transaction)
       at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()
     Operator: EMEA\INCHEJAI
     Source Name: CDW_BIE-WV200_xxxx_xxxx_35
     Source ID: {xxx-xxx-xxx-xxx-xxx}
     Execution ID: {xxx-xxx-xxx-xxx-xxx}
     Start Time: 24.09.2014 10:38:37
     End Time: 24.09.2014 10:38:37
     Data Code: 0
    P.S - I am able to query and fetch the results for "select * from master.dbo.spt_values;"
    in both my SOURCE and DESTINATION databases. 
    But the table name is not visible under System databases--> master --> Tables --> System Tables in my DESTINATION database alone.
    Thanks,
    DeeJay007

    Hi,
    Thanks for your response :). When I tried to attach the the database (.mdf and .ldf) and create a new database in DESTINATION server, it works fine. Only using "Copy database wizard" I face this problem. I am attempting this functionality from
    the SQL Server 2012 instance
    The Instances are not in same version. Find the specific details below for @@Version.
    SOURCE Server Instance
    Microsoft SQL Server 2008 (SP3) - 10.0.5500.0 (X64) 
    Sep 21 2011 22:45:45 
    Copyright (c) 1988-2008 Microsoft Corporation
    Standard Edition (64-bit) on Windows NT 6.0 <X64> (Build 6002: Service Pack 2) (VM)
    DESTINATION Server Instance
    Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) 
    Oct 19 2012 13:38:57 
    Copyright (c) Microsoft Corporation
    Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    When you use the copy database functionality, your database gets upgraded to match the destination server version. The database cannot be downgraded, which is fine in your case. It could be a bug in the upgrade process between these two specific sql server
    versions though.
    Can you make a test with another destination instance, with the same version as the original destination (2012 SP1) just to rule out the possibility of system database corruption?
    Does this happen with only a single database, or does the wizzard fail for any database you try to copy?
    I have the "u_tables.sql" file which has the scripts for some master database tables. In the process of trying to rebuild the system database and if I lose the master DB contents, will executing the "u_tables.sql" be sufficient to restore
    the details?? Many DB's are available in the server, so the risk is very high.
    No. However, your application databases won't be affected. You'll lose all your server objects, including but not limited to logins, linked servers, backup triggers, server roles, etc. You'll also lose the contents of the msdb database (jobs, database mail
    configurations, backup history, maintenance plans, etc). Please refer to the article I sent you for more information. It contains safety instructions on how to backup most of these objects.
    Try to do the tests I suggested above before rebuilding your system databases.
    Is there any restrictions for "Copy database wizard" which I am missing here?
    No I dont think so. Based on the information you provided, it should be working.

  • COPY DATABASE ON THE SAME UNIX MACHINE

    제품 : ORACLE SERVER
    작성날짜 : 1997-10-10
    INTRODUCTION
    The following article deals with creating a copy of a database on the same
    unix machine. A database might need to be copied in order to duplicate the
    production system, for example for testing purposes. It is recommended that
    the reader refer also to the following documentation:
    -Oracle 7 Server Administrators Guide
    Performing full backups: Chapter 18 page 18-7
    OVERVIEW OF PROCEDURE
    Before copying the database to a new location, it is necessary to perform
    a full cold backup of the database, whilst the database is shutdown. This
    will ensure that no data will be lost if the copying of the database is
    unsuccessful.
    WARNING
    Creating a copy of a database involves usage of the CREATE CONTROLFILE command
    (explained below). If this command is not executed correctly it could corrupt
    the production database. If this happens, and if the files in question are
    important, this will mean that the original database will need to be restored
    from a backup.
    Note: If you are using Oracle 7.1.6 on Sun Solaris 2.X there is a serious
    bug with CREATE CONTROLFILE. Call Oracle Worldwide Support asking for
    details of <Bug:274054> before proceeding.
    1. OBTAIN DATABASE INFORMATION FROM CONTROLFILE
    In order to move the database, it is necessary to create a script containing
    information about the files of the database.
    This is done by executing the following commands.
    a. SQLDBA
    b. CONNECT INTERNAL, STARTUP MOUNT
    c. ALTER DATABASE BACKUP CONTROLFILE TO TRACE RESETLOGS;
    This will create a trace file in the trace file directory. The file
    will have the extension .trc, and is located either in the directory
    defined by the initialization parameter 'user_dump_dest', or, if
    this is not defined, in ORACLE_HOME/rdbms/log. The file should be
    copied to a name such as ccf<NEW_SID>.sql, where <NEW_SID> is to be
    the ORACLE_SID of the copied database.
    2. IDENTIFY FILES TO BACKUP/COPY
    a. Identify database and log files
    The CREATE CONTROLFILE command in the file ccf<NEW_SID>.sql can then be
    used to identify the various database files and redo log files that need
    to be backed up. The file names will be in single quotes and separated
    by commas after the words LOGFILE and DATAFILE, e.g:
    CREATE CONTROLFILE REUSE DATABASE "FRITZ" RESETLOGS ARCHIVELOG
    MAXLOGFILES 6
    MAXLOGMEMBERS 2
    MAXDATAFILES 10
    MAXINSTANCES 1
    MAXLOGHISTORY 100
    LOGFILE
    GROUP 1 (
    '/oracle/tberryha/fritz/log_disk1/fritzlog1v713.dbf',
    '/oracle/tberryha/fritz/log_disk2/fritzlog1v713.dbf'
    ) SIZE 50K,
    GROUP 2 (
    '/oracle/tberryha/fritz/log_disk1/fritzlog2v713.dbf',
    '/oracle/tberryha/fritz/log_disk2/fritzlog2v713.dbf'
    ) SIZE 50K
    DATAFILE
    '/oracle/tberryha/fritz/fritz_system/fritz_system01.dbf' SIZE 8M,
    '/oracle/tberryha/fritz/fritz_data/fritz_data01.dbf' SIZE 20M,
    '/oracle/tberryha/fritz/fritz_rollback/fritz_rollback01.dbf' SIZE 20M,
    '/oracle/tberryha/fritz/fritz_temp/fritz_temp01.dbf' SIZE 20M,
    '/oracle/tberryha/fritz/fritz_data/fritz_data02.dbf' SIZE 5M,
    '/oracle/d2/V7141/dbs/x' SIZE 1M
    It is also possible to obtain a listing of the files of the database
    by executing the following sql commands:
    SQLPLUS username/password
    Note: The user must have sufficient privileges to be able to see
    the dba views 'sys.dba_data_files', 'sys.v$logfile' and in addition
    the database must be open.
    SPOOL files.log
    SELECT file_name FROM sys.dba_data_files ORDER BY tablespace_name;
    SELECT member FROM sys.v$logfile
    SPOOL OFF
    Note: This will create a spool file called 'files.log' which
    will record the results of the previous commands.
    b. Identify controlfiles
    This can be done either by referring to the init<SID>.ora
    'control_files' parameter, or from 7.0.16 onwards, the table
    sys.v$controlfile can be used to identify the controlfiles of the
    database via the following statement:
    SPOOL control.log
    SELECT name FROM v$controlfile;
    SPOOL OFF
    This will create a file called control.log in the current directory
    which will contain the names of the controlfiles for the database.
    3. BACKUP EXISTING DATABASE
    Shutdown instance via SQLDBA, SHUTDOWN NORMAL, and then take full cold
    backup of:
    a. All the files identified in step 2 above.
    b. All parameter files.
    Note: the main parameter file will usually be called init<SID>.ora, in
    addition to which there may also be other parameter files. These will
    be identified by 'ifile' (included file) parameters in the init<SID>.ora.
    These additional parameter files are usually called config<SID>.ora.
    4. MAKE A COPY OF THE DATABASE
    Copy all parameter files, controlfiles, and all files noted in step 1 above
    to their new location taking care to preserve ownership and permissions.
    When the database has been copied, it will not be possible to use the same
    SID and therefore the ORACLE_SID environment variable must
    be changed to a new SID, and the copied init<SID>.ora must be
    renamed to init<NEW_SID>.ora, and any parameter files pointed to by an
    'ifile' parameter (e.g. parameter files such as config<SID>.ora) should be
    renamed to incorporate the NEW_SID (i.e. config<NEW_SID>.ora).
    5. SET UP PARAMETER FILES FOR THE COPIED DATABASE
    Edit the value of the control_files parameter in the init<NEW_SID>.ora to be
    the name and location that you want to use for the new control files.
    The controlfiles should be given a different name to distinguish them from
    the old database. In addition, change the DB_NAME parameter in the
    init<NEW_SID>.ora to be an appropriate name for the new database. Any
    'ifile' parameters of the parameter file will need to be edited to point to
    the new name of the include file in the new location.
    6. PREPARE THE 'CREATE CONTROLFILE COMMAND' FOR THE COPIED DATABASE
    In order to establish the new database in the new location, the CREATE
    CONTROLFILE command in the file ccf<NEW_SID>.sql should be executed. The
    following steps illustrate how CREATE CONTROLFILE command is prepared.
    a. The file ccf<NEW_SID>.sql must be edited before use. The CREATE
    CONTROLFILE command will be preceded by a series of comments and a
    STARTUP NOMOUNT command. These need to be stripped out of the file. In
    addition, after the create controlfile command, there will be a number
    of comments and the commands RECOVER DATABASE and ALTER DATABASE OPEN,
    which should also be stripped out, leaving just the create controlfile
    command itself.
    b. The CREATE CONTROLFILE command itself should also be edited. Change
    the CREATE CONTROLFILE command in 'ccf<NEW_SID>.sql' to have the new
    database name, and add the word 'SET', e.g:
    CREATE CONTROLFILE REUSE DATABASE "olddbname" RESETLOGS
    becomes
    CREATE CONTROLFILE REUSE set DATABASE "newdbname" RESETLOGS
    c. The CREATE CONTROLFILE command also specifies the files which make up
    the database, and these must also be changed to name the files of the
    new database in the new location, e.g:
    LOGFILE
    GROUP 1 (
    '/old_path/old_logfile_name1',
    '/old_path/old_logfile_name2'
    ) SIZE 50k
    would become:
    LOGFILE
    GROUP 1 (
    '/new_path/new_logfile_name1',
    '/new_path/new_logfile_name2'
    ) SIZE 50k
    and
    DATAFILE
    '/old_path/old_file_name1' SIZE 5M,
    '/old_path/old_file_name2' SIZE 10M
    would become:
    DATAFILE
    '/new_path/new_file_name1' SIZE 5M,
    '/new_path/new_file_name2' SIZE 10M
    7. EXECUTE THE 'CREATE CONTROLFILE' COMMAND FOR THE COPIED DATABASE
    Having prepared the create controlfile script, it is now necessary to run
    the script from within the new instance. This is done by executing the
    following:
    a. at the operating system prompt, change the value of the environment
    variable ORACLE_SID from OLD_SID to NEW_SID. This can be done by using
    the following unix command from within the C shell:
    %setenv ORACLE_SID NEW_SID
    b. SQLDBA
    c. CONNECT INTERNAL, STARTUP NOMOUNT PFILE=/<full path>/init<NEW_SID>.ora
    d. @ccf<NEW_SID>
    Note: if any files which should be specified in the CREATE CONTROLFILE
    command are omitted, these files cannot be added to the new database
    at a later date. In addition, if any of the files specified in the
    CREATE CONTROLFILE command are NOT changed from their original names,
    then the corresponding files of the original database will become part
    of the copied database, and it will not be possible to restore them to
    the original database. If this happens, and if the files in question
    are important, this will mean that the original database will need to
    be restored from a backup.
    e. ALTER DATABASE OPEN RESETLOGS
    8. MAKE A FULL COLD BACKUP OF THE COPIED DATABASE
    SHUTDOWN and take a full cold backup of the database in the new location.
    The full cold backup can be done as detailed in steps 2 and 3.

    Yes.
    vipul wrote:
    >
    Thanks Peter,
    But in such a case do we need to configure the WSL in the ubb file and set environment
    variables like WSNADDR, WSENVFILE etc .etc. for the WS client.
    Regards
    Vipul.
    Peter Holditch <[email protected]> wrote:
    vipul,
    Yes.
    In fact, you don't even need 2 installs. If you do a server installation
    of
    Tuxedo onto your UNIX machine, and build all the clients with the buildlcient
    -w
    option, then the clients will use /WS libraries, instead of the native
    ones, to
    contact Tuxedo.
    Regards,
    Peter.
    vipul wrote:
    Can I install Tuxedo/T server and Tuxedo/WS on the same UNIX machinein different
    directories
    and make the application behave like a client-server. In such a casecan we make
    the clients act
    like WS clients and not native clients.

  • Copy Database Wizard error: Enumerate subsystems failed for JobServer

    Hi, non-SQL person looking for some guidance. I'm trying to copy databases with permissions from a Win2008 server with SQL2008R2 to a Win2012 server with SQL2012. I'm running SSMS on the 2012 instance, and intiating the Copy Wizard from there. I'm getting
    the following error. Thanks.
    TITLE: Copy Database Wizard
    Enumerate subsystems failed for JobServer 'Win2012serverSQL2012'.
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.3401.0+((SQL11_SP1_QFE-CU).140109-1303+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Enumerate+subsystems+JobServer&LinkId=20476
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    The EXECUTE permission was denied on the object 'sp_enum_sqlagent_subsystems', database 'msdb', schema 'dbo'. (Microsoft SQL Server, Error: 229)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.3401&EvtSrc=MSSQLServer&EvtID=229&LinkId=20476

    TITLE: Copy Database Wizard
    Create failed for JobStep 'NAME_CDW_2008ServerName_Win2012serverSQL2012'.
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000.0+((KJ_PCU_Main).120628-0827+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+JobStep&LinkId=20476
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    The @flags parameter is not valid for a job step of type 'SSIS'. (Microsoft SQL Server, Error: 14545)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.00.3401&EvtSrc=MSSQLServer&EvtID=14545&LinkId=20476
    BUTTONS:
    OK
    Hi scogordo,
    From your description, are you using SSMS 2008 R2 to perform the copy action?  I make a test on my computer, and get the same error as yours. To work around this issue, please use SSMS 2012 to copy database from SQL Server 2008 R2 to SQL Server 2012.
    There is a feedback to Microsoft about the issue for your reference.
    https://connect.microsoft.com/SQLServer/feedback/details/810037/copy-database-fails-when-copying-database-from-sql-server-2008-r2-sp2-to-sql-server-2012-sp1 
    Thanks,
    Lydia Zhang

  • SQL 2012 Copy Database Wizard fails

    I am trying to use the Copy Database Wizard in SQL Server 2012
    The host is running SQL Server 2000 (8.00.2066 (SP4)) on a Windows 2003 server
    The destination is SQL Server 2012 running on Windows Server 2012 Standard.
    Its gets to Execute SQL Server Agent Job and fails with this error:
    The job failed. Check the event log on the destination server for details
    Fails at – Execute SQL Server Agent Job
    I've looked at the application log and not sure which errors are relevant. Here are two of them:
    the first is an error, the second a warning.
    Log Name:      Application
    Source:        SQLISPackage110
    Date:          1/9/2015 11:39:24 AM
    Event ID:      12291
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          NT SERVICE\SQLSERVERAGENT
    Computer:      SQL2013
    Description:
    Package "CDW_SQL_SQL2013_7" failed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLISPackage110" />
        <EventID Qualifiers="16385">12291</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-09T16:39:24.000000000Z" />
        <EventRecordID>456924</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SQL2013</Computer>
        <Security UserID="S-1-5-80-344959196-2060754871-2302487193-2804545603-1466107430" />
      </System>
      <EventData>
        <Data>CDW_SQL_SQL2013_7</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          1/9/2015 11:39:26 AM
    Event ID:      208
    Task Category: Job Engine
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      SQL2013
    Description:
    SQL Server Scheduled Job 'CDW_SQL_SQL2013_7_1' (0xDFA5EEDDB2D53A4FB3C7CED04563896E) - Status: Failed - Invoked on: 2015-01-09 11:39:18 - Message: The job failed.  The Job was invoked by User VGBtR3r0WgKjvthk.  The last step to run was step 1 (CDW_SQL_SQL2013_7_1_Step).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">208</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-09T16:39:26.000000000Z" />
        <EventRecordID>456927</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SQL2013</Computer>
        <Security />
      </System>
      <EventData>
        <Data>CDW_SQL_SQL2013_7_1</Data>
        <Data>0xDFA5EEDDB2D53A4FB3C7CED04563896E</Data>
        <Data>Failed</Data>
        <Data>2015-01-09 11:39:18</Data>
        <Data>The job failed.  The Job was invoked by User VGBtR3r0WgKjvthk.  The last step to run was step 1 (CDW_SQL_SQL2013_7_1_Step).</Data>
      </EventData>
    </Event>
    Any ideas would be appreciated. I'm anxious to retire this old SQL 2000 server!
    Mike

    Thanks David.
    is this the log you are looking for:
    Date  1/9/2015 11:39:18 AM
    Log  Job History (CDW_SQL_SQL2013_7_1)
    Step ID  1
    Server  SQL2013
    Job Name  CDW_SQL_SQL2013_7_1
    Step Name  CDW_SQL_SQL2013_7_1_Step
    Duration  00:00:08
    Sql Severity 0
    Sql Message ID 0
    Operator Emailed 
    Operator Net sent 
    Operator Paged 
    Retries Attempted 0
    Message
    Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  11:39:18 AM  Progress:
    2015-01-09 11:39:18.61     Source: sql_SQL2013_Transfer Objects Task      Task just started the execution.: 0% complete  End Progress  Error: 2015-01-09 11:39:24.50     Code: 0x00000000    
    Source: sql_SQL2013_Transfer Objects Task      Description: An error occurred while transferring data. See the inner exception for details.  StackTrace:    at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()    
    at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferExtraObjectsViaSmoTransfer()  InnerException-->The specified schema name "INFORMATION_SCHEMA" either does not exist or you do not have permission to use it. 
    StackTrace:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
    stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
    stateObj, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1
    completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.SqlServer.Management.Smo.Transfer.ExecuteStatements(SqlConnection
    destinationConnection, IEnumerable`1 statements, SqlTransaction transaction)     at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()  End Error  Progress: 2015-01-09 11:39:24.50     Source: sql_SQL2013_Transfer
    Objects Task      Database transfer failed for one or more extra objects.: 0% complete  End Progress  Progress: 2015-01-09 11:39:24.50     Source: sql_SQL2013_Transfer Objects Task     
    Transfer objects finished execution.: 100% complete  End Progress  Warning: 2015-01-09 11:39:24.52     Code: 0x80019002     Source: CDW_SQL_SQL2013_7      Description: SSIS Warning
    Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change
    the MaximumErrorCount or fix the errors.  End Warning  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  11:39:18 AM  Finished: 11:39:24 AM  Elapsed:  6.062 seconds.  The package execution failed. 
    The step failed.
    I will also look into backup/restore. Will that work between 2000 and 2012?

  • Acitivites  R/3 quality and BW qualilty in case of System copy(database )

    Hi,
    We have carried out system copy (database copy )  to refresh r/3 qualtiy server from r/3 production server.
    client no of r3/ qulaity is same (earlier it was 500 and and after system copy also it is ketp same ie 500).
    Now we want to know what are the acitivites that are required to be carried out in  R/3 quality and BW quality as we want to refesh data in  bw quality.
    we already have source system RQ1CLNT500  in BW under SAP node and on running check connection option it show message "source system connection RQ1CLNT500 OK.
    But still when we want to fetch data in PSA it shows following message
    "No transfer structure is available for InfoSource 0FS_PORTFOL_TEXT in the source system"
    can anybody guide us to solve the problem
    Thanks and Regards
    Deepak Deshpande
    LIC of India,

    Hi ,
    This is common issue comes due to upgrade /system copy .
          This is caused because table ROOSGEN does not contain an entry for the erroneous Datasource.
          The entries in ROOSGEN table are generated in $TMP (Temporary package) and sometimes after upgrade, they disappear.
          It happen if the extract structure of a DataSource gets a new timestamp we often enhance DataSources between different releases,upgrades .
         so the normal procedure should be to replicate the DataSources into BW in order to get the currently valid set of metadata. Solution:
    In case of 7.0 DataSources, you need to reactivate them by using the program RSZ_DATASOURCES_ACTIVATE_ALL and if the issue occurs for few datasources, they can be activated manually also.
    regards,
    Jaya Tiwari

  • Unable to copy database with different name in the same instance

    I had a huge database and wanted to try some change optimization changes.
    So wanted to make a copy of the database along with data in the same instance.
    I have tried copy database wizard several times but always see the error as in attachment.
    Can someone let me know how to troubleshoot further?
    If this is not the correct way please suggest how do i copy a database with different name in the same instance along with data.

    Hi Nandu,
    From the screenshot, the error 1813 happens when corrupt database log is attempted to attach to the SQL Server. To work around this issue, please preform the following steps, for more details, please review this
    blog.
    1. Create a new database with same name which you want to recover. Make sure that the MDF file and LDF file have same name with previous database data and log file.
    2. Stop SQL Server. Move original MDF file from old location to new location by replacing just created MDF file. Delete the LDF file of new location just created.
    3. Start SQL Server. At this point, the database is in suspect status.
    4. Make sure that system tables of Master database allows to update the values. Please note that you will be performing this in query window.
    Use Master
    go
    sp_configure 'allow updates',1
    reconfigure with override
    go
    5. Change database mode to emergency mode.
    SELECT *
    FROM sysdatabases
    WHERE name = 'DatabaseName'
    BEGIN
    UPDATE sysdatabases
    SET status = 32768
    WHERE name = ' DatabaseName '
    COMMIT TRAN
    6. Restart SQL Server. Then execute the following DBCC command in query window to create new log file.
    DBCC TRACEON (3604)
    DBCC REBUILD_LOG(databasename,'c:\yourdatabasename_log.ldf')
    GO
    7. Reset the database status using following command.
    sp_RESETSTATUS yourdatabasename
    GO
    8. Turn off the update to system tables of Master database running following script.
    USE MASTER
    GO
    sp_CONFIGURE 'allow updates',0
    RECONFIGURE WITH OVERRIDE
    GO
    9. Reset the database status to previous status.
    BEGIN
    UPDATE sysdatabases
    SET status = (value retrieved in first query of step 5)
    WHERE name = 'DatabaseName‘
    COMMIT TRAN
    GO
    Make sure that you have done all the steps in order and restarted SQL Server where it is mentioned. Also run SQL Server Management Studio as administrator.(Right click-> Run as Administrator)
    Thanks,
    Lydia Zhang

  • 2008 r2 Copy Database Wizard Error code 0x80004005 (login timeout expired).

    While on copy database wizard, step Configure the package I
    get this error:
    while trying to find a folder on sql an ole db error was encountered with error code 0x80004005 (login timeout expired).
    If I try to run it any way, I got the following in the Execute stage:
    the job failed. check the event log on the destination server for details
    In the destination server, job history:
    Message
    Executed as user: WORKGROUP\servername$. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.1600.1
    for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  3:26:57 PM  Could not load package "package name omitted" because of error 0xC0014062.  Description: The LoadFromSQLServer method
    has encountered OLE DB error code 0x80004005 (Login timeout expired).  The SQL statement that was issued has failed.  Source:   Started:  3:26:57 PM  Finished: 3:27:44 PM  Elapsed:  47.83 seconds.  The package could
    not be loaded.  The step failed.
    I check the job permission with the integration service connection. try with default and with db_ssisadmin. 
    other info:
    Source: Other SQL Server Version, Microsoft SQL Server Enterprise Edition , Build 1617, Microsoft Windows NT 6.0 (6002) NT INTEL X86
    Destination:  Other SQL Server Version, Microsoft SQL Server Data Center Edition (64-bit) , Build 1600, Microsoft Windows NT 6.1 (7601) NT
    x64 Using SMO online transfer

    Hi kexinger,
    This issue might be caused by the insufficient permission for the SQL Agent account, please check the SQL Agent service account has sufficient permissions to the various folders. For detail information, please take a look at the following article:
    http://mattsql.wordpress.com/2014/01/06/quick-tip-could-not-load-package-xxx-because-of-error-0xc0014062/
    If you have any feedback on our support, please click
    here.
    Elvis Long
    TechNet Community Support

  • CHARM and System Copy (Database Copy)

    Dear All,
    Does anyone have experience on managing System Copy (Database Copy) on the SAP Landscape which are implementing Centralize CHARM on Solution Manager?
    <b><u>Case:</u></b>
    Transport route : DEV --> QAS --> PRD
    CHARM centralize managed in: SLM.
    Now, QAS will be refreshed from PRD (by Database Copy) .
    How to ensure the following will be kept consistence:
    1. IMG Status on satelite systems
    2. SMI Project data linked to satelite systems
    3. Support Desk data (Support/notification messages, Business
    Partner,iBase,etc) related with CHARM linked to satelite systems
    4. Status of SMI Project cycle data linked to satelite systems
    I have tried it on Simulation landscape, seems many manually steps need to be done (eg. Redo all RFC definitions to the refreshed system) and some of above data are inconsistence ..
    Thanks and regards,
    Hery

    Dear Hery,
    Please refer to SAP Note 985692 "Copying a satellite system: Change
    Management". This note provide all the required information.
    I hope that it answers most of your queries as well.
    Regards
    Amit

  • " The job failed" in copying database SQL SERVER 2012

    I'm trying to copy a database. When going through the Copy Database Wizard, I'm getting a Execute SQL Server Agent Job error. The error states " The job failed. Check the event log on the destination server for details". See below:
    Performing operation
    Add log for package (Success)
    Add task for transferring database objects (Success)
    Create package (Success)
    Start SQL Server Agent Job (Success)
    Execute SQL Server Agent Job (Error) Messages
    The job failed. Check the event log on the destination server for details. (Copy Database Wizard)
    I can't seem to find what causing this problem. Am I using the correct approach? I just need to copy this database. Thank in advance.

    Hi mohammad2050,
    When using Copy Database Wizard, please make sure that the SQL Server Agent account or Integration Services Proxy account is a member of sysadmin fixed server role, and has access permission on both of source and target file system.
    There is a blog about using SQL Server Copy Database Wizard for your reference .
    http://reddy25.blogspot.com/2013/12/copy-database-from-one-server-to.html
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Substitution pop-ups while trying to copy database

    I'm trying to use the "copy database" tool but some of my data contains ampersands (&) which is causing Sql Developer to open the substitution variable pop-up box. If I was in a worksheet I could do "set define off". How can I shut off substitution while doing a "copy database"?

    That depends on how you run your application.
    on the console call "java -X" to get information about the supported parameters of your JVM.
    If you are running tomcat you can use the environment variable "JAVA_OPTS" to increase the heap size.
    for example on unix like systems it would be:
    export JAVA_OPTS=-Xmx512M
    catalina.sh runor on windows systems
    set JAVA_OPTS=-Xmx512M
    catalina.bat runIf you use a different application server the way to increase the heap size
    may be different.

  • Hi Experts ,how to copy database schema without data ? very urgent...*****

    Hi experts,
    How to copying database without Data.
    Its very urgent..pls help out me......
    Thanks
    Vijay

    Use Transfer database objects task or script the objects out using generate scripts wizard from SSMS and apply them in the new server
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Copying database access with App copy

    I have few applications that I need to copy (COPYAPP) including the security like user access to the databases but this is not getting done when I use COPYAPP esscmd.Any help/suggestion will be appreciated.Mohammad G

    I have tried Copying database from source A to destination B but still the users who has access to database A don't have access to database B.Anyone else???MG.

  • Copying database objects and data from one server database to another server database in AG group

    Hi,
    I am still trying to wrap my head around sql clusters and AGs and I have a project that requires I take a vendor's database and restore it weekly so its available on the production server which is clustered.
    The vendor's database on the cluster is in an AG group and encrypted.
    Right now, I plan to restore the database on a sql staging server and use the SSIS Transfer SQL Server Objects Task to copy the table structure and data from Stage to the Production database of same name and I would first drop the objects in production
    database using the same task.
    I am concerned that this might cause issues with the passive cluster due to "logging" from active to passive. The database is about 260 MBs and I am not sure how many tables.
    Has anyone run into this type of scenario before or have a better solution?
    Thanks
    Sue

    IF I understand anything about clustered sql and logging, the sql server should take the log file and recreate the same scenario on the passive side of the cluster.
    Is that correct?
    Hi Sue,
    Yes, for AlwaysOn Availability Group, the transaction log is basically replayed from the primary to all of the secondary's.
    Besides, from my point of view, as we cannot directly restore a database that is part of an Availability Group, it is a good way using SSIS task to drop and recreate all tables then transfer data from the restored database to the primary replica. Schema changes
    and data changes will also happen on the secondary  replica.
    There are some similar links for your reference.
    http://dba.stackexchange.com/questions/21404/do-schema-changes-break-sql-server-2012-alwayson-or-are-they-handled-transpare
    http://blogs.msdn.com/b/sqlgardner/archive/2012/08/28/sql-2012-alwayson-and-backups-part-3-restore.aspx
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Healthy copy of mailbox Database in DAG acting as a seeding source for another Healthy copy Database in DAG

    Overview of the architecture
    We have Site (Primary & DR)
    2 Database copies in primary site and 1 Database on the DR site (Primary site 2 copies one mounted and second healthy & on the DR site one healthy copy of Database)
    Recently Due to Network Problem the DR copy got in to the easyncronous state and was removed from the DAG.
    As company does not want the downtime we have followed the below steps to Restore Database at DR site.
    1)Stopped the backup to Not trucate the log file
    2)Took Full backup and in the restore mode we shipped the full backup to the DR site.
    3)As the above process needs 2 days, manually copied the some Logs to the DR site (IN some drive as much possible to reduce seed time)
    4)Added the mailbox database of the DR site back in the DAG as its seeds from the start, we manually suspend the process post the Database folder hierrachy  gets created
    5)Added the EDB and logs files in the recently created folders
    6)Resumed the Database seed, so only the remaining logs were copied and seeded from primary site to DR site, In some hours DR site databse became healhty with no copy queue and replay queue.
    7)trucated the logs which synced using DAG
    Now Dag has copies as initial setup but the since we followed the above process the primary site healthy copy is acting as the seed-source and logs not truncating for the database
    When restarts the Replication services on the Primary site server with healthy the state becomes healthy but again after some time it becomes seed- source.
    Wanted to know when DR site copy is in healthy state why its acting as a seed-source continueously
    Need Experts advice in manage Database copies in healthy state...
    Thanks in Advance

    Hi,
    Based on your description, sometimes the content index state of passive database copy in primary site is healthy, but sometimes the state is crawling.
    You can use the following command to reseed the catalog only to check result.
    Update-MailboxDatabaseCopy -Identity Database -SourceServer EX -CatalogOnly
    Best regards,
    Belinda Ma
    TechNet Community Support

Maybe you are looking for

  • Hyperlink to a webpage in a media widget caption

    Is there a way to make a link to an external website in caption text? I inserted a media widget and a video clip. Below the clip is the text caption of the talking head speaker's name and a line of text describing what he is saying. I'm trying to cre

  • Excise duty calculation on Assessable value in PO

    Dear Team, We are facing critical issue in Excise Duty calculation, Excise is calculating on basic price for our normal procurement and we are selling the same at MRP cost... Now the issue is Excise Duty has to be calculated on Assessable value (65%

  • Create Midlet for Bluetooth A2DP profile

    Hello, I'm a newbie. I would like to know if it's possible to create a midlet for bluetooth A2DP profile. If it is, please let me know where i can get information on this. Thank you so much, Ken

  • Report showing GL Accountwise Open, Reciept,Issue,and  Closed Value

    Hi.,        i want to do a report that shows GL Accountwise Open, Reciept,Issue,and  Closed Value based on Posting Date. Is there any standard report available.Please guide me how to do this.Please tell me the list tables to be accessed . Regards., S

  • Basic ~/.bashrc ~/.bash_profile tips thread

    A lot of this is borrowed from other sites, including the wiki This by no means all-inclusive, please add on anything interesting along this topic About ~/.bash_profile and ~/.bashrc disclaimer:  I don't use ~/.bash_profile or ~/.profile there is ple