sharepoint: Using a Content Editor Web Part this error occurred:“Cannot retrieve properties at this time.”

百般思念 提交于 2019-12-10 12:52:17

问题


I have a content editor web part. Whenever I edit the content and then click save, the following errors occurred:

"Cannot retrieve properties at this time."
"Cannot save your changes"

How do you fix this?

I tried googling it.. there are some similar cases but not exactly the same. I tried this link:

www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/MS-SharePoint/Q_21975446.html

and this one:

support.microsoft.com/kb/830342

and this one:

blogs.msdn.com/gyorgyh/archive/2009/03/04/troubleshooting-web-part-property-load-errors.aspx


回答1:


I found the answer!! apparently using mozilla firefox it worked. Then I found out that there is a javascript error in IE, this javascript error doesnt happened in firefox. how ironic!




回答2:


Are you doing anything to modify the URL in an HTTPModule? I ran into this problem on a publishing site where a module was hiding the "/pages" part of the URL. Modifying the CEWP via the page when accessed w/o the "/Pages" wasn't working, but with the "/Pages" it was.

Example:

Got error: http://www.tempura.org/webpartpage.aspx
Worked: http://www.tempuri.org/pages/webpartpage.aspx




回答3:


I don't see how this is an answer -- "don't use IE".

In my case (and apparently many others) it has something to do with ISA + SharePoint + host headers. I will post the fix if I find one.




回答4:


I have had problems with this before and have found recycling the Application Pool often corrects the problem.

Rodney




回答5:


IE8 -->

Tools --> Compatiblity View Settings --> CHECK THIS : Display All Websites in ....




回答6:


If you are editing a webpart page, make sure that it is checked out. Sometimes the document library the webpart pages are in will have a "force check out to edit" option and it will give you errors if the webpage itself isn't checked out.




回答7:


I had this same error recently. In javascript, I had written some prototype overrides (see examples below) to add some custom functions to the string and array objects. Both of these overrides interferred with SharePoint's native JavaScript somehow in IE. I removed the references from the master page and this issue was FIXED. Currently trying to find a work-around so I can keep them because things like the string.format function is very nice to have...

//Trim
if (typeof String.prototype.trim !== 'function') {
     String.prototype.trim = function(){
         return this.replace(/^\s+|\s+$/g, '');
     }
 }

//Format
String.format = function() { 
  var s = arguments[0]; 
  for (var i = 0; i < arguments.length - 1; i++) {        
    var reg = new RegExp("\\{" + i + "\\}", "gm");              
    s = s.replace(reg, arguments[i + 1]); 
  } 


  return s; 
}



回答8:


I also faced the same problem. Finally it worked for me using url /Pages/Contact-Us.aspx instead of clean URL. It worked only with IE browser. Don't know why this was happening but anyhow it worked with me.

  • Use IE browser
  • Use Pages in the URLinstead of clean URL.



回答9:


to me, compatibility mode in IE8, to work



来源:https://stackoverflow.com/questions/1090807/sharepoint-using-a-content-editor-web-part-this-error-occurredcannot-retrieve

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!