locked
Permissions required for CRM 3 website RRS feed

  • Question

  • Hi Everyone

     

    When trying to access the CRM 3 webpage (at http://servername:5555) I am getting the following error:

     

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Access is denied
    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.ComponentModel.Win32Exception: Access is denied

    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:


    [Win32Exception (0x80004005): Access is denied]
       Microsoft.Crm.RegControl.LoadLibrariesInternal(Boolean isInClientContext) +838
       Microsoft.Crm.RegControl.LoadLibraries() +38
       Microsoft.Crm.MainApplication.Application_OnStart() +5

     


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

     

    It looks like a simple permissions problem, but have been fiddling for a bit now without luck. Can anyone tell me what permissions need to be set to get CRM 3 to work?

     

    At the moment our CRM install is located physically at E:\Microsoft CRM with the permissions Administrators: Full Control, Network Service: Read, System: Full Control. I tried adding IUSR_ServerName to the permissons for E:\Microsoft CRM\CRMWeb with Read but this did not work.

     

    Thanks.

    Tuesday, October 23, 2007 5:40 AM

Answers

  • Although it looks like permissions, you have a problem that the error message indicates the web site is using ASP .Net 2.0, whereas CRM 3.0 has to run with ASP .Net 1.1. I'd fix that first (via IIS Manager), and see if you still have problems. If so, is the server Windows 2000 or 2003 ?

     

     

    Tuesday, October 23, 2007 7:38 AM
    Moderator
  • CRM impersonates the users, so all CRM users need permission. All CRM users are automaitcally added to 2 AD groups, UserGroup and ReportingGroup, so I'd use one of these.

     

    IE closing is due to a popup blocker. If you browse to http://server:5555/loader.aspx instead it should be fine

    Monday, October 29, 2007 8:56 PM
    Moderator

All replies

  • Although it looks like permissions, you have a problem that the error message indicates the web site is using ASP .Net 2.0, whereas CRM 3.0 has to run with ASP .Net 1.1. I'd fix that first (via IIS Manager), and see if you still have problems. If so, is the server Windows 2000 or 2003 ?

     

     

    Tuesday, October 23, 2007 7:38 AM
    Moderator
  • Thanks David. Have done this and it had no effect. However, adding the Everyone group with Read permissions to E:\Microsoft CRM folder got CRM to come up OK on the server via http://server:5555. So... definately a Permissions thing I feel. I do not like using the Everyone group though to get this to work. Do you happen to know what group or account it is that CRM uses to access the folder?

    Just to make life even more fun, I am also getting an error on workstations when trying to access CRM which results in the IE6 window closing after a few seconds of trying to access http://server:5555 with a "doink" noise from the speakers. It happens so fast you can not see what is happening on the screen. Any ideas?
    Wednesday, October 24, 2007 4:30 AM
  • CRM impersonates the users, so all CRM users need permission. All CRM users are automaitcally added to 2 AD groups, UserGroup and ReportingGroup, so I'd use one of these.

     

    IE closing is due to a popup blocker. If you browse to http://server:5555/loader.aspx instead it should be fine

    Monday, October 29, 2007 8:56 PM
    Moderator
  • Add the CRM server ( http://server:5555) to Trusted Zones in the IE

    Tuesday, October 30, 2007 10:48 PM
  • Hi Denis. I did this to no avail previosuly... however I did find that an evil Yahoo toolbar had a pop-up blocker in it that was killing the MS CRM popup! Shut it down and CRM comes up now. Thanks for the tip though.
    Wednesday, October 31, 2007 8:36 AM