Link to home
Start Free TrialLog in
Avatar of suppsaws
suppsawsFlag for Belgium

asked on

CRM user authentication error

I am getting this error on a crm 3.0 installation a a win server 2003 wit one user:

Authentication Error
Microsoft CRM could not log you on to the system. Make sure your user
record is enabled and that you have been assigned at least one security
role. For more information, contact your system administrator.

The user is listed on the deployment manager > user manager with admin security.
The user gets this error in outlook, NOT when he connects to the crm via the web browser ...

Does anybody have an idea what could be the problem here? sql?
Avatar of Redwulf__53
Redwulf__53
Flag of Netherlands image

No not SQL; the CRM client doesn't connect directly to sql.
The fact that the user can connect through the Browser, indicates the server system is setup correctly.
My guess is that a different URL has been entered during the SfO installation... Verify that it is the same. The URL can be found in the regustry of the client PC (start->run->regedit.exe)
HKEY_CURRENT_USER\Software\Microsoft\MSCRMClient
Keys to check: ServerURL and Platformroot.
If the client connects through the browser with http://crm, and the SfO client connects with http://crm.mydomain.com, make sure crm.mydomain.com is added to the Trusted Sites or Intranet zone in Internet Explorer security settings.
Avatar of suppsaws

ASKER

Redwulmf, thanks for your answer.

I checked the settings:

Under HKCU I see the MSCRM folder, but there is almost nothing in it.
Under HKLM I see the MSCRM foklder with content.
The ServerURL = http://S002/MSCRMServices, but when I connect this url from my client machine, I get a 403 forbidden ...
I cannot see the Platformroot key.

CRM is running on port 80 instead of 5555. So I can connect via http://servername
Should I change that key to "http://S002/" ? what about the Platformroot key?
ow, my bad, I was looking at the server's registry.
If I look at the client registry, the url is
http://server:80/MSCRMServices

I changed it to http://server

Still the same error in outlook .... I can connect to the web client though ...
I compaired my colleague's registry with mine (where everything is working).
both keys are set to http://server/MSCRMServices on my pc, so i changed his registry keys with that url. still the same error ... :/
anything else I can check?
The Platformroot key *must* have /MSCRMServices at the end!
If the CRM site is running on port 5555, the ServerURL  and the Platformroot must be http://s002:5555/MSRCMServices,
and the WebAppUrl key (sorry I didn't mention this before) should be http://s002:5555.
As long as http://s002:5555 also works in the Browser.

it is set to http://server/MSCRMServices on the person's pc ... still no luck though.
He can connact via the url > http://server, but not via the ms outlook interface... .
It looks like it's using a different userid via the outlook interface??
Redwulf,

I think this is because we change the username in AD while he was already added to crm.

How can i delete this user from the crm userlist and re-add him?
Since you only change the Username nd all related objects will still be the same, you can change it directly in the Database without having to re-create the account: SystemUserBase table in the _MSCRM database.
Redwulf,

can't I just delete the user from the crm users and recreate in with the crm user manager?
I mean, do I really have to edit the databases? I don't want to do smth wrong in there ... .
I'd rather recreate the user, but how can i do this in crm?
Indeed, its safer to do it through the CRM application. However, you cannot delete a user; only disable (...and re-assign all the records the old user account owns to the new user account).
Hello Red,

Sorry for the late response, much work to do :)
I did change his email, but that didn't fix the user authentication problem :/
Do you have an idea how i could fix this user auth error in his outlook client?
webbased it works fine, that is the strange part
...
ASKER CERTIFIED SOLUTION
Avatar of Redwulf__53
Redwulf__53
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, finally I was **** of it, I reinstalled the crm outlook client: problem fixed .... :)
phew ;)
thank you very much for all, the effort!!