SharePoint 2013沙盒解决方案接收器部署错误 [英] SharePoint 2013 Sandboxed Solution Receiver Deployment error

查看:64
本文介绍了SharePoint 2013沙盒解决方案接收器部署错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

希望有人可以帮助我.我在Visual Studio 2012中为SharePoint 2013创建了一个简单的ItemAdded事件接收器.
当作为场解决方案部署时它可以工作,但我希望它在Office 365中作为沙盒解决方案工作.

作为沙盒解决方案,当部署到我的开发服务器时,它不起作用. SharePoint用户代码主机服务正在运行,并且Microsoft SharePoint Foundation沙盒代码服务已启动.

部署时,ULS Viewer中的错误是...

2013年6月19日09:29:19.51 vssphost5.exe(0x20C4) 0x2B44 SharePoint Foundation 拓扑 umad
解决方案部署:在清单根节点中寻找解决方案'ProcessClaimRequest.wsp'的'ReceiverAssembly'属性.

2013年6月19日09:29:19.51 vssphost5.exe(0x20C4) 0x2B44 SharePoint Foundation 拓扑 umae
解决方案部署:在清单根节点中查找解决方案'ProcessClaimRequest.wsp'的'ReceiverClass'属性.

2013年6月19日09:29:19.51 vssphost5.exe(0x20C4) 0x2B44 SharePoint Foundation 拓扑 umal
中型 解决方案部署:解决方案ProcessClaimRequest.wsp的根节点中缺少以下一个或多个属性:组件",键入". "white-space:pre">

(其中3个错误)06/19/2013 09:29:19.88 vssphost5.exe(0x20C4) 0x2B44 SharePoint Foundation 常规 6644 关键
事件管理器错误:无法加载文件或程序集'ProcessClaimRequest,版本= 1.0.0.0,区域性=中性,PublicKeyToken = d2aebb8b8fa29854'或其依赖项之一.系统找不到指定的文件.

VS2012会创建Feature,Package和Elements.xml文件.有人可以帮助使沙盒解决方案正常工作吗?

谢谢


Hello,

Hoping someone can help me. I created a simple ItemAdded Event Receiver for SharePoint 2013 in Visual Studio 2012.
It works when deployed as a farm solution, but I want it to work in Office 365 as a Sandboxed solution.

As Sandboxed Solution when deployed to my dev server, it doesnt work. The SharePoint User Code Host service is running and Microsoft SharePoint Foundation Sandboxed Code Service is started.

The errors in ULS Viewer when deployed were...

06/19/2013 09:29:19.51 vssphost5.exe (0x20C4) 0x2B44 SharePoint Foundation Topology umad
Medium Solution Deployment : Looking for 'ReceiverAssembly' attribute in manifest root node for solution 'ProcessClaimRequest.wsp'.

06/19/2013 09:29:19.51 vssphost5.exe (0x20C4) 0x2B44 SharePoint Foundation Topology umae
Medium Solution Deployment : Looking for 'ReceiverClass' attribute in manifest root node for solution 'ProcessClaimRequest.wsp'.

06/19/2013 09:29:19.51 vssphost5.exe (0x20C4) 0x2B44 SharePoint Foundation Topology umal
Medium Solution Deployment : Missing one or more of the following attributes from the root node in solution ProcessClaimRequest.wsp: assembly '', type ''.

(3 of these errors) 06/19/2013 09:29:19.88 vssphost5.exe (0x20C4) 0x2B44 SharePoint Foundation General 6644 Critical
Event manager error: Could not load file or assembly 'ProcessClaimRequest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d2aebb8b8fa29854' or one of its dependencies. The system cannot find the file specified.

The Feature, Package, Elements.xml files are what VS2012 creates. Can someone help make the sandboxed solution work.

Thank you.


推荐答案

我也遇到了同样的问题.我找到了一个解决方案" vssphost5.exe是Visual Studio用来部署和收回wsp(沙盒和完全信任)的过程.

I got the same problem too. I found a "solution" vssphost5.exe is a process used by visual studio to deploy and retract wsp's (sandboxed and fulltrust).

只需关闭VS,iisreset/noforce,它将终止该过程,然后通过powershell手动进行部署.

Just close VS, iisreset /noforce, it will terminate the process, then deploy manually via powershell.

我希望这种解决方法对您有所帮助,我们会尽快修复.

I hope this workaround helped you and that we'll get a fix soon.


这篇关于SharePoint 2013沙盒解决方案接收器部署错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆