Downgrading Version of Repositories in OBIEE
Courtesy: Mamta Dayama
Repository Files are not backward compatible. (but they are a upward compatible) i.e. One cannot use a rpd file created with a higher version of the Admin tool in a lower version of the Admin tool. But the vice versa is possible.
I got the below error, after trying to open a repository that was created with 10.1.3.3.0 of the Admin tool from 10.1.3.3.2 version of the Admin tool.

Now, how do we downgrade the repository to a lower version. In earlier releases of BI EE and Siebel Analytics, there was a tool called as nqgenoldverrpd.exe which would automatically downgrade the repositories. But in the current releases we do not have this tool.
This approach will not work if you are using any new features that are specific to newer version of Admin tool.
I have 10.1.3.3.0 version of the Admin tool in Machine A and 10.1.3.3.2 version of the Admin tool in Machine B. Our aim is to make the repository created with the Admin tool in Machine B, work with the Admin tool in Machine A. In order to achieve this, go to machine B and open up a command prompt. Type in the following command.
D:\Oracle\OracleBI\server\bin\nqudmlgen -U Administrator -P Administrator -R Paint.rpd -O Paint.txt
So, what we are basically doing is we are creating the UDML of the repository using the nqudmlgen.exe utility. Once this done, copy the Paint.txt to Machine A. Open up the copied UDML file (Paint.txt) in a text editor. One the top of this text file you would basically see something like the one below
DECLARE REPOSITORY PROPERTIES (‘CustomPresentationLayer’ = ‘01′,‘PersistedNextUpgradeID’ = ‘BA500000′);VERSION 1.1.185;
We got the above mentioned error because of the VERSION 1.1.185. Now, edit this line and change it to 180 (for 10.1.3.3.0 version. This number varies for each version of BI EE release).
DECLARE REPOSITORY PROPERTIES (‘CustomPresentationLayer’ = ‘01′,‘PersistedNextUpgradeID’ = ‘BA500000′);VERSION 1.1.180;
Save this file in Machine A and then in Machine A open up a command prompt and enter the below command.
D:\oracle\OracleBI\server\Bin\nqudmlexec -U Administrator -P Administrator -I Paint.txt -O Paint_new.rpd
Again, we are basically using the nqudmlexec.exe utility to recreate the repository from the UDML text file. But now we should be able to open the repository in the lower version of the Admin tool.
Repository Files are not backward compatible. (but they are a upward compatible) i.e. One cannot use a rpd file created with a higher version of the Admin tool in a lower version of the Admin tool. But the vice versa is possible.
I got the below error, after trying to open a repository that was created with 10.1.3.3.0 of the Admin tool from 10.1.3.3.2 version of the Admin tool.
Now, how do we downgrade the repository to a lower version. In earlier releases of BI EE and Siebel Analytics, there was a tool called as nqgenoldverrpd.exe which would automatically downgrade the repositories. But in the current releases we do not have this tool.
This approach will not work if you are using any new features that are specific to newer version of Admin tool.
I have 10.1.3.3.0 version of the Admin tool in Machine A and 10.1.3.3.2 version of the Admin tool in Machine B. Our aim is to make the repository created with the Admin tool in Machine B, work with the Admin tool in Machine A. In order to achieve this, go to machine B and open up a command prompt. Type in the following command.
D:\Oracle\OracleBI\server\bin\nqudmlgen -U Administrator -P Administrator -R Paint.rpd -O Paint.txt
So, what we are basically doing is we are creating the UDML of the repository using the nqudmlgen.exe utility. Once this done, copy the Paint.txt to Machine A. Open up the copied UDML file (Paint.txt) in a text editor. One the top of this text file you would basically see something like the one below
DECLARE REPOSITORY PROPERTIES (‘CustomPresentationLayer’ = ‘01′,‘PersistedNextUpgradeID’ = ‘BA500000′);VERSION 1.1.185;
We got the above mentioned error because of the VERSION 1.1.185. Now, edit this line and change it to 180 (for 10.1.3.3.0 version. This number varies for each version of BI EE release).
DECLARE REPOSITORY PROPERTIES (‘CustomPresentationLayer’ = ‘01′,‘PersistedNextUpgradeID’ = ‘BA500000′);VERSION 1.1.180;
Save this file in Machine A and then in Machine A open up a command prompt and enter the below command.
D:\oracle\OracleBI\server\Bin\nqudmlexec -U Administrator -P Administrator -I Paint.txt -O Paint_new.rpd
Again, we are basically using the nqudmlexec.exe utility to recreate the repository from the UDML text file. But now we should be able to open the repository in the lower version of the Admin tool.