Menu

WChar Codeset

Help
asenir
2010-12-15
2013-05-01
  • asenir

    asenir - 2010-12-15

    Hello,

    I try to connect to a Corba Server, which use JacORB, with following code:

    IiopChannel sChannel = new IiopChannel(0);

                ChannelServices.RegisterChannel(sChannel, false);
                CorbaSessionManager sessionManager = (CorbaSessionManager)RemotingServices.Connect(typeof(CorbaSessionManager), loc );
               
                CorbaClientImpl client = new CorbaClientImpl(server);
                CorbaSessionParameters param = new CorbaSessionParameters(user, passwort, other, db, other);

                CorbaSessionCreationResult result = sessionManager.createSession(client, param);

    but this code throws this exception by executing the last line:

    CORBA system exception : omg.org.CORBA.BAD_PARAM  , completed: Completed_MayBe minor: 987

    How can i solve this problem without any access to JacORB?

     
  • Alexander Kornienko

    Hi,

    It seems that the server uses WChar codeset, that is not implemented in IIOPNet. For proper diagnostic you should provide logs from the debug build of IIOPChannel.dll and exact version of IIOPNet you use.

    Regards,
    Alexander

     

Log in to post a comment.