小编Chr*_*gan的帖子

TDSE.GetObject无法解析其中包含点的WebDAV URL

使用以下功能的任何人都遇到异

tdse.GetObject(tmpFolderWebDavURL, EnumOpenMode.OpenModeView, null,
                                          XMLReadFilter.XMLReadAll) as Folder;
Run Code Online (Sandbox Code Playgroud)

似乎webdav的最后一段包含一个点,然后方法抛出和异常.

例如

tmpFolderWebDavURL = "/webdav/test_publication/2.2 folder name"- 抛出异常失败

tmpFolderWebDavURL = "/webdav/test_publication/22 folder name"- 工作

tmpFolderWebDavURL = "/webdav/test_publication/2.2 folder name/sub_folder"- 工作

例外

<?xml version="1.0"?>
<tcm:Error xmlns:tcm="http://www.tridion.com/ContentManager/5.0" ErrorCode="80040200" Category="4" Source="Kernel" Severity="2">
    <tcm:Line ErrorCode="80040200" Cause="false" MessageID="15301">
        <![CDATA[Unable to get TOM object for URI: /webdav/TPMG Medical Library Content/Building Blocks/Content Live/2.2 People Lists]]>
        <tcm:Token>/webdav/TPMG Medical Library Content/Building Blocks/Content Live/2.2 People Lists</tcm:Token>
    </tcm:Line>
    <tcm:Line ErrorCode="80040200" Cause="true" MessageID="15748">
        <![CDATA[Unable to map all paths to URIs.]]>
    </tcm:Line> …
Run Code Online (Sandbox Code Playgroud)

tridion tridion2009

10
推荐指数
1
解决办法
928
查看次数

在64位应用程序池中的Tridion 2011

是否可以在IIS 7.5下的x64 Classic管道应用程序池中运行SDL Tridon 2011 SP1 HR1.

请求的原因是我的SSO提供程序包含一个ISAPI筛选器,由于IIS 7.5中的安全性提高,它必须在经典模式下在x64池中运行.

当前错误:

Retrieving the COM class factory for component with CLSID {4ED977D7-A765-11D5-8071-00B0D0B98279} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). 
Run Code Online (Sandbox Code Playgroud)

提前致谢

tridion tridion-2011

5
推荐指数
1
解决办法
250
查看次数

将Tridion 2009 SP1 CM数据库升级到2011 SP1

从Tridion 2009 SP1到2011 SP1执行内容管理器数据库的升级前检查时,我在管理器和日志文件中收到以下错误.

有线索吗?

<TdmLog DateCreated="2012-04-19T10:20:26" ApplicationVersion="6.1.0.996">
<Event DateTime="2012-04-19T10:20:26" Id="0" Type="1">
    <ErrorCode>0</ErrorCode>
    <Description>Tridion Content Management Database Upgrade Analysis</Description>
    <Source>MainModule.ProcessScripts</Source>
</Event>
Run Code Online (Sandbox Code Playgroud)

DB Update Manager

tridion

3
推荐指数
1
解决办法
124
查看次数

将Tridion 2009事件系统迁移到Tridion 2011 SP1时出错

将我现有的Tridion 2009事件DLL(在2011服务器上编译)添加到bin目录并在Content Manager Config文件中注册DLL后,GUI现在返回以下错误.我检查了事件日志,Tridion日志等有关"缺失依赖"任何想法的更多详细信息?

Could not load file or assembly 'Tridion.Extensions.Events, Version=1.0.20.521,
Culture=neutral, PublicKeyToken=ecb60dbe3cbb7440' or one of its dependencies. 
The system cannot find the file specified.

Unable to get LangID of User (tcm:0-2851-65552). Initialization of the extension
'C:\Program Files (x86)\Tridion\bin\Tridion.Extensions.Events.MDO.dll' failed.

System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly,ObjectHandleOnStack) 
    System.Reflection.RuntimeAssembly.GetExportedTypes() 
    Tridion.ContentManager.Extensibility.TcmExtension.LoadExtensions() 
    Tridion.ContentManager.Extensibility.TcmExtension.LoadExtensions() 
    Tridion.ContentManager.Extensibility.TcmExtension.InitializeExtensions() 
    Tridion.ContentManager.Extensibility.EventSystem.DeliverEvent(IEnumerable`1,TcmEventArgs,EventDeliveryPhase) 
    Tridion.ContentManager.Extensibility.EventSystem.DeliverEvent(IdentifiableObject,TcmEventArgs,EventDeliveryPhase) Tridion.ContentManager.IdentifiableObject.Load(LoadFlags,Boolean) 
    Tridion.ContentManager.IdentifiableObject.Load(LoadFlags) 
    Tridion.ContentManager.BLFacade.IdentifiableObjectFacade.Read(UserContext,String,XMLReadFilter) XMLState.GetPropertyElem XMLState.GetProperty User.LangID
Run Code Online (Sandbox Code Playgroud)

tridion

3
推荐指数
1
解决办法
328
查看次数

OnPageSetPublishedToPost&Tridion 2011

是个

OnPageSetPublishedToPost

在Tridion 2011中支持的事件.我很难将此事件解雇.

我正在将遗留事件系统代码部署到Tridion 2011 SP1 HR1.

谢谢,克里斯

tridion tridion-2011

3
推荐指数
1
解决办法
111
查看次数

使用HttpClient避免死锁

使用HttpClient和避免死锁的最佳方法是什么?我使用下面的代码,完全从同步方法调用,但我担心它可能导致死锁.

我已经做了类似功能的一些阅读.ConfigureAwait(false),.GetAwaiter(),.GetResult()但是我正在寻找的最佳实践方法输入.

代码不太准确,但足够接近.

public static bool TryRequest(string url, out response)
{    
    HttpContent content = new StringContent(json, Encoding.UTF8, "application/json");
    using (HttpClient client = new HttpClient())
    {
       HttpResponseMessage responseMessage = null;

       switch (verb)
       {
          case HttpVerb.Put:
             responseMessage = client.PutAsync(url, content).Result;
             break;
          case HttpVerb.Post:
             responseMessage = client.PostAsync(url, content).Result;
             break;
          case HttpVerb.Delete:
             responseMessage = client.DeleteAsync(url).Result;
             break;
          case HttpVerb.Get:
             responseMessage =  client.GetAsync(url).Result;
             break;
       }

       if (responseMessage.IsSuccessStatusCode)
       {
          responseContent = responseMessage.Content.ReadAsStringAsync().Result;
          statusCode = responseMessage.StatusCode;
       }
    }
}
Run Code Online (Sandbox Code Playgroud)

c#

3
推荐指数
2
解决办法
3700
查看次数

标签 统计

tridion ×5

tridion-2011 ×2

c# ×1

tridion2009 ×1