locked
Host custom aspx pages with CRM 2015 onpremisis RRS feed

  • Question

  • Currently I have a solution running on IIS that I use to generate quotes for the sales people.  It runs on a different port as my CRM application and communicates through the sdk.  All is working fine as everything is hosted on premise and is only accessed by people logged onto our system.  HOWEVER, I need to add the capability for people to access the CRM system from outside the network.  I have already migrated the CRM system to a https port and all is working fine.

    My question then: can I host my own application within the CRM application or do I need to run my application separately on a different port? 

     

    Christo Vermeulen

    Friday, May 8, 2015 2:39 PM

Answers

  • Basically it is no officially supported by CRM as a Product; However I have done the similar project which works seamlessly without any issues,A custom website I have integrated with CRM so that you no need to use any custom port. This uses the port used by Microsoft Dynamics CRM website.

    Below  are the steps you can try to integrate with CRM:

    1. Create a Folder(Example: CustomImport) in CRMWeb Folder(Example: C:\Program Files\Microsoft Dynamics CRM\CRMWeb) and Copy/Paste all your files/website in it.

    2. Goto CRM Installation Path: CRMWeb\Help\bin (Example: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\Help\bin) and copy all these files and paste it into the above website bin folder (where your Microsoft.Xrm.Sdk.dll located)

    3. Goto IIS drill down to the CRM Website and select the Folder which you have created in the Step 1.

    4. Right Click on the Folder and click Convert to Application

     Verify Windows Authentication is enabled.

    This solution doesn't impact any of the CRM files or dll;However it is not a recommended solution that is provided by Dynamics CRM team.

    Let me know if you need any help/additional information.

    Thanks,


    Madhu M.

    • Proposed as answer by Madhu_M Friday, May 8, 2015 9:45 PM
    • Marked as answer by Christo Vermeulen Tuesday, May 12, 2015 7:04 AM
    Friday, May 8, 2015 8:51 PM

All replies

  • Crm 2015 does not support hosting IIS applications within the CRM web site:

    'Creating an Internet Information Services (IIS) application inside the Microsoft Dynamics CRM website for any VDir and specifically within the ISV folder is not supported' - from https://msdn.microsoft.com/en-us/library/gg328350.aspx

    Your application will need to be deployed in a different web site from Crm, which will mean using a different port, different IP address, or host headers


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Friday, May 8, 2015 3:09 PM
    Moderator
  • Basically it is no officially supported by CRM as a Product; However I have done the similar project which works seamlessly without any issues,A custom website I have integrated with CRM so that you no need to use any custom port. This uses the port used by Microsoft Dynamics CRM website.

    Below  are the steps you can try to integrate with CRM:

    1. Create a Folder(Example: CustomImport) in CRMWeb Folder(Example: C:\Program Files\Microsoft Dynamics CRM\CRMWeb) and Copy/Paste all your files/website in it.

    2. Goto CRM Installation Path: CRMWeb\Help\bin (Example: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\Help\bin) and copy all these files and paste it into the above website bin folder (where your Microsoft.Xrm.Sdk.dll located)

    3. Goto IIS drill down to the CRM Website and select the Folder which you have created in the Step 1.

    4. Right Click on the Folder and click Convert to Application

     Verify Windows Authentication is enabled.

    This solution doesn't impact any of the CRM files or dll;However it is not a recommended solution that is provided by Dynamics CRM team.

    Let me know if you need any help/additional information.

    Thanks,


    Madhu M.

    • Proposed as answer by Madhu_M Friday, May 8, 2015 9:45 PM
    • Marked as answer by Christo Vermeulen Tuesday, May 12, 2015 7:04 AM
    Friday, May 8, 2015 8:51 PM
  • Mark this as an answer if this helps you solving your problem.

    Madhu M.

    Monday, May 11, 2015 1:09 AM
  • I still get an authentication popup in my browser trying to reach my application in that folder. Doesn't accept my network credentials either (they work for the CRM web site though)
    Friday, September 16, 2016 8:54 PM