激活功能错误:找不到文件 [英] Activate Features error: File Not Found

查看:157
本文介绍了激活功能错误:找不到文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在尝试部署我的第一个SharePoint项目-联系人列表.部署后,我收到以下错误和警告:

Hi all, I'm trying to deploy my very first SharePoint project - a Contact List. Upon deployment, I received the following error and warnings:

错误 1 部署步骤激活功能"中发生错误:沙盒代码包装器的部分信任应用程序域中的Execute方法引发了未处理的异常:未找到文件.

Error 1 Error occurred in deployment step 'Activate Features': Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: File Not Found.

警告2 缺少必需的属性'Id'. C:\ SharePoint \ Test \ SharePointProject2 \ SharePointProject2 \ Features \ Contacts \ Contacts.Template.xml

Warning 2 The required attribute 'Id' is missing. C:\SharePoint\Test\SharePointProject2\SharePointProject2\Features\Contacts\Contacts.Template.xml

警告3 缺少必需的属性范围".C:\ SharePoint \ Test \ SharePointProject2 \ SharePointProject2 \ Features \ Contacts \ Contacts.Template .xml

Warning 3 The required attribute 'Scope' is missing. C:\SharePoint\Test\SharePointProject2\SharePointProject2\Features\Contacts\Contacts.Template.xml

我访问了我的网站,发现它已成功部署.但是,单击+新建项目会导致错误.我点击了修改"列表中,添加了新行,然后单击+新建项目可为表单编辑联系人详细信息.全部 好.

I visited my site and saw that it was deployed successfully. However, clicking + New Item resulted in an error. I clicked "edit" the list, added a new line and thereafter, clicking + New Item serves the form to edit Contact details. All good.

如果有人可以指出我正确的方向进行调试,将不胜感激.预先感谢!

It would be very much appreciated if someone can point me to the right direction to debug this. Thanks in advance!

推荐答案

我刚刚意识到自己发给了错误的论坛.我正在使用的SharePoint版本是2013-SharePoint Foundation.不是SharePoint2010.谢谢!
I just realized that I posted to the wrong forum. The SharePoint version that I'm using is 2013 - SharePoint Foundation. Not SharePoint 2010. Thanks!


这篇关于激活功能错误:找不到文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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