locked
An errror has occired while saving you content. You changes have not been saved. RRS feed

  • Question

  • Hello people!

    I would like help to solve this problem, "An errror has occired content while saving you. You Been changes have not saved", which occurs when editing page in the Customer Portal.

    thanks

     

     

    • Moved by Kimberlee Johnson Tuesday, July 5, 2011 4:14 PM Customer portal error (From:Dynamics CRM)
    Tuesday, July 5, 2011 4:09 PM

Answers

All replies

  • Hello people!

     

    Already was performed the procedure below but not decided:

    http://community.dynamics.com/product/crm/crmtechnical/b/crmjimwang/archive/2011/05/04/customer-portal-2011-an-error-has-occurred-while-loading-content-required-for-this-feature.aspx

    Tuesday, July 5, 2011 4:14 PM
  • There could be many reasons for this failure.  What we need to know to troubleshoot the issue is what the underlying error is.  If you are using IE 9, turn on the developer toolbar and network tracing, if using IE 8 use Fiddler, and if using Firefox, use Firebug.  In any of the tools, look for the service call to /Services/Cms.svc.  Then copy the html response to that service call and post it to this thread.  This will give me the details to help you troubleshoot the issue.  Also tell me which browser and which version you are using, and indicate if you have updated the portal with the current SDK, or if you are running the original released version.
    Shan McArthur www.shanmcarthur.net Check out the commercial edition of xRM portals @ www.adxstudio.com
    Tuesday, July 5, 2011 11:16 PM
    Moderator
  • Mr. Shan, collected this information with the Firebug Firefox 4.0:

    GET http://servercrm.dynamicscrm.com/Services/Cms.sv...5cb1026-eb62-4a35-a3ec-fe1cb8053db1%27)/Adx_Copy
    500 Internal Server Error
    41ms
    jquery.min.js (linha 130)
    <html>
      <head>
        <title>This collection already contains an address with scheme http. &nbsp;There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.<br>Parameter name: item</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>
      </head>
    
      <body bgcolor="white">
    
          <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
    
          <h2> <i>This collection already contains an address with scheme http. &nbsp;There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.<br>Parameter name: item</i> </h2></span>
    
          <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    
          <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    
          <br><br>
    
          <b> Exception Details: </b>System.ArgumentException: This collection already contains an address with scheme http. &nbsp;There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.<br>Parameter name: item<br><br>
    
          <b>Source Error:</b> <br><br>
    
          <table width=100% bgcolor="#ffffcc">
            <tr>
             <td>
               <code>
    
    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.</code>
    
             </td>
            </tr>
          </table>
    
          <br>
    
          <b>Stack Trace:</b> <br><br>
    
          <table width=100% bgcolor="#ffffcc">
            <tr>
             <td>
               <code><pre>
    
    [ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting &#39;system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled&#39; to true or specifying &#39;system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters&#39;.
    Parameter name: item]
      System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item) +16395119
      System.Collections.Generic.SynchronizedCollection`1.Add(T item) +79
      System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses) +220
      System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses) +346
      System.Data.Services.DataServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) +43
      System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +530
      System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1423
      System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +50
      System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1172
    
    [ServiceActivationException: The service &#39;/Services/Cms.svc&#39; cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting &#39;system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled&#39; to true or specifying &#39;system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters&#39;.
    Parameter name: item.]
      System.Runtime.AsyncResult.End(IAsyncResult result) +901536
      System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +178670
      System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +136
    </pre></code>
    
             </td>
            </tr>
          </table>
    
          <br>
    
          <hr width=100% size=1 color=silver>
    
          <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.233
    
          </font>
    
      </body>
    </html>
    <!-- 
    [ArgumentException]: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting &#39;system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled&#39; to true or specifying &#39;system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters&#39;.
    Parameter name: item
      at System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item)
      at System.Collections.Generic.SynchronizedCollection`1.Add(T item)
      at System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses)
      at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
      at System.Data.Services.DataServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses)
      at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
      at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
      at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
      at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
    [ServiceActivationException]: The service &#39;/Services/Cms.svc&#39; cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting &#39;system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled&#39; to true or specifying &#39;system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters&#39;.
    Parameter name: item.
      at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
      at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)
      at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)
    
    -->
    "NetworkError: 500 Internal Server Error - http://servercrm.dynamicscrm.com/Services/Cms.svc/Adx_webpageSet(guid%2715cb1026-eb62-4a35-a3ec-fe1cb8053db1%27)/Adx_Copy"
    Adx_Copy
    Wednesday, July 6, 2011 6:46 PM
  • Hi

     

    I had the same issue,  I installed the following update on the web server that was hosting the customer portal and the fault went away.

    http://support.microsoft.com/kb/980368

     

    this kb may be of some help http://www.shanmcarthur.net/Default.aspx?DN=7d0cd525-bbc5-46c3-8096-95f93827aeea - It helped me

     

    Please note that IE9 does not allow you to save any changes to the customer portal.  please edit in a different browser


    MCP MCDST MCSA
    • Proposed as answer by Gary Trembath Saturday, July 16, 2011 7:05 PM
    • Marked as answer by Palak Kadakia Monday, January 23, 2012 2:33 AM
    Saturday, July 16, 2011 7:05 PM
  • Hello Shan,

    I have a kind of similar issue. when I debug the portal in Visual Studio; I don't get this error using in VS but when I move it to IIS; I get the error mention above. Also, I forgot when implementing the portal; system requirements mention WCF Http Activation. I click or add the feature but then it breaks other appliation in IIS.

    Jose Fleitas


    Jose Fleitas

    Monday, April 30, 2012 2:37 PM