RangerMSP Business Automation for successful ITs


Go Back   RangerMSP Forums > RangerMSP Software Discussion Forum (CCRM)

Thread Tools Search this Thread
 
January 7th, 2013, 11:02 AM
shailesh6233
 
Posts: 8
I am Getting this error while configuring CommitCRM CRM API


Unable to load DLL 'CmtDbQry.dll': The specified module could not be found.
 
January 7th, 2013, 11:11 AM
Support Team
 
Posts: 7,520
Your application .exe file should be located under the following folder, that contains this DLL file:

\RangerMSP\ThirdParty\UserDev\
 
January 7th, 2013, 11:27 AM
shailesh6233
 
Posts: 8
The CmtDbEng.dl file is there but CommitCRM.exe file is in Client folder. still I am getting error. Please help me to solve this error.

This is my code for CRM:

CommitCRM.Config config = new CommitCRM.Config();

config.AppName = "CommitCRM-Qutlook-Sync";
config.CommitDllFolder = "C:\\CommitCRM\\ThirdParty\\UserDev";
config.CommitDbFolder = "C:\\CommitCRM\\Db";
CommitCRM.Application.Initialize(config);
 
January 7th, 2013, 11:43 AM
Support Team
 
Posts: 7,520
I referred to your application not to RangerMSP.exe that should indeed not be there. Anyway, if the dll is not found in this folder, and it should, then you need to copy it from the \RangerMSP\LastVer folder.

Side note: You cannot use this name for your application. It can be Outlook sync for RangerMSP but not something that starts with RangerMSP.
 
January 7th, 2013, 12:09 PM
shailesh6233
 
Posts: 8
Sorry I did not get it, which file to copy where. can you explain it in simple way.
 
January 7th, 2013, 01:00 PM
Support Team
 
Posts: 7,520
Sure - you reported above about the missing 'CmtDbQry.dll' file. Please copy it to the from the \RangerMSP\ThirdParty\UserDev\ and to the \RangerMSP\LastVer folder.
 
January 7th, 2013, 01:40 PM
shailesh6233
 
Posts: 8
The File Is Already There
 
January 7th, 2013, 01:52 PM
Support Team
 
Posts: 7,520
Great. It should have been there in the first place. You will need to check your program code and try to figure out why your program does not 'see' it. We recommend that you move your .exe file (of the program you write) into this folder as well and give it another try. In case it does not work it has to be something with the code itself. Check our API guides again and review all demos.
 
January 8th, 2013, 06:57 AM
shailesh6233
 
Posts: 8
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);

and still 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 read your API and viewed demos still I am not getting what I am doing wrong
 
January 8th, 2013, 07:36 AM
Support Team
 
Posts: 7,520
Please find some guiding questions that may help - in short - we suspect that there's a 32bit and 64bit conflict.

1. Which version of Visual Studio do you use?
2. Which operating system?
3. Whether are you using the C# sample provided or did you start a new project?
In case you started a new project - please make sure it compiles to 32 bit code unlike the default with some 64bit installations.

Hope this helps.
Reply





All times are GMT -6. The time now is 04:20 AM.

Archive - Top    

RangerMSP - A PSA software designed for MSPs and IT Services Providers
Forum Software Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.