2016-04-29 35 views
2

私はこの問題の修正を今日しばらくは探していましたが、根本的な原因を見つけることはまだまだありません。たぶん、他の誰かが同じシナリオに遭遇し、問題を解決することができました。前もって感謝します。Sitecore 8.0 Update-3 WebEdit Palette.aspxのエラー

基本的には、基本的に私のクライアントプロダクションSCインスタンスの1つをローカルマシンに移行して、8.0-U3から8.1-U2へのアップグレードシミュレーションを行いました。これは、CM(コンテンツエディタ、エクスペリエンスエディタ、公開など)、ログの健全性は非常に良好です。

こと注:私は、シミュレーションを開始していないので、これはv.8.0-U3にまだ

私は(まだ良い)経験エディタを使用して、新しいコンポーネントの追加を開始ページを開くまで(クリックでここに追加ボタン)、次に、ブラウザのコンソールログで確認した後、Palette.aspx 内部サーバーエラーが発生しました。

POST http://8.0-u3.sitecore.com/sitecore/shell/Applications/WebEdit/Palette.aspx 500 (Internal Server Error) 

だから、ほとんどの好奇心の開発者は、私は完全なスタックトレースを参照するURLを開いてくださいますよう、:

Server Error in '/' Application. 

Palette.aspx: unrecognized command '' 

Description: 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. 

Exception Details: System.Exception: Palette.aspx: unrecognized command '' 

Source Error: 

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: 


[Exception: Palette.aspx: unrecognized command ''] 
    Sitecore.Shell.Applications.WebEdit.Palette.OnPreInit(EventArgs e) +2380 
    System.Web.UI.Page.PerformPreInit() +46 
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1251 

を私はまた、それが私に語ったものを見るために、SCのログファイルをチェックします:

16220 2016:04:29 17:37:12 ERROR Application error. 
Exception: System.Web.HttpUnhandledException 
Message: Exception of type 'System.Web.HttpUnhandledException' was thrown. 
Source: System.Web 
    at System.Web.UI.Page.HandleError(Exception e) 
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
    at System.Web.UI.Page.ProcessRequest() 
    at System.Web.UI.Page.ProcessRequest(HttpContext context) 
    at ASP.sitecore_shell_applications_webedit_palette_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\bf95a62a\ceceb3fc\App_Web_mqggjnpz.2.cs:line 0 
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

Nested Exception 

Exception: System.FormatException 
Message: Unrecognized Guid format. 
Source: mscorlib 
    at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException) 
    at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) 
    at System.Guid..ctor(String g) 
    at Sitecore.Data.ShortID..ctor(String id) 
    at Sitecore.Data.ShortID.Parse(String value) 
    at Sitecore.Pipelines.ExecutePageEditorAction.ExecuteInsertRenderingArgs.<GetAllowedRenderingsIds>b__0(String id) 
    at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 
    at System.Linq.Buffer`1..ctor(IEnumerable`1 source) 
    at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 
    at Sitecore.Pipelines.ExecutePageEditorAction.InsertRendering.InsertRenderingAt(DeviceDefinition device, RenderingDefinition renderingDefinition, Int32 insertPosition, IEnumerable`1 allowedRenderingsIds) 
    at Sitecore.Pipelines.ExecutePageEditorAction.InsertRendering.Process(PipelineArgs args) 
    at (Object , Object[]) 
    at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) 
    at Sitecore.Pipelines.ExecutePageEditorAction.ExecutePageEditorActionPipeline.Run(ExecutePageEditorActionArgs args) 
    at Sitecore.Shell.Applications.WebEdit.Palette.OnPreInit(EventArgs e) 
    at System.Web.UI.Page.PerformPreInit() 
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

だから私はいくつかの調査と調整が行われ、私は何の違いは、(適切なソリューションではないと思われる)があるかどうちょうどチェックするために、Sitecore.AntiCSRF.configからウェブ編集パレットをコメントアウト

私の自己主張:なぜこれを編集する必要がありますか?

<ignore contains="WebEdit/Palette"/> 

以前のSCログはもう存在しませんでしたが、下に新しいログがあります。

18404 2016:04:29 18:46:28 ERROR Application error. 
Exception: Sitecore.Security.AntiCsrf.Exceptions.PotentialCsrfException 
Message: CSRF form field is missing. 
Source: Sitecore.Security.AntiCsrf 
    at Sitecore.Security.AntiCsrf.SitecoreAntiCsrfModule.RaiseError(Exception ex, HttpContext context) 
    at Sitecore.Security.AntiCsrf.SitecoreAntiCsrfModule.PreRequestHandlerExecute(Object sender, EventArgs e) 
    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

残念ながら、ここまで、エラーがまだ持続し、それはエラーがポップアップを発生を返しますので、私はまだ新しいコンポーネントを追加することができませんでした。

誰でも?

答えて

1

プレースホルダ設定の[許可されたレンダリング]からGuidを解析する際に問題が発生しているようです。有効なレンダリングのみが選択されていることを確認してください。生の値を表示して、適切にフォーマットされたパイプで区切られたGuidsのリストであることを確認することができます。

1

レイアウトページのdefault.cshtmlにクラスを追加したときに起こったことです。 JSフレームワークが競合しました

2

私は最近自分の環境で同じ問題を経験しました。私の場合は、特定のプレースホルダにコンポーネントを追加すると、html構造が破られ、この問題が発生したためです。

関連する問題