locked
Editing the Customer Portal Web Page RRS feed

  • Question

  • Hi All,

    We are having an issue editing the customer portal webpage.  The OS is Windows Server 2008 R2 SP1. When clicking on the edit button we receive this error. "An error has occurred while saving your content. Your changes have not been saved" or this error: "An error has occurred while loading content required for this feature." After googling we found we needed to install WFC Non HTTP Activation and Microsoft .Net Framwork 4 KB2468871. Though after performing these two steps we are still receiving the error.

     

    Please Help!

    Thursday, May 12, 2011 7:24 PM

All replies

  • Can you try to collect traces using Fiddler? We would need the error on the call to crm.svc.

    - Palak

    Tuesday, May 17, 2011 4:40 PM
  • Is this what you need? I got this from using fiddler and selecting the "web view"

     

    Server Error in '/' Application.

     

    The service cannot be activated because it requires ASP.NET compatibility. ASP.NET compatibility is not enabled for this application. Either enable ASP.NET compatibility in web.config or set the AspNetCompatibilityRequirementsAttribute.AspNetCompatibilityRequirementsMode property to a value other than Required.

     

    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:

    [InvalidOperationException: The service cannot be activated because it requires ASP.NET compatibility. ASP.NET compatibility is not enabled for this application. Either enable ASP.NET compatibility in web.config or set the AspNetCompatibilityRequirementsAttribute.AspNetCompatibilityRequirementsMode property to a value other than Required.]
      System.ServiceModel.Activation.HostedAspNetEnvironment.ValidateCompatibilityRequirements(AspNetCompatibilityRequirementsMode compatibilityMode) +185088
      System.ServiceModel.Description.DispatcherBuilder.ValidateDescription(ServiceDescription description, ServiceHostBase serviceHost) +391
      System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost) +306
      System.ServiceModel.ServiceHostBase.InitializeRuntime() +82
      System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) +64
      System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +789
      System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +287
      System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1132
    
    [ServiceActivationException: The service '/Services/Cms.svc' cannot be activated due to an exception during compilation. The exception message is: The service cannot be activated because it requires ASP.NET compatibility. ASP.NET compatibility is not enabled for this application. Either enable ASP.NET compatibility in web.config or set the AspNetCompatibilityRequirementsAttribute.AspNetCompatibilityRequirementsMode property to a value other than Required..]
      System.Runtime.AsyncResult.End(IAsyncResult result) +890624
      System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +180270
      System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +107
    

     


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225

    Wednesday, May 18, 2011 9:06 PM
  • I have never seen that error before.  You must be doing something different.  Are you hosting this application in a virtual directory? Or have you made any changes to your IIS configuration (ie: applicationhost.config)?  Have you made changes to the customer portal files or web.config (the web.config specifies asp.net compatibility but your error clearly states it is off)?  Are you hosting any other applications in the same IIS site?  Do you have any other web.config files in your site?


    Shan McArthur www.shanmcarthur.net Check out the commercial edition of xRM portals @ www.adxstudio.com
    • Proposed as answer by Palak Kadakia Monday, January 23, 2012 2:29 AM
    Friday, May 27, 2011 2:01 AM
    Moderator