COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: costin_chivu on 10 May 2012 04:46:14 AM

Title: COG_ROOT ISSUES
Post by: costin_chivu on 10 May 2012 04:46:14 AM
Hi everyone,

I have a strange issue with COG_ROOT variable. I'm using both Cognos Transformer and Framework Manager. If I'm setting the COG_ROOT env variable to point to bin directory, FM fails with error BME-EX-0126. If I'm deleting the COG_ROOT variable or redirect it to C8 folder, it works. Till now, no problem. But I want to use Transformer SDK also. And, when i'm doing GenerateCategories() or creadeMDC(), if the COG_ROOT is not set to point to bin, the application fails with TR0649 Error code. If I'm setting back to bin, it works.

Could you please teach me how to deal with this? I cannot change COG_ROOT every time I want to do something in FM and change it back when I'm running a .net cube processing because I'm not a local admin and... I need to ask it to do it everytime :)

Thanks a lot,
Costin
Title: Re: COG_ROOT ISSUES
Post by: costin_chivu on 10 May 2012 07:17:55 AM
For anyone who'll encounter this, you do the following:

- delete the COG_ROOT environment variable (FM will start without it)
- in your .net application, specify your environment variable target as .process

That's all, hope it helps.

Thanks,
C