gpt4 book ai didi

Tridion UI - "Bad Request"

转载 作者:行者123 更新时间:2023-12-04 12:11:12 25 4
gpt4 key购买 nike

我已经按照文档安装了 Tridion UI 2012,一切似乎都很好,我可以使用 UI 功能,例如创建新页面、修改现有页面等,但时不时地(我无法限制何时或为什么)单击“更新预览”时收到“错误请求”错误。
详细错误显示在事件查看器中:

Log Name:      Tridion
Source: Tridion Publishing
Date: 10/07/2012 12:03:37
Event ID: 100
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: ZZZZZ

Description:
Unable to update or add Binaries using OData Service.
An error occurred while processing this request.
BadRequest


Component: Tridion.SiteEdit.FastTrackPublishing
Errorcode: 1003
User: NT AUTHORITY\NETWORK SERVICE

StackTrace Information Details:
at System.Data.Services.Client.DataServiceContext.SaveResult.<HandleBatchResponse>d__1e.MoveNext()
at System.Data.Services.Client.DataServiceContext.SaveResult.HandleBatchResponse()
at System.Data.Services.Client.DataServiceContext.SaveResult.EndRequest()
at System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions options)
at Tridion.SiteEdit.FastTrackPublishing.ServiceImplementation.SaveBinaries(RenderedItem renderedItem, ContentDeliveryService service)
at Tridion.SiteEdit.FastTrackPublishing.ServiceImplementation.SaveBinaries(RenderedItem renderedItem, ContentDeliveryService service)
at Tridion.SiteEdit.FastTrackPublishing.ServiceImplementation.Preview(IEnumerable`1 publishedItemsInfo, TcmUri publishingTargetId)
at Tridion.SiteEdit.FastTrackPublishing.ServiceImplementation.Preview(IEnumerable`1 publishedItemsInfo, TcmUri publishingTargetId)
at SyncInvokePreview(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

你以前见过这个错误吗?任何想法如何避免/修复它?

问候
艾玛

最佳答案

聚会有点晚了,但就我而言,这是由太大的二进制文件引起的。
您可以按照以下步骤更详细地查明问题:(Tridion 2011、SP1、HR2,但我认为这对 2013 年也有效)

  • 在 CMS 服务器上,打开 TcmServiceHost.exe.config 并
    取消注释以下标签的正文:
    <system.diagnostics><sources>
  • 找到 <sharedListeners>标记并创建 initializeData 中提到的目录属性(或更新此设置)
  • 重新启动 TcmServiceHost 服务并单击“更新预览”。日志文件显示出来,您可以在 SvcTraceViewer
  • 中打开它

    找到红色入口,然后从那里走。

    要允许更大的二进制文件(考虑性能成本!),请转到您的 OData session 预览服务并执行以下操作:
  • 打开 web.config 并找到 <bindings><webHttpBinding> (当然是相关的绑定(bind),但通常是 webHttpBinding 。)
  • 添加具有以下属性的绑定(bind)(在 <webHttpBinding> 元素内):
    <binding name="AdustedBindingConfiguration" maxReceivedMessageSize="2097152000"
    maxBufferSize="2097152000">
    <readerQuotas maxArrayLength="81920" maxBytesPerRead="5120" maxDepth="32" maxNameTableCharCount="81920" maxStringContentLength="2097152" />
    </binding>
  • 找到 <services><service>标记并找到相关服务('Tridion.ContentDelivery.Webservice.ODataService' 并更新 bindingConfiguration 属性以匹配新添加的绑定(bind)的名称(在本例中为 AdjustedBindingConfiguration)
  • 再次点击“更新预览”
  • 关于Tridion UI - "Bad Request",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11411315/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com