Modifying an IDataConnection during BIAR file import

Hi
I am programmatically importing a BIAR file that contains some Universes/reports/connections/etc. I need to change the connection InfoObjects during the import. I have found a document called "Updating InfoObjects while importing BIAR files" which more or less describes what I want to do. It seems these InfoObjects are of type "IDataConnection" (which I can't find in the API documentation!). But when I change the connection (using setUVConnectionInfo(...)) and I import the BIAR file, my changes to the Connection Info (username, password, server) don't show up in the Universe Designer. The Universe Designer shows the old values and gives me this warning:
The current connection was edited with a previous version. After the edition, it will not be anymore compatible with previous version. Do you confirm you want to edit this connection?
So my question is:
How can I properly set the connection info on an IDataConnection object (my underlying DBMS is Oracle, and so I have a username, password, and TNS string). And is there any api documentation for this? (the document at http://help.sap.com/businessobject/product_guides/boexir31/en/boesdk_java_apiRef_12_en.zip doesn't have anything...)
Thanks a lot
Zak

Hello Ted,
You can use BIAR to transfer the data connection, but currently the only public SDK to modify connection logon info is to use the COM-based Universe Designer SDK to pre- or post- process.
Alternatively, the Life Cycle Manager (LCM) product - that allows for modification of InfoObject properties on the fly - may be an option.
Is there a progress in this subject? I am writing a post-install tool that imports BIAR file with pre-defined Universes, reports and connections. I am looking for JAVA SDK to to change the connection during import.
I understand that LCM doesn't have SDK, so I cannot use it.
thank you

Similar Messages

  • BIAR File Import from XI 3.0 Enterprise into new XI 3.0 Enterprise System

    HI there,
    I am encountering an error message when I attempt to import BIAR files from our old Enterprise XI 3.0 system into our new Enterprise XI 3.0 System. When I use the Import Wizard it asks me what source to copy from and I choose the location of our BIAR files. Next I choose our CMS name and logon to it using the Adminstrator credentials. When I click next the process begins to import the file but then stops at 23% and gives an error message that says:
    Failed to open the BIAR file. Reason: come.businessobjects.sdk.biar.om.internal.iw.ObjectManagerIWException:A runtime rxception has occured in the Object Manager. null
    This is a very concerning issue as we backed up our entire enterprise system with the BIAR files. In total there are 43 of them, each between 500 to 600 megs in size for a total of about 23 gigs. We had hoped to import these files to restore our system from a major crash but now has us very concerned. Any help in resolving this would be appreciated as we are now desperate to recover 4 years worth of work. Thank you.

    Hi i have used Import wizard for importing the biar file in to the system and that too using the administrator in to BOXi3.1SP3 machine.
    I am getting the following error
    Logon Error:Failed to open the BIAR file.  Reason:com.businessobjects.sdk.biar.om.internal.iw.ObjectManagerIWException: A runtime exception has occurred in the Object Manager, null
    Please let me know if solutions to resolve this. What could be the problem while importing.
    The same bair is working on my local machine but not on the client side
    Thanks in advance

  • BIAR file import error

    Hi,
    We had BO XI 3.1 without SP in my previous server, from this we exported a BIAR file with repository contents.
    After that we remove that server and installed BO XI 3.1 SP3 and trying to import the same file and geting this error message
    Failed to open the BIAR file. Reason: com.businessobjects.sdk.biar.om.internal.iw.ObjectManagerIWException:required dependencies not found target system:
    can somebody help me to import this biar file. 
    Regards,
    Suresh

    Hi,
    One qns on your query why you have uninstalled previous version and installed 3.1 SP3.even you can upgrade  from 3.1 to 3.1 SP3.
    You can check SAP Note 1441644.
    Thanks,
    Amit

  • Biar file import does not import any repository object

    Hi,
    I have extracted a Biar file from Business Objects Enterprise XI 2.0 Server and it has size 20 MB. When I import this file into another Server using Import Wizard which has Business Objects Enterprise XI 2.0, the outcome is unfavorable. Inspite of both the source and target system being on same enterprise version (11.5.8.1111) plus both on Service Pack 2 Fix Pack 2.7, the repository objects log within the Import Wizard shows 0 objects imported.
    What is the remedy to this situation ?
    Regards,
    Neonevin

    Hello,
    Not really that I know of.
    Well this is a big problem since we can not export projects easaly between different computers. Or back to the same computer using this metod insted of the whole project fils and associated files.
    Also there might be a problem exporting to different editing programs as Premiere.
    And Apple do not seem to bother. We have to try to solve problems like this in forums and searching for answers and plugins for hours.
    This i think will make us to leave final cut as editing software.
    Also this version of final cut x - apart from final cut 7 does not seem to be able to export audio in a proper way.
    Especially the audio that can be a little bit lika a worms nest seems to be impossible to export with all or most of the options left. It wants to put everything together in mixes audio tracks.
    POskar

  • Error during dump file Import  from 11g DB into XE database

    Hi ,
    I have a dump file exported from a 11g database. First i imported this dump file into another 11gdb test database and it worked fine.
    Later i tried to import it into an XE database. But import completed with error message as shown below. This error message appeared only for few tables.
    IMP-00015: following statement failed because the object already exists:
    Note - I created a new schema in XE database and tried to import the dump into this schema. So there is no chance for the object to exist before the import operation.
    Does anyone have any idea why import in XE fails? Is there any limitation/restriction in XE?
    FYI - All the tables that failed to import contains LOB data in it. Is LOB datatype is not supported in XE? Does this cause the problem during import?
    Regards,
    Ashok Kumar.G

    Going from 11g to XE(10g) is problematic for two reasons 1st - 11g exports not necessarily compatible with an earlier version and 2nd I have found that in some cases 11g exports can have problems when importing back into another 11g(11.1.0.7) instance due to stack overruns whereas an 10g export to 11g normally works fine..
    ./bob h.

  • Reject columns which exceed a particular length during OWB flat file import

    Hi,
    I have a file in csv format. This file has a lot of columns out of which i need to use only a few. I created a file in OWB using the given csv file using the file import wizard. I am using this file to create an external table.
    The import is working fine, But the problem is that certain columns (which are not required to be processed) have very huge data. This is leading to rejection of certain rows (when i deploy the external table) which have valid data for the required columns, but too huge data was columns which i do not need.
    But these rows must not be rejected.
    I wanted to know if there any way by which we can truncate/ insert null in these unwanted columns (either during flat file import / or during creation of external table), so that the row is taken in partially(with the wanted columns)?
    Thanks a lot!
    NS

    Hi Julie,
    As Jim posted, you could try a RAW file instead of a CSV file. In SSIS, the Raw File destination writes raw data to a file. Because the format of the data is native to the destination, the data requires no translation and little parsing. So does the Raw
    File source. Besides, the Raw File destination/source can improve the package performance because they write data more quickly than other destinations such as the Flat File, the OLE DB, and Recordset destinations.
    References:
    http://www.katieandemil.com/ssis-raw-file-source-example-ssis-2012
    http://www.jasonstrate.com/2011/01/31-days-of-ssis-raw-files-are-awesome-131/
    Regards,
    Mike Yin
    TechNet Community Support

  • 'Import file parsing exception' while importing BIAR file

    Hi All,
    We use Java WebServices SDK for integrating our product with Business Objects. For installing the reports we use the InstallEntSDKWrapper jar to copy the BIAR file containing the reports on to the BO server. Till now we were using BO XI R2 and everything works fine.
    But now we have decided to upgrade to BO 3.0 and the reports install no longer works. Here is the error that we get -
    [InstallEntSdkWrapper.main] Connecting to CMS rwc-1950-120:6400 as administrator
    [InstallEntSdkWrapper.CmsImportFile] Exception: Import file parsing exception
    curred : 'Type info incomplete'
    [InstallEntSdkWrapper.main] BIAR File could not be imported
    Any idea what might be going wrong here? We are trying to import the same BIAR file that were created with the earlier BO version to the 3.0 version server. Couple of questions that I have is -
    1. Do we need to repackage the BIAR with 3.0 before attempting to install it? Are there any issues with trying to install a BIAR which is of older BO version?
    2. Do we need to add/modify any library (jar) in the runtime to get rid of the exception?
    Thanks for all the help.
    Regards
    Manas
    Edited by: Manas Mandlekar on Dec 23, 2009 1:34 AM

    Lucas,
    I have not seen this issue before. We'll investigate and contact you directly for more info. I'll post the resolution back to this forum once available.
    Doug

  • Import biar file with command line

    Hi
    I am trying to import biar file with command line on unix environment with BOXI R3.1 and Oracle DB
    The biar file include one universe and it's connection (eFashion), one report and one user
    when I run the command line:
    java -jar /BO/boxi/bobje/java/lib/biarengine.jar /BO/boxi/test.properties
    I recive the following error:
    Failed to commit objects to server : Undefined Info Store error
    An error occurred at the server during security batch commit:
    Request 6 of type 36 failed with server error : Object not found (1433)
    Request 11 of type 36 failed with server error : Object not found (1433)
    Request 20 of type 38 failed with server error : Object not found (1433)
    Request 26 of type 38 failed with server error : Object not found (1433)
    Do you have any idea , what is the problem?
    Thank you

    Hi Denis
    I found out after I create a biar file ,with only the user, through a command line. that the user did import since it was in a concurrent connectiontype , a type that not exit in the target environment.
    But after I fix this in the source environment and saw that a biar file with only the user is loaded , I recreate the biar file with all the objects as before (user, universe, report , folder) and I still got the same error message as before.
    So now I try to create the biar file with all those object through the command line. and I get a new errer message "Required dependencies not found on target system : '[AZK_.9sbf_lMgdQRpsbZfVw]"
    I check it , and understand that the object is the report , but I do not see what missing..... : (
    Those are the quries in the properties file:
    exportQuery= SELECT * FROM CI_APPOBJECTS where si_kind = 'Universe' and si_name='eFashion'
    exportQuery= SELECT  * FROM CI_APPOBJECTS WHERE SI_ID in ( 894,926)
    exportQuery= SELECT * from CI_SYSTEMOBJECTS WHERE SI_KIND = 'user' and SI_Name='repadmin'
    exportQuery= SELECT * FROM CI_INFOOBJECTS WHERE si_kind= 'Folder' and SI_name = 'test'
    exportQuery= SELECT * FROM CI_INFOOBJECTS WHERE      SI_ID IN (2188)
    Can you tell what is missing?

  • How can i Import a BIAR file by using Command Line Tool?

    Dear All,
    I wrote a properties file for import a biar file. my properties file is below:
    action=importXML
    exportBiarLocation=D:\Tamzid\BIAR\Test_Import.biar
    userName=Administrator
    password=
    authentication=secEnterprise
    CMS=bldhkbotest01:6400
    exportDependencies=false
    includeSecurity=true
    exportQuery=select * from ci_appobjects
    I have run the above properties file from cmd by the following way:
    C:\Program Files\Business Objects\common\4.0\java\lib>java -jar biarengine.jar D:\Tamzid\BIAR\MyExport.properties
    But it gives an error :
    Enterprise authentication could not log you on. Please make sure your logon information is correct. (FWB 00008)
    though my logon information is correct.
    Please any body have any idea?
    OS: Windows 2003 server
    BO version: XI 3.1
    Best Regards,
    Tamzid.

    Dear All,
    My problem is solved by the following code:
    exportBiarLocation=D:\ExportMyFile.biar
    action=exportXML
    userName=Administrator
    password=bl123456
    CMS=bldhkbo02:6400
    authentication=secEnterprise
    exportQuery=select * from ci_appobjects
    Save the above proterties file in a specific path.
    Run the above properties file by the following cmd command:
    C:\Program Files\Business Objects\common\4.0\java\lib>java -jar biarengine.jar ....\MyExport.properties
    Regards,
    Tamzidul Amin.

  • Error importing from BIAR file (BO XI 3.0)

    Dear BO community,
    I am using the BIAR tool for backup purposes. For my backup, I use a properties file as input which looks like the one shown below:
    action=exportXML
    exportBiarLocation=C:/Temp/BOBackup.biar
    userName=Administrator
    password=XXX
    CMS=XXX:6400
    authentication=secEnterprise
    includeSecurity=true
    exportDependencies=true
    exportQuery1=select * from ci_infoobjects
    exportQuery2=select * from ci_systemobjects
    exportQuery3=select * from ci_appobjects
    exportQueriesTotal=3
    The file creation seems to work without any problems. A file is created. However, when importing the file into another CMS, I am getting the following error:
    Failed to open the BIAR file. Reason: com.businessobjects.sdk.biar.om.internal.iw.ObjectManagerIWException:Input/Output exception occurred: 'Couldn't find entry 'BusinessObjects.xml'.
    I have opened the BIAR file using a ZIP program and checked that there is no "businessobjects.xml" file in there. When creating BIARs using only a single query, this file exists and the import is no problem.
    Does anyone have an idea what's happening and can help me?
    Thank you and best regards!

    Hello ALL,
    I have the same problem when I am trying import from BIAR file. Please tell me how you resolved this issue.
    I did not understand much from your previous message.
    We are using BO XI R3.1 and below is the error message that Import Wizard is throwing.
    Failed to open the BIAR file. Reason: com.businessobjects.sdk.biar.om.internal.iw.ObjectManagerIWException:required dependencies not found target system : 'AWAS3XkMSEtGn1TXI370kAU'
    In both pc  BO version is boxir3.1 sp3 and currently i m using windows xp professional version 2002 sp3
    Thanks
    Saurabh shivam

  • Error importing a biar file in edge 3.0

    I can create the biar file, but when i go to import it i get this error message
    'Failed to open the BIAR file. Reason: com.businessobjects.sdk.biar.om.internal.iw.ObjectManagerIWException:Input/Output exception occurred:'Couldn't find entry 'BusinessObjects.xml'
    i am moving this from dev to stage but both have edge 3.0 installed.
    thanks

    Hello ALL,
    I have the same problem when I am trying import from BIAR file. Please tell me how you resolved this issue.
    I did not understand much from your previous message.
    We are using BO XI R3.1 and below is the error message that Import Wizard is throwing.
    Failed to open the BIAR file. Reason: com.businessobjects.sdk.biar.om.internal.iw.ObjectManagerIWException:required dependencies not found target system : 'AWAS3XkMSEtGn1TXI370kAU'
    In both pc  BO version is boxir3.1 sp3 and currently i m using windows xp professional version 2002 sp3
    Thanks
    Saurabh shivam

  • BI XI R2 Import to BIAR - BO XI 3.0 import from BIAR file. issue

    Hi
    I am importing My Universe, Desktop Reports, Web Intelligence report from BO XI R2 in to BIAR.
    And then importing it to BO XI 3.0 using the BIAR file.
    However import went successfully but on BO XI 3.0 I do not see universes or desktop report that I have imported from BO XI 3.0.
    These file .unv .rep gets stored in <BO XI 3.0 Installation Directory > \FileStore\Input
    What needs to do when importing so that my BO XI3.0 import will follow same folder structure as like BO XI R2.
    Am I doing something wrong
    --Kuldeep

    When you do the import do you see all the objects marked as imported in the details log? Also are you bringing in the user security?
    Regards
    Alan

  • Import CRS XI R2 to BIAR file

    Post Author: Vlad.Bondar
    CA Forum: Administration
    Hello. I have Crystal Reports Server XI R2 installed on a Win2k3 box. When i try import reports to BIAR file i get error "System.FormatException: Входная строка имела неверный формат.   в System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)   в System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)   в System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)   в System.Double.Parse(String s)   в BusinessObjects.Enterprise.OcaFramework.WireOb3Unpacker.get_Current()   в BusinessObjects.Enterprise.Lib.Properties.PropertyBag.merge(IBagUnpacker unpacker)   в BusinessObjects.Enterprise.Lib.Properties.PropertyBag.unpack(IBagUnpacker unpacker)   в BusinessObjects.Enterprise.Biar.XMLGenerator.SerializeFromInfoObjectProperties()   в BusinessObjects.Enterprise.Biar.XMLGenerator.Generate(PluginObjectMetaDataInfo objMetaDataInfo)   в BusinessObjects.Enterprise.Biar.XMLExporter.RealExportCollection(InfoObjects infoObjects, Hashtable idLogMsgTable, Set ids, Set dependencies)" Can anyone help me with this issue ? Best Regards, Vladimir Bondar

    Hi,
    We now have an old server that we have installed CRS XI R2 on for testing and would like to test installing CRS 2008 on it and then if it works, we are going to do the same to our productions server.
    On the test server, we are planning to uninstall CRS XI R2 and the old MySql and Tomcat.  Then install CRS 2008 along with the MySql and Tomcat that comes with that version and import the reports from the production server over to the test server and test if they work.  If that method works, then we were going uninstall CRS XI R2 and the old MySql and Tomcat from the production server and install CRS 2008 and import the reports from the test server back over .
    I wanted to uninstall the old Tomcat and MySql because I don't recall what the username and passwords were when they were initially set up as well.  I figured it would be more straightfoward just to uninstall and install the versions that get installed when installing CRS 2008.
    Thanks,
    Kim
    Edited by: Kim Cherry on Apr 13, 2011 8:32 AM

  • 4.1 SP4 Import BIAR File and change connection information

    Hi experts,
    I have generated an LCMBIAR (contains Dashboard and Webi, Universe) in our current system landscape and we are trying to move this BIAR file to another system. However if we are to import this biar file into another system that is not connected to our current system landscape we need to be able to configure the DB connection information to point to new system DB. Is it possible to change the connection information for the universe when you importing the BIAR file, if yes, could you please give me the STEP by STEP instructions.

    Hi,
    1. Refer the following KBA -
      1759284 - How To: Step-by-Step LCM Override Settings via LCMBIAR file
    2. Then promote the reports and connections to the destination using Promotion manager.
         Hope this helps.
    Regards,
    Rukaiya

  • Importing a BIAR file into BO XI R2 SP2

    We are trying to import a universe and reports from a BIAR file, using the Business Objects Import Wizard.
    When we get to the screen that should list the universes that are available in the BIAR file, we do not see any universes for selection. (The reports show up fine)
    We have tested the file on our development system, and the Universe is displaying on the screen in that environment.
    We have also tried using an old BIAR file that worked in the past, and this is also not currently working.

    Hi,
    I have a similar situation at hand, when running the wizard to import universe from a BIAR file.
    On the Select Universe Selection Page of the wizard, I could only see the BIAR File but there were no universe under that.
    Hence i could not select any universe.
    (other information)
    BIAR File Size: 85.1 kb
    Actual Universe File Size: 190 kb
    Could anything be done inorder to get the list of universes in that page.
    Please help me out.
    Thanks,
    Vaibhav

Maybe you are looking for