Can't Access CRM after Install

Answered Can't Access CRM after Install

  • Thursday, 17 July, 2008 2:31 PM
     
     

    Afternoon,

     

    I've just installed CRM 4.0 on a virtual machine but I get the following error when I try to access the url 'http://localhost:5555/mycompany'

     

    "The requested record was not found or you do not have sufficient permissions to view it."

     

    I've registered and created an organisation.

     

    Any ideas?

     

    Windows Server 2003 Standard R2 with

    Exchange 2003

    SQL 2005

    VS .NET Developer Edition

All Replies

  • Friday, 18 July, 2008 8:27 AM
    Owner
     
     

     

    Please make sure the CRM AppPool account is a member of PrivUserGroup{guid}

     

    Jim

  • Friday, 18 July, 2008 8:51 AM
    Moderator
     
     

     

    And if the application pool Identity is network service than try putting the macine account in that group..

     

  • Friday, 18 July, 2008 3:28 PM
     
     

    It is a network service, and I've added the machine account as a member of privusergroup but same error.

     

    The error in the Win event log says that CRM can't find the user with the guid id of ("0000-0000-0000-etc") so I think it might be to do with me not having a user set up in the AD under the organisation that I have for CRM.  I've added one and I'm trying again.

     

    There was also an issue with not being able to access the folder "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" but I've resolved that by adding "network service" to the permitted users.

     

     

     

     

     

  • Friday, 18 July, 2008 4:00 PM
     
     

    Still erroring... the error in the Windows Event Log is:

     

    Event Type: Error
    Event Source: MSCRMKeyGenerator
    Event Category: None
    Event ID: 18958
    Date:  18/07/2008
    Time:  16:56:42
    User:  N/A
    Computer: VM-2003R2
    Description:
    Active Key of type : CrmWRPCTokenKey not found for scalegroup id : 00000000-0000-0000-0000-000000000000. Exception : Microsoft.Crm.CrmConfigObjectNotFoundException: CrmKey With Id = 00000000-0000-0000-0000-000000000000 Does Not Exist
       at Microsoft.Crm.CrmKey.LoadExistingKey(Guid crmKeyId)
       at Microsoft.Crm.CrmKey..ctor(Guid crmKeyId, Boolean useCachedValues)
       at Microsoft.Crm.CrmKey.LoadKey(Guid keyId, Boolean useCachedValues)
       at Microsoft.Crm.CrmKey.GetActiveKey(CrmKeyType keyType, Guid scaleGroupId, Boolean useCachedValues, String& algorithm). Please make sure that key management hosting service is running.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

     

    Any ideas guys?

     

  • Saturday, 19 July, 2008 6:16 PM
    Moderator
     
     
    Can you get into deployment manager?  If so, can you create a new Organization?

     

  • Saturday, 19 July, 2008 6:18 PM
    Moderator
     
     
    Also, did you import an existing CRM database in with deployment manager?  I had a case where I did this and got the error that you posted.  The problem was that the database was from a different network, and the network service on the virtual did not have rights to read the database.

     

  • Sunday, 20 July, 2008 1:25 AM
     
     

    I recall seeing something like this in the past. One or two ways to diagnose or fix this comes to mind. First, I'd start a trace in SQL Profiler and determine what CRM is querying for and what it's getting at the db level. Also, I've used the Repair option in CRM 4.0 Setup to fix something similar and it actually worked! Go figure.

     

    Hopefully one of those options will lead you to an answer!

     

    -Tim

  • Sunday, 20 July, 2008 8:08 PM
     
     

    Thanks for your comments.

     

    I can create a new organisation.  It's a brand new database, no import.  I've tried the repair option, and even a complete uninstall / re-install but no luck.

     

    I'll try the SQL trace, any more ideas in the meantime would be appreciated.

     

    Many thanks,

     

  • Monday, 21 July, 2008 11:06 AM
     
     

    I've noticed a few similar posts suggesting that the 'Microsoft CRM Asynchronous Processing' service might not be running.

     

    I haven't got this service?  Is it installed with the Outlook client because I have only installed the server at the moment.

     

    Many thanks,

     

  • Monday, 21 July, 2008 11:30 AM
    Moderator
     
     

    With 4.0 it is installed on the server.  Check your CRM server.

  • Monday, 21 July, 2008 11:44 AM
     
     

    I'm talking about the server!

     

    It's a virtual machine running Win2k3 with Exchange 2003 Std, SQL 2005 Developer Edtn, .NET 2005.

     

    I didn't get any errors during the install, but the service is definitely not there.

     

    I've tried a repair and a complete re-install, still not there...

  • Monday, 21 July, 2008 12:04 PM
    Moderator
     
     Answered

    I have never seen that before, so not sure what to suggest, other than calling support.  sounds like something did not install.

     

    Maybe there is something wrong with your virtual.  Here's a suggestion:

     

    Try the crm 4.0 demo virtual.  It is Enterprise, so you can add multiple organizations for test/demo purposes.  If you need to install a fresh copy of CRM, I have uninstalled CRM on the virtual and reinstalled performing the upgrade.

     

    You can download the 4.0 vhd from here;

    http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=dd939ed9-87a5-4c13-b212-a922cc02b469&displaylang=en

     

  • Tuesday, 26 August, 2008 7:56 PM
     
     
    We had a similar issue, what we found is:

    If you select typical installation - works fine
    If you select custom installation with application server role and platform server role - works fine
    If you select custom installation with only 'application server role' installed - you get that error

    edit:
    forgot to mention that if you select only the application server role you can install the CRM Async service which will get rid of the above error.

    but then when you install the CRM Email router it complains about missing AD webservice.