Error - Object reference not set to an instance of an object. RRS feed

  • Question

  • Hi

    I am experiencing an error with a new CRM 4.0 installation.  I have completed the installation successfully. When I try to log in to the CRM, I receive the sign in page. After sign in, I receive this error. Can anybody provide any assistance on the error or what I should do to get more information? Thanks for your help


    Server Error in '/' Application.

    Object 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.

    [NullReferenceException: Object reference not set to an instance of an object.]
       Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilegeGroupForOrganization(WindowsIdentity identity, IOrganizationContext context) +112
       Microsoft.Crm.BusinessEntities.SecurityLibrary.GetPrivilegedUserCallerAndBusinessGuidsFromThread(WindowsIdentity identity, IOrganizationContext context) +64
       Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId) +199
       Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request) +167
       Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal() +605
       Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveAvailableLanguagesCommand.Execute() +10
       Microsoft.Crm.Application.Utility.ApplicationLanguage.get_AvailableLanguages() +211
       Microsoft.Crm.Application.Controls.AppUIPage.get_AvailableLanguages() +5
       Microsoft.Crm.Application.Controls.AppUIPage.SetCurrentUICulture() +16
       Microsoft.Crm.Application.Controls.AppPage..ctor() +19
       Microsoft.Crm.Web.Default..ctor() +11
       ASP.default_aspx..ctor() +13
       __ASP.FastObjectFactory_app_web_y9go213k.Create_ASP_default_aspx() +20
       System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
       System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
       System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
       System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
       System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
       System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
    Sunday, January 10, 2010 6:30 AM


  • what happens if you try to sign in from the CRM server using the http://localhost:5555   The URL assumes your crm server is on port 5555.  If not, drop the port and try it. Also, ensure you are signing in with the same login that you used to install CRM.
    Best Regards, Donna
    • Proposed as answer by Donna EdwardsMVP Wednesday, January 20, 2010 5:47 PM
    • Marked as answer by Jim Glass Jr Friday, February 26, 2010 9:24 PM
    Monday, January 11, 2010 2:47 PM