设置 SharePoint+Silverlight Blueprint Colleague Viewer Web 部件
我正在尝试让 Silverlight Colleague Viewer Web 部件在我的测试服务器上运行。 silverlight 播放器呈现查看器,但在尝试访问 WCF 服务时失败。 IE 8 捕获以下错误。
网页错误详细信息
用户代理:Mozilla/4.0(兼容;MSIE 8.0;Windows NT 5.2;Trident/4.0;.NET CLR >1.1.4322;.NET CLR 2.0.50727;.NET CLR 3.0.04506.30;InfoPath.2; .NET CLR > 3.0.4506.2152;.NET CLR 3.5.30729) 时间戳:2009 年 4 月 14 日星期二 21:45:18 UTC
消息:未处理的错误 Silverlight 2应用程序异常 手术过程中发生的情况,使得 结果无效。 查看 InnerException 用于获取异常详细信息。 在 System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() 在 SL.XAML.ColleagueViewer.Proxies.GetUserProfileInfoCompletedEventArgs.get_Result() 在 SL.XAML.ColleagueViewer.Page.proxy_GetUserProfileInfoCompleted(对象 发件人, 获取用户配置文件信息完成事件参数 吃 SL.XAML.ColleagueViewer.Proxies.SocialNetworkingClient.OnGetUserProfileInfoCompleted(对象 状态)行:1 字符:1 代码:0 URI: http://mytestsite/_layouts/1033/init。 js?rev=ck%2BHdHQ8ABQHif7kr%2Bj7iQ%3D%3D
我已将 silverlight 的所有必要修改复制到我的 web.config 并在我的服务器上运行 install.bat 文件。
任何人都有任何想法。 如果需要更多详细信息,请发表评论,我会尽力提供。
谢谢, 乔什
I'm trying to get the Silverlight Colleague Viewer webpart to work on my test server. The silverlight player renders the Viewer but it fails when it attempts to access the WCF service. The error below is caught by IE 8.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR >1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.2; .NET CLR >3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Tue, 14 Apr 2009 21:45:18 UTCMessage: Unhandled Error in
Silverlight 2 Application An exception
occurred during the operation, making
the result invalid. Check
InnerException for exception details.
at
System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at
SL.XAML.ColleagueViewer.Proxies.GetUserProfileInfoCompletedEventArgs.get_Result()
at
SL.XAML.ColleagueViewer.Page.proxy_GetUserProfileInfoCompleted(Object
sender,
GetUserProfileInfoCompletedEventArgs
e) at
SL.XAML.ColleagueViewer.Proxies.SocialNetworkingClient.OnGetUserProfileInfoCompleted(Object
state) Line: 1 Char: 1 Code: 0 URI:
http://mytestsite/_layouts/1033/init.js?rev=ck%2BHdHQ8ABQHif7kr%2Bj7iQ%3D%3D
I have copied all of the necessary modification for silverlight to my web.config and run the install.bat file on my server.
Anyone have any thoughts. If more details are needed please comment and I will try to provide them.
Thanks,
Josh
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,确保 silverlight 安装中的一切都按顺序进行,蓝图上还有更多步骤,而不仅仅是修改 web.config,特别是:
安装 WSS SP1 和/或 MOSS SP1。 下载并安装 silverlight SDK 并将适当的文件复制到您的 GAC。 安装.net 3.5(system.web.extensions),添加MIME类型等。
确保您已完成所有这些,请查看:http://www.u2u.info/Blogs/Patrick/Lists/Categories/Category.aspx?Name=Silverlight%20BluePrint
也就是说,我不认为这是 Silverlight 安装问题。 (至少从错误来看),再次检查Web部件的安装/请求,可能有它所依赖的服务无法访问/安装。
First, be sure everything is in order in your silverlight install, there are more steps to the blue print than just modifying the web.config, specifically:
Install of WSS SP1 and/or MOSS SP1. Downloading and installing the silverlight SDK and copying appropriate files to your GAC. Installing .net 3.5 (system.web.extensions), adding the MIME type, etc.
Make sure you have done all of this, check out: http://www.u2u.info/Blogs/Patrick/Lists/Categories/Category.aspx?Name=Silverlight%20BluePrint
That said, I do not believe this is an install of Silverlight issue. (At least from the errors), check the install/reqs of the webpart again, there may be services it is dependent on that it does not have access to/are installed.