[导入]MCMS出错提示"Server error. Contact the site administrator"

Microsoft.ContentManagement.Publishing.CmsServerException was unhandled
  Message="Server error.  Contact the site administrator."
  Source="Microsoft.ContentManagement.Publishing"
  StackTrace:
       at Microsoft.ContentManagement.Publishing.Searches.GetByGuid(String searchGuid)

出现这种错误的原因有好几个,我这里只是记录我遇到的问题。当调用GetByGuid的时候,接受的参数是字符串的guid,如果这个guid没有带"{",必须首尾加上大括号以后再去CMS中去查找,否则会出上面的错误。


文章来源:http://ejimgao.blog.163.com/blog/static/4203001620086491140163
posted @ 2008-07-04 09:12  Jim Gao  阅读(154)  评论(0编辑  收藏  举报