2012-10-16 80 views
1

我有安裝了Experience Manager的SDL Tridion 2011 SP1 HR1映像。我可以成功瀏覽我的登臺站點,登錄到ExM並更改內容和頁面。但是,當我嘗試創建新頁面時,出現400(錯誤請求)錯誤。這是記錄錯誤:400錯誤(錯誤的請求)使用Experience Manager創建頁面

Unable to update the changes using OData Service.
The remote server returned an error: (400) Bad Request.

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

StackTrace Information Details:
at System.Net.HttpWebRequest.GetResponse()
at System.Data.Services.Client.DataServiceContext.SaveResult.BatchRequest(Boolean replaceOnUpdate)
at System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions options)
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)

我剛剛檢查了CD日誌文件,可以看到這個錯誤:

012-10-16 12:29:05,782 ERROR JPADAOFactory - Unable to load JPA DAO with name: TrackedRequest and class: com.tridion.storage.TrackedRequestDAO due too exception in DAO construction org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'TrackedRequestDAO' defined in URL [jar:file:/C:/ASP.NET/Preview/httpupload/bin/lib/tracking_core.jar!/com/tridion/storage/TrackedRequestDAO.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.tridion.storage.TrackedRequestDAO]: Constructor threw exception; nested exception is com.tridion.configuration.ConfigurationException: Unexpected dialect encountered: . TrackedRequest item type should be configured to use a supported database.

內置編輯是爲已經發布的內容啓用時,我接收到的圖像,但我需要自己創建內容類型和頁面類型。我以通常的方式完成這項工作,創建一個頁面,將其標記爲頁面類型,向其添加原型內容,並配置命名和存儲設置(用於創建的內容)。我也重新啓動IIS,關閉COM +包並重新啓動Tridion服務主機和發佈服務。

任何人都可以解釋爲什麼我得到這個錯誤,以及如何解決它?

編輯

因此錯誤提示它在存儲配置的問題。以下是有關章節:

<Storage Id="trackingDB" Class="com.tridion.storage.persistence.JPADAOFactory" Type="persistence" dialect="MSSQL"> 
    <Pool CheckoutTimeout="120" IdleTimeout="120" MonitorInterval="60" Size="5" Type="jdbc"/> 
    <DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource"> 
     <Property Name="serverName" Value="SDLPE.pe.local"/> 
     <Property Name="portNumber" Value="1433"/> 
     <Property Name="databaseName" Value="tridion_tracking"/> 
     <Property Name="user" Value="encrypted:u9aIOj9uX2IcL1rI6U5ndA=="/> 
     <Property Name="password" Value="encrypted:vprUfrnluvIQAVRNSMTx5g=="/> 
    </DataSource> 
    </Storage> 

和:

<Item cached="true" typeMapping="TrackedRequest" storageId="trackingDB"/> 

編輯

我剛剛被拖網通過日誌文件,並發現這一點:

2012-10-16 14:12:43,148 DEBUG ConfigurationItemTypeLoader - Loaded mapping: trackedrequest to storage: trackingDB
2012-10-16 14:12:43,148 DEBUG ConfigurationItemTypeLoader - Loaded mapping: trackingbatch to storage: trackingDB
2012-10-16 14:12:43,148 DEBUG ConfigurationItemTypeLoader - Loaded mapping: synchronizationrecord to storage: trackingDB
2012-10-16 14:12:43,148 DEBUG ConfigurationItemTypeLoader - Loaded mapping: trackingitem to storage: trackingDB

看起來配置應該正確拾取,但仍然是c不要從相關的存儲定義中正確地讀取方言。

+0

當暫存網站的應用程序池標識爲ApplicationPoolIdentity時,我只見過這個錯誤。將其更改爲NetworkService爲我解決了它。可能是要檢查的東西。 – 2012-10-16 14:35:14

+0

應用程序池配置爲不同的特定標識。試圖找出原因,儘管它在另一個系統中起作用。 –

回答

2

最後,問題與爲頁面類型指定頁面元數據有關。我所看到的錯誤記錄不會影響網站的性能,所以誤導我。