locked
EN | CRM 4.0: IIS breaks when CRM for Outlook connects RRS feed

  • Question

  • Hello everyone,

    in the last few days I've been installing a testing environment in order to evaluate MSCRM. Now there is a DC running a DNS server and an App Server running Exchange, MS-SQL and MS-CRM. Third is a client with Outlook which tries to connect to the CRM server.

    After having serious problems doing the install I've finally made it to get all necessary components. After configuring CRM for Outlook it connected successfully one single time. Only few seconds later connection broke and I could not reastablish it.

    In the following I figured out that each time I start Outlook the IIS breaks and must be reset by running "iisreset" from command line.

    If accessed via browser the CRM returns the web-based interface until Outlook is started on the client. After that requests to https://CRMSERVERHOSTNAME/ return an error page. Translated from German and in a short form it reads:

    ***
    Server error in application /.

    ...

    Exception details: System.Security.SecurityException: The requested Registry access is not allowed.

    ...

    Stack monitor:

    [Security Exception:  The requested Registry access is not allowed.]
    Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writeable) +10417239
    ...

    Version information: Microsoft .NET version: 2.0.50727.3074; APS.NET version: 2.0.50727.3074
    ***

    I apologize for any differences to the orginal text as this is retranslated from the German version of MSCRM.

    Because CRM for Outlook is the main component of the CRM solution as seen by clients CRM is nearly unusable in this state. Please help solving this issue.

    Annonation: Any modifications done the default installation of the software products listed above are entries in the mandatory fields during the setup and the creation of two users with Exchange access through outlook. Shouldn't MSCRM work out of the box with actually no modifications?


    Kind regards
    Daniel Böhmer
    klopfer datennetzwerk gmbh, Germany
    • Moved by ashawani_dubey Wednesday, March 31, 2010 2:56 AM user Forum Merge (Feladó:Microsoft Dynamics CRM)
    Monday, April 20, 2009 3:39 PM

All replies

  • Hi,

    First of all, I'd like to note, that this is a hungarian language forum and the moderation rules of this forum doesn't allow the english language posts.
    Secondly:
    Do you have installed this?
    http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=05453fa4-9551-4a88-9852-634a9ad0e140

    Regards,
    Zoltán
    http://www.clamagent.org - Free Antivirus for Exchange
    http://www.it-pro.hu
    http://emaildetektiv.hu
    Tuesday, April 21, 2009 3:57 AM
  • Hello Zoltán,

    thanks for your reply.

    Of course I realized that this forum is mostly Hungarian. The question is: Where to post elsewhere? I have searched the Technet forums for "dynamics" and "CRM" and all I found was this forum. Indeed I had found another English posting before I figured out that this forum is intended to be especially for Hungarians.

    I apologize for writing in English here but I am not capable of reading or writing your language, nor did I find any other place to ask within the Technet area. Unfortunately my posting in the newsgroup microsoft.public.de.crm didn't get any replies.


    On the topic itself:

    Yes, I have installed this Update Roll-up as it is a necessary step in order to start CRM anyway. This is one of so many quirks in the endless setup routine: You *must* load updates during setup -- although you're kindly asked to do so and will propably deny with slow Internet connection -- and afterwards you need to install propably the same updates again just because the updates during setup do only effect the setup process. However, after all I have managed to get all components.


    Solution for problem still wanted

    Greetings
    Daniel Böhmer
    • Edited by Manfred Klopfer Tuesday, April 21, 2009 7:36 AM correcting some typos
    Tuesday, April 21, 2009 7:33 AM
  • Hallo Daniel,

    The mentioned security problem is strange - normally the crm installer used to set up registry rights for Network service user. Since you wrote - you had several problems during install - you should follow the kb arcticle below:
    http://support.microsoft.com/kb/329291

    The cause:

    "By default, the user token of the ASP.NET worker process is ASPNET (or NetworkService for applications that run on Internet Information Services [IIS] 6.0). The problem in the "Symptoms" section occurs because your account does not have the correct user rights to create an event source."

    Except the point 3 in the article:
    1. Click Start, and then click Run.
    2. In the Open text box, type regedit.
    3. Locate the following registry subkey:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application

      Instead the above registry key please locate the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM key and all subkeys and provide appropriate rights for "NT AUTHORITY\NETWORK SERVICE" user - if your CRM server has been installed using default settings (Crm App pool identity runs under the name of NETWORK SERVICE)


      2.nd solution:

      Hence your CRM application servers as a testing "sandbox" please try to uninstall and reinstall it. When the installer asks for setting up the website you would like to run CRM website - please select "Create new website" and leave the default port with 5555. Don't change the credential settings to other than NETWORK SERVICE.
      Any other installation questions you should check implementation guide (http://www.microsoft.com/downloads/details.aspx?FamilyID=1ceb5e01-de9f-48c0-8ce2-51633ebf4714&displaylang=en).

      If the base environment has prepared well - the installation process must be smooth. Please verify all the system requirements an prerequisites impl. guide writes before installing Dynamics CRM.

      I don't mind your problems came from problems of the product, rather came from faulty installation. I'm sure you would have day-to-day functional problems until your installation process isn't perfect.

      Regards,

      Tibor


    SzT
    Tuesday, April 21, 2009 7:37 AM
  • Hello Daniel,

    The Dynamics forums are not listed on the main forum list of the technet forums. You can find them here:
    http://social.microsoft.com/Forums/en-US/category/dynamics

    Regards,
    Zoltán
    http://www.clamagent.org - Free Antivirus for Exchange
    http://www.it-pro.hu
    http://emaildetektiv.hu
    Tuesday, April 21, 2009 9:26 AM