locked
Why custom site can work separately but can't work in CRM site ISV foder? RRS feed

  • Question

  • Hi there,
    I developed a custom site to query and show CRM data. It works correctly when I setup a independent IIS site for it. (even I open it from a CRM custom ISV toolbar button)
    But when moving it to CRM site's ISV foder, and creating an IIS application for it (or ignore this step), it does not work correctly. looks like some asp.net controls' viewstates lost.

    Any ideas?

    Best Regards,
    Alan

     
    Wednesday, December 30, 2009 1:42 AM

Answers

  • Hi,

    Yes you need to explicitly enable view state for your website deployed inside ISV folder. 

    <pages enableViewState="true"/>

    It is by default disabled within CRM's web.config. So if we don't enable it, in our custom web site it takes the configuration settings from the CRM's web.config.



    Regards,
    Nishant Rana

    http://nishantrana.wordpress.com
    Wednesday, December 30, 2009 4:50 AM
  • Hi Alan

    See this walkthrough to see how you can properly integrate your custom application with the crm isv folder
    http://www.xrmlinq.com/kb/how-to-publish-link-customaspx-dynamics-crm/


    XrmLinq - LINQ to Dynamics CRM http://www.xrmlinq.com - The smart way to query crm
    • Marked as answer by alanzhouoad Monday, January 4, 2010 12:50 AM
    Wednesday, December 30, 2009 6:17 AM

All replies

  • Hi,

    Yes you need to explicitly enable view state for your website deployed inside ISV folder. 

    <pages enableViewState="true"/>

    It is by default disabled within CRM's web.config. So if we don't enable it, in our custom web site it takes the configuration settings from the CRM's web.config.



    Regards,
    Nishant Rana

    http://nishantrana.wordpress.com
    Wednesday, December 30, 2009 4:50 AM
  • Hi Alan

    See this walkthrough to see how you can properly integrate your custom application with the crm isv folder
    http://www.xrmlinq.com/kb/how-to-publish-link-customaspx-dynamics-crm/


    XrmLinq - LINQ to Dynamics CRM http://www.xrmlinq.com - The smart way to query crm
    • Marked as answer by alanzhouoad Monday, January 4, 2010 12:50 AM
    Wednesday, December 30, 2009 6:17 AM