VS2010 visual web part 部署时激活出错,急

Aleutain 2011-08-26 02:18:14
写了个简单的visual web part 部署到服务器上,激活solution遇到如下错误:

This solution contains invalid markup or elements that cannot be deployed as part of a sandboxed solution. Solution manifest for solution '08539ab8-ebe3-4401-8680-cee5b9c834c9' failed validation, file manifest.xml, line 10, character 4: The element 'Solution' in namespace 'http://schemas.microsoft.com/sharepoint/' has invalid child element 'TemplateFiles' in namespace 'http://schemas.microsoft.com/sharepoint/'. List of possible elements expected: 'FeatureManifests, ActivationDependencies' in namespace 'http://schemas.microsoft.com/sharepoint/'.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 6241702d-70fe-4f54-a089-3ac0efb358c8
Date and Time: 25/08/2011 06:51:02



那位牛人提点一下,不胜感激!
...全文
130 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
Ghost_Khz 2011-08-27
  • 打赏
  • 举报
回复
你的xml是不是某个节点写错了。 file manifest.xml, line 10, character 4: The element 'Solution' in namespace 'http://schemas.microsoft.com/sharepoint/'
Ghost_Khz 2011-08-26
  • 打赏
  • 举报
回复
把你的部署方式改为场解决方案!~~ 沙盒解决方案好像是没有权限的。。
mingpei0703 2011-08-26
  • 打赏
  • 举报
回复
包含了无效的标记或元素

LZ把提示翻译下,就知道那里无效了!
Aleutain 2011-08-26
  • 打赏
  • 举报
回复
部署方式已经是场解决方案啊,VS2010 visual web part只能选场解决方案啊!
Justin-Liu 2011-08-26
  • 打赏
  • 举报
回复
This solution contains invalid markup or elements that cannot be deployed as part of a sandboxed solution.

3,245

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 SharePoint
社区管理员
  • SharePoint社区
  • 霖雨 - LinyuLoveTJ
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧