Showing posts with label BusinessObjects Enterprise. Show all posts
Showing posts with label BusinessObjects Enterprise. Show all posts

10 March 2010

err: ERROR Failed to get cluster name. (STU00165) err: Error description: Database access error. Reason Loading shared objects failed. First tried to load library clntsh and failed because of error: [clntsh: cannot open shared object file: No such file or directory]. Second tried to load library libclntsh.so and failed because of error: [libclntsh.so: cannot open shared object file: No such file or directory].

I was using Business Objects XI 3.1 on Red Hat Enterprise Linux 5 and when run cmsdbsetup.sh to check the CMS repository I faced the following error:

err: ERROR Failed to get cluster name. (STU00165)
err: Error description: Database access error. Reason Loading shared objects failed. First tried to load library clntsh and failed because of error: [clntsh: cannot open shared object file: No such file or directory]. Second tried to load library libclntsh.so and failed because of error: [libclntsh.so: cannot open shared object file: No such file or directory].
After some search I find this solution:
Find libclntsh.so in your system by running the following command
 find / -name libclntsh.*
 gives the result: /libclntsh.so
then add the path of libclntsh.so into the LD_LIBRARY_PATH system variable by executing
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/libclntsh.so

Also make sure that the Oracle client is running and try to tnsping the repository database

07 March 2010

QaaWS HTTP Servlet QaaWS error Sorry, something seems to have gone wrong... here are the details:

When using Query as a Webservice, and you try to import the WSDL link into Xcelsius an error may pop up and say "Unable to load URL". Or when you paste the link into your internet browser an error occurs as following:

QaaWS HTTP Servlet
QaaWS error
Sorry, something seems to have gone wrong... here are the details:

Exception - com.crystaldecisions.sdk.exception.SDKServerException: An error occurred at the server :
Enterprise authentication could not log you on. Please make sure your logon information is correct.

cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:An error occurred at the server :
Enterprise authentication could not log you on. Please make sure your logon information is correct.

The server supplied the following details: OCA_Abuse exception 10498 at [.\secpluginent.cpp : 610] 42040 {}
...Invalid password
I solved this problem by going to \Tomcat55\webapps\dswsbobje\WEB-INF\classes and open the dsws.properties with notepad. Then at the qaaws.principal.username and qaaws.principal.password insert the user name of Business Objects and the password.
Then restart the services.
For my case I created a separate username and password for the QaaWS.

23 February 2010

Cannot access the repository. (USR0013)

[repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(Transport error: Communication failure. (FWM 00001) (hr=#0x80042a01)

If are facing this error then you need to add your computer name to the hosts file.

You can find the hosts file at this directory C:\WINDOWS\system32\drivers\etc
open the file with Notepad and add the ip and the server name for example:
192.1.1.200   BOServer1

If the server is part of domain you have to write the full address of machine, for example:
192.1.1.200   BOServer1.DomainName.com

This problem happens when you are connecting with Business Objects clients like, Universe Designer, Desktop Intelligence, and Web Intelligence Rich Client and so on...

18 February 2010

Xcelsius 2008 error #2170

If you are using Xcelsius and have encounter error #2170 when you viewing a published dashboard then you have to check the link, if you are using IP try to change it to the hostname, for example: use http://boserver:8080/.../.. instead of http://192.168.1.3:8080/../..

The problem could be also the crossdomain file which is elaborated at this website http://neverknewthat.wordpress.com/2008/03/19/when-using-xcelsius-2008/

17 December 2009

Error-1904 Module C:\Business Object\BusinessObjectsEnterprise 12.0\win32_x86\AppPluginMgr.dll failed to register.HRESULT -214704769

If you are facing this error: Error-1904 Module C:\Business Object\BusinessObjectsEnterprise 12.0\win32_x86\AppPluginMgr.dll failed to register.HRESULT -214704769 when you are trying to install Crystal Reports Server 2008 ( or other Business Objects product) then you need to disable the Data Execution Prevention (DEP).

To Disable DEP do the following:
  1. Open the boot.ini ( located in your C drive by default)
  2. Set the noexecute parameter to Alwaysoff, so it should be /noexecute=AlwaysOff
  3. Save the file and restart the computer
  4. Start the installation again

03 December 2009

Xcelsius: Application Error Couldn't load keydecoder.dll

To solve that error you have to copy keydecoder.dll file from "Installation Directory\BusinessObjects Enterprise 12.0\win32_x86" folder and paste it to file into "Installation Directory\Xcelsius"

05 November 2009

Unable to see tables in the Table Browser in Universe Designer using database IBM DB2

If you can't see the Tables inside the Table Browser of the Business Objects Universe Designer and you are using IBM DB2 or you are facing the following error:

[IBM] [CLI Driver][DB2/NT] SQL0443N Routine
"SYSIBM.SQLTABLES' (specific name "TABLES") has returned an error
SQLSTATE with diagnostic text. "SYSIBM:CLI:-805", SQLSTATE=38553

Then you need to BIND your database, in order to able to view the tables in the Table Browser or your application.

write the following queries in order to perfom the BINDING:

connect to database user username using password
bind db2clipk.bnd
bind db2clist.bnd
bind db2schema.bnd

In my case I wrote the full path of the bnd files in order to get it work

bind 'C:\Program Files\IBM\SQLLIB\bnd\db2clipk.bnd'
bind 'C:\Program Files\IBM\SQLLIB\bnd\db2clist.bnd'
bind 'C:\Program Files\IBM\SQLLIB\bnd\db2schema.bnd'

To make sure that everything is working properly you can CALL SQLTABLES procedure and see if it returns or produce an error.

01 November 2009

Business Objects cannot logon to InfoView

THE UNDERSCORE! "_". I faced a weird problem that Business Objects cannot login to the InfoView when I write the Hostname in the InfoView link: http://BO_SERVER:8080/InfoViewApp .

I tried to login with localhost: http://LOCALHOST:8080/InfoViewApp and it logged successfully to the InfoView.

The problem is the "_" in the hostname, I think Business Objects cannot resolve it or something. Honestly, I did find any solution but to rename the server hostname and to reinstall Business Objects!

06 July 2009

Business Objects XI 3.1 error while installling on Linux (Redhat Enterprise Linux)

When trying to install BusinessObjects XI 3.1 on Redhat Enterprise Linux 5 it gives that error:
Patch checking complete Can't load '/opt/boe/boxi3.1/perl/lib/site_perl/auto/XML/LibXML/Common/Common.so' for module XML::LibXML::Common: /opt/boe/boxi3.1/perl/extlibs/libz.so.1: cannot restore segment prot after reloc: Permission denied at /opt/boe/boxi3.1/perl/lib/5.8.8/i686-linux/DynaLoader.pm line 230. at /opt/boe/boxi3.1/perl/lib/site_perl/XML/LibXML.pm line 12 Compilation failed in require at /opt/boe/boxi3.1/perl/lib/site_perl/XML/LibXML.pm line 12. BEGIN failed--compilation aborted at /opt/boe/boxi3.1/perl/lib/site_perl/XML/LibXML.pm line 12. Compilation failed in require at BOBJEsetupui.pm line 20. BEGIN failed--compilation aborted at BOBJEsetupui.pm line 20. Compilation failed in require at ./setupui.pl line 23. BEGIN failed--compilation aborted at ./setupui.pl line 23.

The solution is to set the SELinux to enforce by issuing this command as root:
/usr/sbin/setenforce 0
(Note: 0 = Zero )

25 May 2009

Cannot Perform this operation. No Valid License found (Error: INF)

If you encountered that error when trying to access a Web Intelligence report please do the following steps:

  1. Run> regedit
  2. Go to HKEY_Local_Machnie > SOFTWARE > Business Objects > Suite 12.0 > Shared Tools > keydecoder.dll
  3. Change the Path string to [BOBJ Directory]\BusinessObjects Enterprise 12.0\win32_x86\keydecoder.dll
  4. Restarts the servers

Installing Xcelsius 2008 after BusinessObjects may be the reason of the following error.

22 April 2009

DBDriver failed to load, dbd_db2cli.dll (The specified module could not be found)

You may face the following error when you try to setup the repository connection for the performance manager:

DBDriver failed to load : C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\dataAccess\connectionServer\dbd_db2cli.dll (The specified module could not be found.)

The default path for the DB2 client on the server is at the end of the windows "Path" variable. This is because the 256 character limitation for the "Path" variable.

I solved this problem by editing the "Path" Variable, and put the following directories: D:\IBM\SQLLIB\BIN;D:\IBM\SQLLIB\FUNCTION;D:\IBM\SQLLIB\SAMPLES\REPL
in the at the start of the "Variable Value" ( they were at the last) and restarted the computer and it worked well.

05 April 2009

Applet aa.sa.SAAP notinited

You may encounter this message in web browser status bar when you log into InfoView and go to the Dashboards and Analytics setup. I faced that problem and the solution was to install Windows Server 2003 service pack 2 ( SP2 )

25 March 2009

Teradata ODBC Connection For Linux

Here is the steps need to be done in order to get NCR Teradata run Business Objects XI 3.x Web Intelligence Red Hat Enterprise Linux 5 (RHEL 5):

1. Install Teradata Client on the RHEL 5
2. Edit the ODBC.INI in the "bobje" directory and configure it as shown below :

[ODBC Data Sources]
teradataodbc= NCR 3600 running Teradata V2R6.1

[teradataodbc]
Driver=/usr/odbc/drivers/tdata.so
Description=NCR 3600 running Teradata V2R6.1
DBCName= Username=username of the database
Password=password of the database
DefaultDatabase= Characterset=UTF8


3. Create .odbc.ini file in /home/"username" and copy the the contents of odbc.ini (in bobje directory to it)


After completeing the above steps Web Intelligence should run the reports without producing any errors

24 March 2009

Hiding The Refresh Button In BusinessObjects XI R2 Web Intelligence Reports

How To Do It


Hiding the Refresh button in BusinessObjects XI R2 Web Intelligence reports might seem like a troublesome feat at first, particularly because BusinessObjects does not provide a built in option to do it out of the box. It is not and is considerably very simple.

To do it, the editing of a simple JavaScript file is required. This JavaScript file is responsible for loading the default Web Intelligence viewer that is bundled with BusinessObjects XI R2. Special thanks goes out to cgarcesg at Forum Topics for his original idea.

As a quick look ahead, this is what the small modification will accomplish:

  1. Examine the URL query string and search for a specific parameter

  2. Based on the value of the parameter, taken an action to display or hide the Refresh button


Perform the following steps in order to apply the aforementioned modification:

  1. Locate a JavaScript file named viewer.js. This file will be located in the following directory:

    [BOInstallDirectory]\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\viewers\cdz_adv\language\[BOLanguage]\scripts

    Where [BOInstallDirectory] is replaced with the BusinessObjects root installation directory and [BOLanguage] is replaced with the installation language of BusinessObjects.

  2. Prepend the following function to the top of the file. This function will be responsible for retrieving a query string parameter from the URL:

    // Retrieve Query String Parameter From URL.
    //
    // Function courtsey of lobo235 at
    // http://www.netlobo.com/url_query_string_javascript.html
    //
    // @param string name
    // @return string
    function gup( name )
    {
    name = name.replace( /[\[]/ , "\\\[" ).replace( /[\]]/ , "\\\]" );
    var regexS = "[\\?&]"+name+"=([^&#]*)";
    var regex = new RegExp( regexS );
    var results = regex.exec( window.location.href );
    if( results == null )
    return "";
    else
    return results[ 1 ];
    }

  3. Scroll down in the file until you find the following code segment:

    refreshDocIcon = addIcn(
    "refresh" ,
    7 ,
    ( bFullScreen ? null : "Refresh Data" ) ,
    "Refresh data to return latest results from the database"
    )


    Replace it with the following code segment:
    ( ( gup( "hideRefresh" ) == 1 ) ? refreshDocIcon = null : refreshDocIcon = addIcn(
    "refresh" ,
    7 ,
    ( bFullScreen ? null : "Refresh Data" ) ,
    "Refresh data to return latest results from the database"
    ) )


How To Use It


To use the modification, simply open a Web Intelligence document using the openDocumentscript that is supplied by Business Objects. Append the following parameter to the URL’s query string in order to hide the Refresh button when the Web Intelligence document loads:

hideRefresh=1

So, for example, if you want to load a Web Intelligence document with an id of 1000 and with the Refresh button hidden, you would do so using the openDocument script in the following format:

http://[BOCMSName]:[BOCMSPort]/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sType=wid&iDocID=1000&hideRefresh=1

Where [BOCMSName] is replaced with the name or the IP address of the BusinessObjects CMS you wish to connect to and [BOCMSPort] is replaced with the port the BusinessObjects CMS you wish to connect to is listening on for incoming connections.

Excluding the hideRefresh=1 parameter from the openDocument script will not make any changes and the Refresh button will remain visible. So feel free to ignore it in cases where you do not want the Refresh button to be hidden.

01 March 2009

Arabic language is not displayed properly in Dashboards and Analytics

It seems that the SVG Viewer has problems while encoding Arabic in the dashboards and analytics. To overcome this problem in Business Objects XI Release 3 you have to use Flash as a viewer and not SVG. Follow these steps to switch the viewer to Flash:

  1. Logon to Business Objects InfoView
  2. Click on Prefrences
  3. Click on Dashboards and Analytics
  4. Enable the Checkbox beside " Use Macromedia Flash when available " in the Rich Client Option section

Now Arabic should be displayed properly in the Dashboards and Analytics

08 February 2009

Refresh Table Structure In Designer

So let's say you created your table structure in your database backend and you imported your table in Designer, BusinessObject's sementaic layer designer.

You create your objects based on fields in the imported table structure. This is important to note since any modifications to the table structure in the database backend itself will not be reflected back into Designer!

So now what? Do you delete the table and re-import it in Designer? That would be a big mistake since any objects you created that depend on that table will now be broken! And if you are in a case like mine, where you have several hundred objects, this would be a nightmare.

Thankfully, Designer has an option appropriately named Refresh Structure. This option will, guess what, update the imported tables with their new structures that were modified in the database backend. What is not so convenient is its location and it is very easy to miss thanks to poor design by Business Objects.

Okay enough talk, let's learn how to do it. You have two options, either to update a single table or an entire universe.

To update a single table, simply highlight a table from the canvas, as shown in the following figure, navigate to View --> Refresh Structure. Designer should provide you with a confirmation message.



To update every table in the universe, select a blank area in the canvas, as shown in the following figure, navigate to View --> Refresh Structure. Designer should provide you with a confirmation message.



There you have it, a quick and simple way to update table structures in Designer. I end this post by, yet again, thanking you for reading.

23 December 2008

Error SQLSTATE=42727 When connecting DB2 database as a BOXIR3 Repository

If you are using DB2 as a repository for Business Objects XI R3 (I think that applies also to XI R2 but not tested yet) you may encounter an SQLSTATE=427427. To solve this issue create a database on DB2 and set its "Buffer Pool" to 32k. And then create a "Table Space" and set its type to "User Temporary".

14 November 2008

Business Objects XI Release 3 (BOXIR3) linking to reports through URL

Okey, it seems that Business Objects changed the URL that links directly to the reports in Release 3 and the reason is ... I have no idea. Anyway here is the comparison between linking to reports in BOXIR2 and BOXIR3

BOXIR2 : http://BOSERVER:PORT/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?iDocID=reportID

BOXIR3: http://BOSERVER:PORT/OpenDocument/opendoc/openDocument.jsp?iDocID=reportID

If you don't know where to get the ID of the report in BOXIR2 click here.
To get the report ID in BOXIR3 simply logon into InfoView and then to Document List, and Right-click on the report and click Properties, you will find the report ID and the CUID.

If you want to add Parameters to the URL click here

22 October 2008

Time Stamp Incorrect In BusinessObjects Auditing Database

Developers that are just getting started with BusinessObjects, or experienced developers that are not highly familiar with the internals of BusinessObjects, might be surprised when they view the BusinessObjects Auditing Database and find that it is incorrectly saving the time an event took place.

In actuality though, it is not. BusinessObjects, by design, saves the time stamp of an event in accordance with Greenwich Mean Time; in other words, the time your seeing is the time in Greenwich, England. To convert the time to your local time zone, it is as simple as adding or subtracting the number of hours difference between your local time and Greenwich.

For example, here in Egypt our timezone is GMT +2, which means we are 2 hours ahead of Greenwich Mean Time. So naturally, to convert the time stamp BusinessObjects is saving, I just add 2 hours when retrieving it from the database.

So where do convert? I would recommend you do it on the Universe level so that any reports you create that are dependent on the time stamp would not need any special formatting individually.

So now to the final question; Why is this by design? Coming straight from SAP Support:

This is by design in order to ensure and maintain the consistency of events no matter where the server is deployed or where the user is logging in.

14 October 2008

An error has occurred: Could not initialize Report Engine server. (Error: RWI 00226)

Well this is a common error that can occur during using the so called Business Objects XI R2 when we try to create a Web Intelligence Report.
The reason of this error is that the Web Intelligence Report Server is not running.
To run the server go to the Cenral Configuration Management and Start it the the
Web Intelligence Report Server.
If its already running then go to the Central Management Console through the Administration Launchpad and click on Servers and start the
Web Intelligence Report Server.
If you tried to run the server and it doesn't want to start then open the Registry ( type regedit in the Run ) and go to the following path "HKEY_LOCAL_MACHINE\Software\Business Objects\Suite 11.5\Enterprise\InstallRoot" and change the string value "Path" to directory of Business Objects 11.5 .
And then try to start the
Web Intelligence Report Server again.

I know you will wonder why the value is changed, possible reason is the installion of a new Business Objects software like Xcelsius set the directory to Business Objects 12.0 instead of 11.5

err: ERROR Failed to get cluster name. (STU00165) err: Error description: Database access error. Reason Loading shared objects failed. First tried to load library clntsh and failed because of error: [clntsh: cannot open shared object file: No such file or directory]. Second tried to load library libclntsh.so and failed because of error: [libclntsh.so: cannot open shared object file: No such file or directory].

I was using Business Objects XI 3.1 on Red Hat Enterprise Linux 5 and when run cmsdbsetup.sh to check the CMS repository I faced the following error:

err: ERROR Failed to get cluster name. (STU00165)
err: Error description: Database access error. Reason Loading shared objects failed. First tried to load library clntsh and failed because of error: [clntsh: cannot open shared object file: No such file or directory]. Second tried to load library libclntsh.so and failed because of error: [libclntsh.so: cannot open shared object file: No such file or directory].
After some search I find this solution:
Find libclntsh.so in your system by running the following command
 find / -name libclntsh.*
 gives the result: /libclntsh.so
then add the path of libclntsh.so into the LD_LIBRARY_PATH system variable by executing
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/libclntsh.so

Also make sure that the Oracle client is running and try to tnsping the repository database

QaaWS HTTP Servlet QaaWS error Sorry, something seems to have gone wrong... here are the details:

When using Query as a Webservice, and you try to import the WSDL link into Xcelsius an error may pop up and say "Unable to load URL". Or when you paste the link into your internet browser an error occurs as following:

QaaWS HTTP Servlet
QaaWS error
Sorry, something seems to have gone wrong... here are the details:

Exception - com.crystaldecisions.sdk.exception.SDKServerException: An error occurred at the server :
Enterprise authentication could not log you on. Please make sure your logon information is correct.

cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:An error occurred at the server :
Enterprise authentication could not log you on. Please make sure your logon information is correct.

The server supplied the following details: OCA_Abuse exception 10498 at [.\secpluginent.cpp : 610] 42040 {}
...Invalid password
I solved this problem by going to \Tomcat55\webapps\dswsbobje\WEB-INF\classes and open the dsws.properties with notepad. Then at the qaaws.principal.username and qaaws.principal.password insert the user name of Business Objects and the password.
Then restart the services.
For my case I created a separate username and password for the QaaWS.

Cannot access the repository. (USR0013)

[repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(Transport error: Communication failure. (FWM 00001) (hr=#0x80042a01)

If are facing this error then you need to add your computer name to the hosts file.

You can find the hosts file at this directory C:\WINDOWS\system32\drivers\etc
open the file with Notepad and add the ip and the server name for example:
192.1.1.200   BOServer1

If the server is part of domain you have to write the full address of machine, for example:
192.1.1.200   BOServer1.DomainName.com

This problem happens when you are connecting with Business Objects clients like, Universe Designer, Desktop Intelligence, and Web Intelligence Rich Client and so on...

Xcelsius 2008 error #2170

If you are using Xcelsius and have encounter error #2170 when you viewing a published dashboard then you have to check the link, if you are using IP try to change it to the hostname, for example: use http://boserver:8080/.../.. instead of http://192.168.1.3:8080/../..

The problem could be also the crossdomain file which is elaborated at this website http://neverknewthat.wordpress.com/2008/03/19/when-using-xcelsius-2008/

Error-1904 Module C:\Business Object\BusinessObjectsEnterprise 12.0\win32_x86\AppPluginMgr.dll failed to register.HRESULT -214704769

If you are facing this error: Error-1904 Module C:\Business Object\BusinessObjectsEnterprise 12.0\win32_x86\AppPluginMgr.dll failed to register.HRESULT -214704769 when you are trying to install Crystal Reports Server 2008 ( or other Business Objects product) then you need to disable the Data Execution Prevention (DEP).

To Disable DEP do the following:

  1. Open the boot.ini ( located in your C drive by default)
  2. Set the noexecute parameter to Alwaysoff, so it should be /noexecute=AlwaysOff
  3. Save the file and restart the computer
  4. Start the installation again

Xcelsius: Application Error Couldn't load keydecoder.dll

To solve that error you have to copy keydecoder.dll file from "Installation Directory\BusinessObjects Enterprise 12.0\win32_x86" folder and paste it to file into "Installation Directory\Xcelsius"

Unable to see tables in the Table Browser in Universe Designer using database IBM DB2

If you can't see the Tables inside the Table Browser of the Business Objects Universe Designer and you are using IBM DB2 or you are facing the following error:

[IBM] [CLI Driver][DB2/NT] SQL0443N Routine
"SYSIBM.SQLTABLES' (specific name "TABLES") has returned an error
SQLSTATE with diagnostic text. "SYSIBM:CLI:-805", SQLSTATE=38553

Then you need to BIND your database, in order to able to view the tables in the Table Browser or your application.

write the following queries in order to perfom the BINDING:

connect to database user username using password
bind db2clipk.bnd
bind db2clist.bnd
bind db2schema.bnd

In my case I wrote the full path of the bnd files in order to get it work

bind 'C:\Program Files\IBM\SQLLIB\bnd\db2clipk.bnd'
bind 'C:\Program Files\IBM\SQLLIB\bnd\db2clist.bnd'
bind 'C:\Program Files\IBM\SQLLIB\bnd\db2schema.bnd'

To make sure that everything is working properly you can CALL SQLTABLES procedure and see if it returns or produce an error.

Business Objects cannot logon to InfoView

THE UNDERSCORE! "_". I faced a weird problem that Business Objects cannot login to the InfoView when I write the Hostname in the InfoView link: http://BO_SERVER:8080/InfoViewApp .

I tried to login with localhost: http://LOCALHOST:8080/InfoViewApp and it logged successfully to the InfoView.

The problem is the "_" in the hostname, I think Business Objects cannot resolve it or something. Honestly, I did find any solution but to rename the server hostname and to reinstall Business Objects!

Business Objects XI 3.1 error while installling on Linux (Redhat Enterprise Linux)

When trying to install BusinessObjects XI 3.1 on Redhat Enterprise Linux 5 it gives that error:
Patch checking complete Can't load '/opt/boe/boxi3.1/perl/lib/site_perl/auto/XML/LibXML/Common/Common.so' for module XML::LibXML::Common: /opt/boe/boxi3.1/perl/extlibs/libz.so.1: cannot restore segment prot after reloc: Permission denied at /opt/boe/boxi3.1/perl/lib/5.8.8/i686-linux/DynaLoader.pm line 230. at /opt/boe/boxi3.1/perl/lib/site_perl/XML/LibXML.pm line 12 Compilation failed in require at /opt/boe/boxi3.1/perl/lib/site_perl/XML/LibXML.pm line 12. BEGIN failed--compilation aborted at /opt/boe/boxi3.1/perl/lib/site_perl/XML/LibXML.pm line 12. Compilation failed in require at BOBJEsetupui.pm line 20. BEGIN failed--compilation aborted at BOBJEsetupui.pm line 20. Compilation failed in require at ./setupui.pl line 23. BEGIN failed--compilation aborted at ./setupui.pl line 23.

The solution is to set the SELinux to enforce by issuing this command as root:
/usr/sbin/setenforce 0
(Note: 0 = Zero )

Cannot Perform this operation. No Valid License found (Error: INF)

If you encountered that error when trying to access a Web Intelligence report please do the following steps:

  1. Run> regedit
  2. Go to HKEY_Local_Machnie > SOFTWARE > Business Objects > Suite 12.0 > Shared Tools > keydecoder.dll
  3. Change the Path string to [BOBJ Directory]\BusinessObjects Enterprise 12.0\win32_x86\keydecoder.dll
  4. Restarts the servers

Installing Xcelsius 2008 after BusinessObjects may be the reason of the following error.

DBDriver failed to load, dbd_db2cli.dll (The specified module could not be found)

You may face the following error when you try to setup the repository connection for the performance manager:

DBDriver failed to load : C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\dataAccess\connectionServer\dbd_db2cli.dll (The specified module could not be found.)

The default path for the DB2 client on the server is at the end of the windows "Path" variable. This is because the 256 character limitation for the "Path" variable.

I solved this problem by editing the "Path" Variable, and put the following directories: D:\IBM\SQLLIB\BIN;D:\IBM\SQLLIB\FUNCTION;D:\IBM\SQLLIB\SAMPLES\REPL
in the at the start of the "Variable Value" ( they were at the last) and restarted the computer and it worked well.

Applet aa.sa.SAAP notinited

You may encounter this message in web browser status bar when you log into InfoView and go to the Dashboards and Analytics setup. I faced that problem and the solution was to install Windows Server 2003 service pack 2 ( SP2 )

Teradata ODBC Connection For Linux

Here is the steps need to be done in order to get NCR Teradata run Business Objects XI 3.x Web Intelligence Red Hat Enterprise Linux 5 (RHEL 5):

1. Install Teradata Client on the RHEL 5
2. Edit the ODBC.INI in the "bobje" directory and configure it as shown below :

[ODBC Data Sources]
teradataodbc= NCR 3600 running Teradata V2R6.1

[teradataodbc]
Driver=/usr/odbc/drivers/tdata.so
Description=NCR 3600 running Teradata V2R6.1
DBCName= Username=username of the database
Password=password of the database
DefaultDatabase= Characterset=UTF8


3. Create .odbc.ini file in /home/"username" and copy the the contents of odbc.ini (in bobje directory to it)


After completeing the above steps Web Intelligence should run the reports without producing any errors

Hiding The Refresh Button In BusinessObjects XI R2 Web Intelligence Reports

How To Do It


Hiding the Refresh button in BusinessObjects XI R2 Web Intelligence reports might seem like a troublesome feat at first, particularly because BusinessObjects does not provide a built in option to do it out of the box. It is not and is considerably very simple.

To do it, the editing of a simple JavaScript file is required. This JavaScript file is responsible for loading the default Web Intelligence viewer that is bundled with BusinessObjects XI R2. Special thanks goes out to cgarcesg at Forum Topics for his original idea.

As a quick look ahead, this is what the small modification will accomplish:

  1. Examine the URL query string and search for a specific parameter

  2. Based on the value of the parameter, taken an action to display or hide the Refresh button


Perform the following steps in order to apply the aforementioned modification:

  1. Locate a JavaScript file named viewer.js. This file will be located in the following directory:

    [BOInstallDirectory]\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\viewers\cdz_adv\language\[BOLanguage]\scripts

    Where [BOInstallDirectory] is replaced with the BusinessObjects root installation directory and [BOLanguage] is replaced with the installation language of BusinessObjects.

  2. Prepend the following function to the top of the file. This function will be responsible for retrieving a query string parameter from the URL:

    // Retrieve Query String Parameter From URL.
    //
    // Function courtsey of lobo235 at
    // http://www.netlobo.com/url_query_string_javascript.html
    //
    // @param string name
    // @return string
    function gup( name )
    {
    name = name.replace( /[\[]/ , "\\\[" ).replace( /[\]]/ , "\\\]" );
    var regexS = "[\\?&]"+name+"=([^&#]*)";
    var regex = new RegExp( regexS );
    var results = regex.exec( window.location.href );
    if( results == null )
    return "";
    else
    return results[ 1 ];
    }

  3. Scroll down in the file until you find the following code segment:

    refreshDocIcon = addIcn(
    "refresh" ,
    7 ,
    ( bFullScreen ? null : "Refresh Data" ) ,
    "Refresh data to return latest results from the database"
    )


    Replace it with the following code segment:
    ( ( gup( "hideRefresh" ) == 1 ) ? refreshDocIcon = null : refreshDocIcon = addIcn(
    "refresh" ,
    7 ,
    ( bFullScreen ? null : "Refresh Data" ) ,
    "Refresh data to return latest results from the database"
    ) )


How To Use It


To use the modification, simply open a Web Intelligence document using the openDocumentscript that is supplied by Business Objects. Append the following parameter to the URL’s query string in order to hide the Refresh button when the Web Intelligence document loads:

hideRefresh=1

So, for example, if you want to load a Web Intelligence document with an id of 1000 and with the Refresh button hidden, you would do so using the openDocument script in the following format:

http://[BOCMSName]:[BOCMSPort]/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sType=wid&iDocID=1000&hideRefresh=1

Where [BOCMSName] is replaced with the name or the IP address of the BusinessObjects CMS you wish to connect to and [BOCMSPort] is replaced with the port the BusinessObjects CMS you wish to connect to is listening on for incoming connections.

Excluding the hideRefresh=1 parameter from the openDocument script will not make any changes and the Refresh button will remain visible. So feel free to ignore it in cases where you do not want the Refresh button to be hidden.

Arabic language is not displayed properly in Dashboards and Analytics

It seems that the SVG Viewer has problems while encoding Arabic in the dashboards and analytics. To overcome this problem in Business Objects XI Release 3 you have to use Flash as a viewer and not SVG. Follow these steps to switch the viewer to Flash:

  1. Logon to Business Objects InfoView
  2. Click on Prefrences
  3. Click on Dashboards and Analytics
  4. Enable the Checkbox beside " Use Macromedia Flash when available " in the Rich Client Option section

Now Arabic should be displayed properly in the Dashboards and Analytics

Refresh Table Structure In Designer

So let's say you created your table structure in your database backend and you imported your table in Designer, BusinessObject's sementaic layer designer.

You create your objects based on fields in the imported table structure. This is important to note since any modifications to the table structure in the database backend itself will not be reflected back into Designer!

So now what? Do you delete the table and re-import it in Designer? That would be a big mistake since any objects you created that depend on that table will now be broken! And if you are in a case like mine, where you have several hundred objects, this would be a nightmare.

Thankfully, Designer has an option appropriately named Refresh Structure. This option will, guess what, update the imported tables with their new structures that were modified in the database backend. What is not so convenient is its location and it is very easy to miss thanks to poor design by Business Objects.

Okay enough talk, let's learn how to do it. You have two options, either to update a single table or an entire universe.

To update a single table, simply highlight a table from the canvas, as shown in the following figure, navigate to View --> Refresh Structure. Designer should provide you with a confirmation message.



To update every table in the universe, select a blank area in the canvas, as shown in the following figure, navigate to View --> Refresh Structure. Designer should provide you with a confirmation message.



There you have it, a quick and simple way to update table structures in Designer. I end this post by, yet again, thanking you for reading.

Error SQLSTATE=42727 When connecting DB2 database as a BOXIR3 Repository

If you are using DB2 as a repository for Business Objects XI R3 (I think that applies also to XI R2 but not tested yet) you may encounter an SQLSTATE=427427. To solve this issue create a database on DB2 and set its "Buffer Pool" to 32k. And then create a "Table Space" and set its type to "User Temporary".

Business Objects XI Release 3 (BOXIR3) linking to reports through URL

Okey, it seems that Business Objects changed the URL that links directly to the reports in Release 3 and the reason is ... I have no idea. Anyway here is the comparison between linking to reports in BOXIR2 and BOXIR3

BOXIR2 : http://BOSERVER:PORT/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?iDocID=reportID

BOXIR3: http://BOSERVER:PORT/OpenDocument/opendoc/openDocument.jsp?iDocID=reportID

If you don't know where to get the ID of the report in BOXIR2 click here.
To get the report ID in BOXIR3 simply logon into InfoView and then to Document List, and Right-click on the report and click Properties, you will find the report ID and the CUID.

If you want to add Parameters to the URL click here

Time Stamp Incorrect In BusinessObjects Auditing Database

Developers that are just getting started with BusinessObjects, or experienced developers that are not highly familiar with the internals of BusinessObjects, might be surprised when they view the BusinessObjects Auditing Database and find that it is incorrectly saving the time an event took place.

In actuality though, it is not. BusinessObjects, by design, saves the time stamp of an event in accordance with Greenwich Mean Time; in other words, the time your seeing is the time in Greenwich, England. To convert the time to your local time zone, it is as simple as adding or subtracting the number of hours difference between your local time and Greenwich.

For example, here in Egypt our timezone is GMT +2, which means we are 2 hours ahead of Greenwich Mean Time. So naturally, to convert the time stamp BusinessObjects is saving, I just add 2 hours when retrieving it from the database.

So where do convert? I would recommend you do it on the Universe level so that any reports you create that are dependent on the time stamp would not need any special formatting individually.

So now to the final question; Why is this by design? Coming straight from SAP Support:


This is by design in order to ensure and maintain the consistency of events no matter where the server is deployed or where the user is logging in.

An error has occurred: Could not initialize Report Engine server. (Error: RWI 00226)

Well this is a common error that can occur during using the so called Business Objects XI R2 when we try to create a Web Intelligence Report.
The reason of this error is that the Web Intelligence Report Server is not running.
To run the server go to the Cenral Configuration Management and Start it the the
Web Intelligence Report Server.
If its already running then go to the Central Management Console through the Administration Launchpad and click on Servers and start the
Web Intelligence Report Server.
If you tried to run the server and it doesn't want to start then open the Registry ( type regedit in the Run ) and go to the following path "HKEY_LOCAL_MACHINE\Software\Business Objects\Suite 11.5\Enterprise\InstallRoot" and change the string value "Path" to directory of Business Objects 11.5 .
And then try to start the
Web Intelligence Report Server again.

I know you will wonder why the value is changed, possible reason is the installion of a new Business Objects software like Xcelsius set the directory to Business Objects 12.0 instead of 11.5