This project is read-only.

Configurator: Can not configure server connection (AD Authentication)


When trying to configure a connection to a local Dynamics CRM deployment using AD Authentication in "CRM Queue Manager Configurator" the following issues occur during "Step 2":
a) Label for field "username" overlaps with field input area - need to type username blindly (grows to "Username [domain\username]" after specifying the server URL)
b) The Password is readable (should be dotted)
c) An exception message is displayed "Object reference not set to an instance of an object". Even after trying with different credentials etc.

file attachments


jowagner wrote Oct 30, 2012 at 2:21 PM

Applies to "CRM Queue Manager 2.0 Beta 3"

wrote Oct 31, 2012 at 11:29 PM

Eneuman wrote Oct 31, 2012 at 11:29 PM

I have attached a new version of CRM Queuemanager Configuration tool.
This version creates a log if anything goes wrong.
Could you give it a try and send me the log if you receive an error?
No connectioninformation will be logged, only stack trace.

I also fixed the overlaps problem and the password is now hidden.


jowagner wrote Nov 2, 2012 at 9:27 AM

Per, thanks fpr you rapid response!
I tried the new version. Issues a) and b) fixed now :-)
The log now says:

Occured:02.11.2012 09:22:04
Error message:Object reference not set to an instance of an object.
Stacktrace: at Microsoft.Crm.Sdk.Samples.ServerConnection.GetUserLogonCredentials(Configuration config) in C:\Projects\CRM Queue Manager\QueueManagerHelper\Helpercode\crmservicehelpers.cs:line 599
at Microsoft.Crm.Sdk.Samples.ServerConnection.GetProxy[TService,TProxy](Configuration currentConfig) in C:\Projects\CRM Queue Manager\QueueManagerHelper\Helpercode\crmservicehelpers.cs:line 773
at Microsoft.Crm.Sdk.Samples.ServerConnection.GetDiscoveryProxy() in C:\Projects\CRM Queue Manager\QueueManagerHelper\Helpercode\crmservicehelpers.cs:line 1024
at QueueManager.Helper.Crm.CustomCrmServiceHelper.GetOrganizations() in C:\Projects\CRM Queue Manager\QueueManagerHelper\Crm\CustomServerConnection.cs:line 210

at Config.Form1.btConnect_Click(Object sender, EventArgs e) in C:\Projects\CRM Queue Manager\QueueManagerConfig\Form1.cs:line 76

wrote Nov 8, 2012 at 6:41 PM

Eneuman wrote Nov 8, 2012 at 6:41 PM

I think I found the problem but unfortently I can't test it since we don't have an on-premisis CRM installation.

I have attached a new version to my post.
Unzip if and overwrite your current existing files with the files inside this package.

Let me know how it goes.


jowagner wrote Nov 9, 2012 at 8:42 AM

Hi Per,

Seems to work now!
Thanks for the quick turnaround!


wrote Feb 14, 2013 at 1:55 AM

wrote Aug 8, 2013 at 7:36 PM