我最近將Tridion從2009年升級到2011 SP1,並正在解決鏈接問題。 我已經更新的代碼如下更新鏈接時出現錯誤解決Tridion問題
public Tridion.ContentDelivery.Web.Linking.ComponentLink ComponentLink
{
get
{
if (this._componentLink == null)
{
this._componentLink = new Tridion.ContentDelivery.Web.Linking.ComponentLink(261);
}
return this._componentLink;
}
}
,但是當我瀏覽網站它給了我下面的錯誤
java.lang.Throwable的:com.tridion.linking.Linking.getLogger()LCOM /的tridion /記錄/記錄器;
詳細錯誤
[Throwable的:com.tridion.linking.Linking.getLogger()LCOM /外表套上/記錄/記錄器;] Codemesh.JuggerNET.NTypeValue.Throw(Int64的研究所)373 Codemesh。 JuggerNET.JavaClass.ThrowTypedException(Int64的研究所)1365 Codemesh.JuggerNET.JavaMethod.CallObject(JavaProxy JPO,JavaMethodArguments參數)524 Com.Tridion.Linking.ComponentLink..ctor(的Int32 publicationId)127 Tridion.ContentDelivery。 Web.Linking.ComponentLink..ctor(Int32 publicationId)+28 Project.Web.UI.TridionBasePage.get_ComponentLink()+88 ASP.en_includes_controls_rss_在d:\ Websites \ Project \ en \ Includes中包含\ controls \ rss-items.ascx:7 ASP.en_includes_controls_rss_items_ascx.Header_PreRender(對象發件人,EventArgs e)中的items_ascx.get_componentLink \ controls \ rss-items.ascx:20 System.EventHandler.Invoke(Object sender,EventArgs e)+0 System.Web.UI.Control.OnPreRender(EventArgs e)+8996626 System.Web.UI.Control。 PreRenderRecursiveInternal()103 System.Web.UI.Control.PreRenderRecursiveInternal()175 System.Web.UI.Control.PreRenderRecursiveInternal()175 System.Web.UI.Page.ProcessRequestMain(布爾includeStagesBeforeAsyncPoint,布爾includeStagesAfterAsyncPoint) +2496
請檢查您的內容傳送日誌文件是否存在真正的錯誤... –
另外,您可能仍然在lib文件夾中有cd_link.jar,將其刪除。新的鏈接jar名爲cd_linking.jar –
刪除了cd_link.jar文件,現在錯誤被刪除。謝謝Nuno。如果你會回答這個問題,我會接受你的答案。謝謝 – Meenakshi