Creating Repository from using Archive file (.a2a)

Hello,
I Archived a repository from MDM 5.5 SP4 running on Oracle.
Can I create a repository using that Archived (.a2a) file in MDM 5.5 SP5 running on SQL Server ?
Is it possible to create like that? Note: Database is different and MDM version is different.
Thanks!

Prashant -
Thanks for your response. I am trying to create a repository in MDM 5.5 SP5 (SQL Server DB) using an Archive file from MDM 5.5 SP4 (Oracle DB) and I get the below information in the mds log file. I am unable to create the repository.
4248 2011/06/19 10:21:14.734 GMT ErrorRecord->HResult/NativeErr: 0x80040e21/0
Description: Invalid character value for cast specification.
Source/File/Line: Microsoft OLE DB Provider for SQL Server/.\OLEDB_DBConnection.cpp/2438
4248 2011/06/19 10:21:15.062 GMT UnArchiving operation for Customer Master CM1 ended in error
Any idea why this is so?
Thanks.

Similar Messages

  • Creating Map IDs using HTM File Name

    Is it possible to create Map IDs using the File name of the HTM, instead of its Topic Title?

    While Generating Map IDs, we get an ID along with a Map # for each HTM in the CSH.
    For Example, I have a HTM in my CSH with the following Details:
    Topic Title - Access Masks
    File Name - admpr00001.htm
    Now when I create a Map ID for this page. I can customise the Map ID by setting any/all of the three options: - 'Prefix Map IDs with', 'Make Uppercase' and 'Start Numbering with'. But the Map ID is generated only based on the Topic Title.
    Like - ebACCESS_MASKS 1000   where, eb is the set prefix.
    Is it possible for me to create a MAP ID using the File Name. In this case, as ebadmpr00001 1000?
    Hope I am clear .

  • Error creating document from using list using Document Template

    Hi All,
    I am trying to create a document from sharepoint list and upload it to a document library using item added and item updated event receiver methods. I can create metadata from list update in document library but unable to open the document. The error message
    I get is "we're sorry. we can't open "Filename" because we found a problem with its contents. no error detail available". Please see the below code.
    SPSecurity.RunWithElevatedPrivileges(delegate()
                       try
                           string TemplateUrl = string.Empty;
                           SPWeb web = properties.OpenWeb();
                           web.AllowUnsafeUpdates = true;
                           SPDocumentLibrary olist = web.Lists["NewLibList"] as SPDocumentLibrary;
                           String url = olist.RootFolder.ServerRelativeUrl.ToString();
                           SPFile file = null;
                           file = web.GetFile(olist.DocumentTemplateUrl);
                           if (file != null)
                               SPListItem oItems = properties.ListItem;
                               web.AllowUnsafeUpdates = true;
                               byte[] readStream = file.OpenBinary();
                               SPFile uploadedFile = olist.RootFolder.Files.Add("http://site/subsite/Libraryname/" + properties.ListItemId.ToString() + ".docx", readStream,
    true);
                               SPListItem listitem = uploadedFile.Item;
                               listitem["Firstname"] = oItems["Firstname"];
                               listitem["Lastname"] = oItems["Lastname"];
                               if (uploadedFile.CheckOutType != SPFile.SPCheckOutType.None)
                                   uploadedFile.CheckIn(string.Empty);
                               listitem.Update();
                               uploadedFile.Update();
                               web.AllowUnsafeUpdates = false;
                       catch (Exception ex)
                           EventLog.WriteEntry(EventLogName, ex.Message, EventLogEntryType.Error);

    Hi,
    Please try to use the code below:
    SPSecurity.RunWithElevatedPrivileges(delegate()
    try
    string TemplateUrl = string.Empty;
    SPWeb web = properties.OpenWeb();
    web.AllowUnsafeUpdates = true;
    SPDocumentLibrary olist = web.Lists["NewLibList"] as SPDocumentLibrary;
    String url = olist.RootFolder.ServerRelativeUrl.ToString();
    SPFile file = null;
    file = web.GetFile(olist.DocumentTemplateUrl);
    if (file != null)
    SPListItem oItems = properties.ListItem;
    web.AllowUnsafeUpdates = true;
    Stream readStream = file.OpenBinaryStream(); //file is SPFile type
    SPFile uploadedFile = olist.RootFolder.Files.Add("http://site/subsite/Libraryname/" + properties.ListItemId.ToString() + ".docx", readStream, true);
    uploadedFile.CheckOut();
    SPListItem listitem = uploadedFile.Item;
    listitem["Firstname"] = oItems["Firstname"];
    listitem["Lastname"] = oItems["Lastname"];
    listitem.Update();
    uploadedFile.Update();
    uploadedFile.CheckIn(string.Empty);
    web.AllowUnsafeUpdates = false;
    catch (Exception ex)
    EventLog.WriteEntry(EventLogName, ex.Message, EventLogEntryType.Error);
    If the issue still exists, I suggest you dubug your code and check whether line of code error.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How to not include the path when creating pdf from many html files?

    I use "Merge File into a Single File" to create a pdf file from many html files. However, the generated pdf file have the path information of the html files. I'm wondering how to generate a pdf without the path information.

    Go to CREATE > Create PDF from Web Page > Click the SETTINGS button on the dialog that follows > Uncheck "Place headers and footers on new page".
    Thanks!

  • How to create repository folders to various file systems

    Hi
    How to create repository folders for various filesystems,and allow the user to do access those files(checkin/checkout)
    Prasad

    Please explain further.
    You can create a file system repository for each of the file systems.
    The document approval workflow is a functionality which is already available withing the portal.
    However, be aware that the file system repository does not support custom properties and versioning.
    In that case you might want to use a CM respository in the FSDB mode which lets you store metadata on the portal and the actual files on the file server.
    Regards,
    Vibhu

  • Database Recovery using Archive files

    Dears,
    Due to some issue our database get crashed.
    We have saturday night offline backup and archive backup till yesterday night.
    We have restored offline backup and system is Up but it is on saturday night state.
    We want to apply these archive files to make the system state to current.
    In restore our control file also get replace with our saturday night control file status.
    We have copied our archive files in oraarch directory.
    Now when using brtools I am applying archive files:
    Command executing in brtools:
    recover from '/oracle/<SID>/oraarch' database
    it shows
    unknow command beginning
    No recovery required
    On sqlplus also when I execute
    sql>recover database;
    It shows no recovery required.
    When I give command:
    sql>recover database using backup control file;
    it ask for some {file name| AUTO | CANCEL}
    I give first file name of oraarch it shows "Can not access the file".
    File permissions are ok.
    I give AUTO, It also then do not do anything.
    Please suggest the correct method to make my system in latest current date.
    Shivam

    Hi Shivam,
    This is absolutely normal that during the restore your control files will be replaced by the old one which were backed up during database backup.
    Logic is that you can not apply the redolgs which are having the timestamps older than your  restored datafile's / controlfile's timestamp.
    If your DB is not yet opened, you can check the status of your database using below command which will tell you, till what timestamp your data is restored or currently available.
    select to_char(CHECKPOINT_TIME,'yyyy-mm-dd:hh24:mi:ss') from v$datafile where file#=1;
    >
    > From command I want to know "from backup control file"....Do SAP take backup of control file as in system only old is
    >
    > available.
    > Shivam
    >
    recover database using backup controlfile.....  this command does not backup the controlfile . this will make use of old controlfile only which came along with the restore  and start the recovery using this controlfile only.
    Its just make use of available controlfile ..No backup will be triggered.
    Please make a note that after DB restore; ..recovery is possible only in case database is not yet opened in OPEN state.
    Cheers !!!
    Ashish

  • Could I create outline from an OTL file?

    I save an OTL file by an outline.<BR><BR>Then when I create a new application and a new database, could I create outline from the existed OTL file?

    Yes, the easiest way is to open the OTL file with application manager (or EAS), and use the "File", "Save As" menu option, then choose the server, application, and database to overwrite.<BR><BR>Some caveates regarding data restructuring -- provided you choose to restructure without maintaining data, or you have no 'significant' changes to the outline, you should be all right. The DataBase Administrators Guide has further details on saving/overwriting outlines, but it usually comes down to common sense items (i.e., deleted members will lose data, renamed members may lose data if there is no way to link the new member to the old, etc). A lot of additional details and caveates can be mentioned here, but if the changes are minor, or you clear the database to reload it, you are fine.<BR><BR>

  • Read from PS_PROJECT archive files

    Hi,
    I created our custom read program by copying from SBOOKR demo program.  However, it works for other archive objects except PS_PROJECT.  The program returns with '0 record read' message.  I checked the archive file, it's not empty.  Does anybody have the same issue?  Any info will be appreciated.

    You could try debugging the program to see which function module it fails at. My guess is that there might some discrepancy in the way that the data has been passed to the FMs.
    Sudha

  • Creating pdf from folders of files & retaining structure

    Hi there!
    I am hoping someone can tell me how to pdf entire folders of files into one file yet still retain the file structure so that it follows the logical sequence that it is already sitting in.
    I have several folders of folders with many hundreds of files in which I'd like to combine into a single file or package yet retain the folder arrangement.Current size of this is around 40-60 MB..
    I want to make it into one file so its easier to transfer to customers on a CD yet they need to be able to use a folder structure as some of the files contained have similar names yet are different.
    Is this possible?
    I've just tried to make them into a package but the damn thing [I'm currently using Acrobat 8 Pro] has jammed the whole lot in willy nilly and the folders are all gone so there are multiple pages with similar names but the structure is all gone....
    ie I have a master folder called Consultants, and the sub folder have titles such as Product X, contained in Product X's folder are folders - Data & Drawings, Technical information. Files can be in many different formats but mainly CAD, pdf, word.
    HELP!
    I don't really want to have to go all the way thru this file creating bookmarks... I just want it to look like it does on the server - in folders and easily identifiable so that even an idiot could use it & find what they wanted.

    You can't do this, a PDF file is exactly that, one file.  What you're wanting is the Windows Explorer view of individual files.  If you're putting them on a CD just put the master folder on the CD.  If you're transferring them via FTP or similar zip the folder first.
    You can however when you're using the Combine files feature in Acrobat 8 automatically create bookmarks based on the file names whcih would save you the grief of doing that.

  • Create an IDOC using Txt file

    Hello All,
    I have recived an   IDOC DATA in TEXT file.
    would u please help me how to create an idoc using the above text file.
    Kind Regards,
    Dev.

    Hi,
    first put the file in application server and then in we16 give the directory name and the path and the sender port info and press execute..ur idoc will be generated.before that in we21(FILEPORT),in the inboundfile maintain the directory name and the path.
    Regards,
    Nagaraj

  • How to create stereo from multitrack library file?

    Hi, I am using some of the sound effects and music form the Library of sounds that comes with STP 3. Many of these are 4 or six tracks, but I would be happier to use the file as a two-track stereo file, since that is much easier to create fades, etc. Is there a quick way to convert these files to stereo with STP or do I need to import them into a different program like Peak?
    Thanks, Bob

    I don't have an answer, but you might get a better response in the scripting forum.

  • Unable to create sample schema using response file

    Installed oracle 11g r1 on Linux server using response file (silent mode). I wanted to install the sample schema for testing so I updated the sample_schemas section in $ORACLE_HOME/assistants/dbca/templates/dbcreate.dbc
    <option name="SAMPLE_SCHEMA" value="true">
    <tablespace id="USERS"/>
    </option>
    After the installation I noticed sample schemas HR, SH were not created.
    -     Do we have to manually create the sample schemas by running the individual scripts?
    -     Also could not find the master script mksample.sql in the $ORACLE_HOME/demo/schema directory.
    Please let me know if I am missing any parameter in dbcreate.dbc.
    Thank you,

    user504183 wrote:
    Installed oracle 11g r1 on Linux server using response file (silent mode). I wanted to install the sample schema for testing so I updated the sample_schemas section in $ORACLE_HOME/assistants/dbca/templates/dbcreate.dbc
    <option name="SAMPLE_SCHEMA" value="true">
    <tablespace id="USERS"/>
    </option>
    After the installation I noticed sample schemas HR, SH were not created.
    -     Do we have to manually create the sample schemas by running the individual scripts?
    -     Also could not find the master script mksample.sql in the $ORACLE_HOME/demo/schema directory.
    Please let me know if I am missing any parameter in dbcreate.dbc.
    Thank you,You can't install manually the sample schemas since they come in a "pluggable tablespace" Examples which is automatically appended to your database by DBCA. If you would miss choosing the option for the same, you would need to get them created through the Examples Media CD and follow the instructions given here.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28328/installation.htm#I4367
    HTH
    Aman....

  • How to create pdf from word doc file

    HI
    I have a word doc file. (not docx). I have adobe 8 pro. I wrote a word script to create the file using the distiller. The fonts in the pdf file it makes look wacky. That script looks liek this:
    * create archive pdf file
    lfilename = "t:\cardeals\pdf\pdf_archive\" + PADL(alltrim(STR(month(date()))),2,"0") + PADL(alltrim(STR(DAY(DATE()))),2,"0") + SUBSTR(ALLTRIM(STR(YEAR(DATE()))),3,2) + "1.pdf"
    oWord = createOBJECT("Word.Application")
    oWord.DisplayAlerts = .f.
    oWord.documents.open('t:\cardeals\cardeals.doc')
    oword.ActivePrinter = "\\CSSSERVERONE\Overflow"
    oword.application.printout(,,,,,,,4,,,,,,,,,,,)
    oWord.PrintOut(.F.,.F.,,"c:\output.ps",,,,,,.F.)
    oPDF = CREATEOBJECT ( "PDFDistiller.PDFDistiller.1" )
    oPDF.FileToPDF("c:\output.ps", "&lfilename.", "High Quality" )
    oWord.application.quit
    release oword
    I also wrote a script to attempt to print it from the Adobe printer. It seems to work, but when I go to open the created pdf file it I get the following message:
    Acrobat could not open mypdf.pdf because it is either not a supported file type or because the file has been damaged.
    The code was this:
      Set oWordApp = CreateObject("Word.Application")
        Set oDocument = CreateObject("Word.Document")
        oWordApp.Visible = True
        oWordApp.Application.WindowState = wdWindowStateMinimize
        Set oDocument = oWordApp.Documents.Open("t:\cardeals\cardeals.doc")
        strOutputPDFName = "c:\mypdf.pdf"
        holdprtrdefault = oWordApp.ActivePrinter
        oWordApp.ActivePrinter = "Adobe PDF"
        oWordApp.Application.PrintOut FileName:="t:\cardeals\cardeals.doc", _
            Copies:=1, _
            Range:=wdPrintAllDocument, _
            Item:=wdPrintDocumentContent, _
            Pages:="", _
            PageType:=wdPrintAllPages, _
            Collate:=True, _
            Background:=False, _
            PrinttoFile:=False, _
            OutputFileName:=strOutputPDFName
    If I clkick on the PDFMaker icon iside word, the resultant file is BEAUTIFUL. Can I automate this from within word? If not, does PDFMaker have a command line utility that I could put in a batch file?

    I don't have an answer, but you might get a better response in the scripting forum.

  • Can't create repository - zero byte log file?

    Hello all,
    I'm getting the 'CDR-21244 : This process has been aborted' message when creating the repository in a 10g database using Designer 10g ( 9.0.4.5). I get identical results with Designer 9i (9.0.2.7). I've checked the installation log file, according to the documentation, and it contains zero bytes. The IMP.EXE window doesn't say anything unusual, it simply reports a couple of possible character conversions and then terminates before doing anything.
    None of the suggested solutions to this error from the Repository Installation Guide seem to apply to me:
    * I have all the proper permissions and settings according to the 'check requirements' dialog
    * I don't have anything in my log file
    * The IMP.EXE utility is installed
    * TNSNAMES.ORA seems fine since I can connect to this database using TOAD
    Has anyone else seen this?
    I'm using Windows XP, by the way.
    Thanks.

    Hi,
    Can you please give us the following information :
    1. Both Designer 9.0.4.5 and 10g Database are installed in same machine or different machines.
    2. Version of Export/Import utilities used by Designer
    3. Value in the registry variable 'REPOS61'
    Steps to get the registry value
    a. Invoke and connect to 'Repository Administration Utility'.
    b. Invoke 'Check Requirements' utility.
    c. Expand 'Parameter Settings' node and '[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\REPOS61\]' node.
    d. Note the values for 'EXECUTE_EXPORT', 'EXECUTE_IMPORT', 'EXECUTE_PLUS_RAU' variables.
    4. Version of Database.
    Regards,
    Wilson.

  • Creating a report using ttx file format

    <font size="2"><p>Hello All </p><p>I have downloaded the professional version of the Crystal Reports for Eclipse. I wanted to know if a report template can be created using a ttx file format and passing recordsets at run time to the reports. If an example can be provided it will be great. </p><p>I tried to look for the ttx file format in crystal but could not locate the same. Is it available with the professional edition..</p><p>Any help is highly appreciated.</p><p>thanks </p></font>

    Hi,
    In CR4E you can mimic the TTX design process using a Java class file and our POJO implementation. Essentially you can make an empty class with a number of publicly defined variables. For example if I created a new class as such:
    public classTTX_POJO {
    Â Â
    public int customer_id;
          <font color="#660000">public </font>String customer_name;
    Now, I can use this class to design a Crystal Report. In the report designer you will see a new table (in this cased called TTX_POJO) with 2 Fields (int and String). This will serve the same purpose as a TTX which is to get the meta-data into the report.
    Now at runtime, I can pass in a Resultset which returns the same meta-data, as in the following SQL query:
    *"SELECT CUSTOMER_ID,CUSTOMER_NAME FROM APP.CUSTOMER WHERE COUNTRY = 'Australia'" *
    Anyway, if you need more information on creating reports off of POJOs you can watch the following video tutorial:
    *http://diamond.businessobjects.com/node/426*
    Regards,
    Sean Johnson (CR4E Product Manager)
    Rate this plugin @ Eclipse Plugin Central          </p>

Maybe you are looking for