PDA

View Full Version : Unable to connect remote server?


shailesh6233
January 8th, 2013, 05:33 AM
Its regarding CommitCRM Outlook Syncs plugin.

This is my code for to connect CommitCRM application ?

config.AppName = "Qutlook-Sync";
config.CommitDllFolder = "C:\\CommitCRM\\ThirdParty\\UserDev";
config.CommitDbFolder = "C:\\CommitCRM\\Db";
config.WebAPIUrl = "http://localhost:4964/";
config.UseWebAPI = true;
config.DbEngPassword = "";
config.DbQryPassword = "";
CommitCRM.Application.Initialize(config);

Do I need to set up Server Configuration?

Thanks if any one can help.

Support Team
January 8th, 2013, 06:04 AM
You either connect by using the API DLLs (this is when your application is running on the LAN together with RangerMSP) - in this case no server is required, though it is optional, or you connect from a remote site and want to integrate RangerMSP over http/https. In case you try to connect to the API remotely, from outside of your server, then you need to set the WebAPIURL, as you have above, and also install the RangerMSPServer side of things, and configure it to accept remote API calls.

shailesh6233
January 8th, 2013, 06:32 AM
When I try to connect using this code

config.AppName = "QutlookSyncs";
config.CommitDllFolder = "C:\\CommitCRM\\ThirdParty\\UserDev";
config.CommitDbFolder = "C:\\CommitCRM\\Db";
CommitCRM.Application.Initialize(config);

I get this error

Unable to load DLL 'CmtDbQry.dll': The specified module could not be found.

I have referenced CommitLib.dll in my application.

I am not getting what I am doing wrong

Support Team
January 8th, 2013, 07:34 AM
Please do not post the same question in more than one forum thread. Thanks.