VS2005 C# .NET DeskI error: Member not found
I made a service application in VS2005 C# .NET for BO XI R2 Enterprise, which collects a lot of information from the CMS, Universes, Reports etc. I have to open Desktop Intelligence reports with the busobj COM component (as far as I know it is the only way to get the universe object names from data providers).
The problem is that in my development enviroment everything works fine, but in the production environment the last release I made fails when it is trying to logon to CMS. It says:
Error: System.Runtime.InteropServices.COMException (0x80020003): Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32 aWrapperTypes, MessageData& msgData)
at busobj.ApplicationClass.Logon(String User, String Pass, String CMS, String mode, Boolean ThreeTier, Boolean Offline)
The code is something like that:
DeskIApp = new busobj.Application();
DeskIApp.Logon("user", "password", "cmsname:port", "Enterprise", false, false);
The previous releases just worked fine, the only changes on the CMS server were that FixPack 2.2 and 2.5 was installed. I thought that maybe that would cause the problem, but I installed them on my development server and it still works fine.
Any help appreciated!