Domino Server Not Respsonding ---> HELP (F1 F1 F1)

Help Needed ----> Domino Server Not Responding or Server Path Not Found

Hello Guys,

I have installed Domino server on my machine with Server name in English characters and Certifier name in Russian Characters

So, the domino server name becomes machine Servername/Certifier name

eg. if machine on which the domino server is installed is is “arni” and Certifier name is some russian characters… “фисв”

then the domino server name becomes “arni/фисв”.

I have also installed Lotus Notes on my machine and configured Adminitartor on it and it configured properly.

I am trying to use notes CPP APIs to connect too server:

LNDatabase Db;

const char * sNotesServer = “CN=arni/O=фисв”; (This is just an exmaple…actually i give the server name in LMBCS, for simplicity i have shown the server name in

russain)

LNSTATUS dwLNStatus = 0;

dwLNStatus = Session.GetDatabase (“Names.NSF”, &Db, sNotesServer);

if (dwLNStatus)

{

return false;

}

dwLNStatus = Db.Open(); // <====== fails HERE if Domino not running

if (dwLNStatus)

{

return false;

}

Now in the above code, my Open() API fails with error “Server not Responding” or “Server Path Not found”.

Is there some problem of LMBCS string which i am giving it to the GetDatabase() function?

Does GetDatabase() function works fine with LMBCS strings?

Is the network setting on my machine are correct for connect?

Do i have to do some different setting for my network to get this working?

Another observation…

I installed domino server and configured it with server name as russian and certifier name as english.

Now when i install Lotus notes and configure the adminitrator, it is not able to connect to server saying “server not responding” using TCPIP network type, but when i

change it to Netbios network type…it connects to the server and then administrator is conmfigured.

But my real problem lies in the scenario above.

I hope i have explained enough about my problem description…

I am also trying to get in touch with the Lotus guys.

I hope to resolve this problem soon.

Your help in this respect would be surely appreciable and i request you to help me in giving me your really great suggestions…

waiting for your reply

Best Regards

Sunil Rashinkar

Subject: Domino Server Not Respsonding —> HELP (F1 F1 F1)

You wrote that you store the LMBCS characters in the string, and the example shows the string pointer is a “char *”. If that’s the case, the C++ API is trying to interpret the input LMBCS string as platform characters. That means the input is converted to LMBCS, which usually results in garbage.

The versions of the LNString constructors and member functions that accept “char *” inputs perform the conversion from platform characters to LMBCS. The constructors and functions that accept “LNCHAR *” assume that the input is already in LMBCS, and skip the conversion step.

In order to pass LMBCS character strings to C++ API functions, you need to tell it that the input is in LMBCS, like so:

dwLNStatus = Session.GetDatabase (“Names.NSF”, &Db,

LNString ((LNCHAR *) sNotesServer));

That will skip the conversion, passing your LMBCS characters directly to Domino.

This is actually one of the most common problems people encounter in using the C++ API. If anyone has suggestions on how we can make this more obvious, I’d appreciate them!

                            - - Steve Boylan

                            Notes & Domino C++ API Team

Subject: Domino Server Not Respsonding —> HELP (F1 F1 F1)

Have you tried to connect with just the server name, leave out the /O= since mostly Notes will resolve the name correctly and only needs the rest for foreign domains or duplicated server names.