Hello everyone!
I have just installed CRM dynamics 4 as a fresh installation on a server called TO-AP1 port 5555 with a company called Gigatech. At first, when I tryied to access the webpage (http://TO-AP1:5555) I would get the following error "You are not authorized to view this page due to invalid authentication headers".
The first thing I did to try to resolve the problem was use the following command in command promp:
C:\Inetpub\AdminScripts\adsutil.vbs set w3svc/2/NTAuthenticationProviders "Negotiate,NTLM"
It still didnt work and then I realized I didnt have the windows authentication feature installed so I installed that. Then I tryed to access the webpage (http://TO-AP1:5555) and was promped to login. I used the following syntax:
Username = Gigatech\Administrator <-- the deployment administrator in the management console
Password = *******
and it said it was wrong and would prompt me 3 times, and then take me to a blank screen. I kept trying and then got "no users exist in the company" After that, I made sure only authentication type in IIS7 for CRM was "Windows Authentication" and disabled the others. Then I got the following error:
bject reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilegeGroupForOrganization(WindowsIdentity identity, IOrganizationContext context) +146
Microsoft.Crm.BusinessEntities.SecurityLibrary.GetPrivilegedUserCallerAndBusinessGuidsFromThread(WindowsIdentity identity, IOrganizationContext context) +104
Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId) +239
Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId) +388
Microsoft.Crm.Authentication.WindowAuthenticationProviderBase.Authenticate(HttpApplication application) +722
Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application) +301
Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application) +105
Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e) +1194
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
|
I am at a complete loss, please advise :(