小编Jon*_*mer的帖子

Tridion性能分析和个性化错误:用户不能为空.请确保正确配置WAI

我有一个ASP.NET页面(index.aspx)使用从Tridion 2011 SP1发布的分析和个性化.如果用户之前已经将3个标记的页面(通过cat + keywords)标记为"golf",则它只显示一个动态组件显示和第二个动态组件显示.

我通过将TBB的"目标组个性化"和"激活跟踪"添加到我的默认完成操作来启动分析.我重新发布了该页面并看到它使用分析代码创建了动态cp,一切顺利:

<tridion:ComponentPresentation runat="server" PageURI="tcm:8-667-64" ComponentURI="tcm:8-668" TemplateURI="tcm:8-666-32"/>
<tridion:TargetGroup runat="server" ItemURI="tcm:8-667-64">
    <tridion:Conditions runat="server" Negate="false" Operator="AND">
        <tridion:Conditions runat="server" Negate="false" Operator="OR">
            <tridion:Conditions runat="server" Negate="false" Operator="AND">
                <tridion:Condition runat="server" Type="TrackingKey" Operator="=" Negate="false" Name="Golf" Value="3"/>
                </tridion:Conditions>
            </tridion:Conditions>
    </tridion:Conditions>
    <tridion:ComponentPresentation runat="server" PageURI="tcm:8-667-64" ComponentURI="tcm:8-663" TemplateURI="tcm:8-666-32"/>  
</tridion:TargetGroup>
<tridion:IncrementKey runat="server" ItemURI="tcm:8-667-64" Name="Golf" ComponentURI="tcm:8-663"/>
Run Code Online (Sandbox Code Playgroud)

问题:当我在浏览器中查看index.aspx时,它给出了错误:

用户不能为空.请确保正确配置WAI

我检查了代理DB,那里没有数据.我相信我的cm_wai_conf.xml文件配置正确.我读过这篇文章,建议WAI使用我添加到windows中的环境变量REMOTE_USER,但仍然没有运气. http://sdltridionworld.com/articles/UsingPandPinDistributedEnvironments.aspx

有没有人以前遇到过这个错误,可以帮忙吗?如有必要,我可以提供我的cd_wai_conf.xml文件

在此先感谢,非常感谢您的帮助,这让我疯狂!

编辑:添加配置文件 XML不会在StackOverflow中呈现,所以我在PasteBin上添加了它:http://pastebin.com/tHwqhwtq

asp.net tridion

9
推荐指数
2
解决办法
405
查看次数

在ASP.NET中使用Tridion 2011 links.svc服务

尝试在我的ASP.NET应用程序中向/linking.svc添加服务引用时收到以下错误:

下载时出错http://localhost:82/linking.svc/.请求失败,HTTP状态为404:未找到.元数据包含无法解析的引用:http://localhost:82/linking.svc/.没有端点监听http://localhost:82/linking.svc/可以接受该消息.这通常是由错误的地址或SOAP操作引起的.有关更多详细信息,请参阅InnerException(如果存在).远程服务器返回错误:(404)Not Found.如果在当前解决方案中定义了服务,请尝试构建解决方案并再次添加服务引用.

我认为我可以像odata一样使用链接服务(在Visual Studio中添加服务引用),因为odata对我来说很好.我检查了我的服务安装的web.config,并且两个端点看起来都配置正确.

<!-- HTTP support -->
        <service name="Tridion.ContentDelivery.Webservice.ODataService">
            <endpoint behaviorConfiguration="webHttp" bindingConfiguration="HttpBinding" binding="webHttpBinding" contract="Tridion.ContentDelivery.Webservice.IODataService" />
        </service>
        <service name="Tridion.ContentDelivery.Webservice.LinkingService">
            <endpoint behaviorConfiguration="webHttp" bindingConfiguration="HttpBinding" binding="webHttpBinding" contract="Tridion.ContentDelivery.Webservice.Ilinking" />
        </service>
        <service name="Tridi
Run Code Online (Sandbox Code Playgroud)

我假设我试图以不正确的方式使用linking.svc.

我的问题 ...我是否遵循在Visual Studio ASP.NET项目中使用linking.svc服务的正确过程?如果没有,请你帮我理解如何利用这个api.

非常感谢

tridion

9
推荐指数
2
解决办法
280
查看次数

标签 统计

tridion ×2

asp.net ×1