locked
Add Custom Page in CRM. RRS feed

  • Question

  • Hi, 

    I have requirement to add custom aspx page in ms crm 2011. so for I have created a aspx page and deploy the project in 

    "C:\Program Files\Microsoft Dynamics CRM\CRMWeb\ISV". But  when I browse the project  I am getting fallowing error.

    Error

    Please Help me.

    thanks

    Regad

    Sangram


    microsoft blog

    Friday, January 3, 2014 11:29 AM

All replies

  • Hi

    Add your project dll file on C:\Program Files\Microsoft Dynamics CRM\CRMWeb\bin.

    Hope this helps


    Friday, January 3, 2014 11:46 AM
  • You'll need to provide more information to help diagnose the problem:

    • How are you accessing the aspx page - do you browse to it directly, or is it in an IFrame on a form, or launched from a ribbon button ? Do you get different behaviour if you browse directly, compared with accessing it via CRM
    • Have you created an IIS application for the virtual directory in which you've placed the aspx page ?
    • Are you relying on default web.config settings ? CRM changes some of these. See http://mscrmuk.blogspot.co.uk/2010/10/webconfig-settings-eg-viewstate-session.html
    • Are there any useful errors in the Application event log ?
    • Can you enable tracing, and if so, are there any useful errors ?

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

    Friday, January 3, 2014 12:31 PM
    Moderator
  • Hi,

    In CRM 2011 the ISV folder is deprecated (see http://msdn.microsoft.com/en-us/library/gg309571.aspx). So ideally your custom aspx page should be hosted in a different web site.

    If this isn't an option you should make sure that the application is running under the CrmAppPool application pool - that may resolve your issue.

    Hope that helps,

    Tim


    Friday, January 3, 2014 12:39 PM