SharePoint 沙箱解决方案因使用的网址而失败
如果我将页面查看为:http://dev/page.aspx,则我的 SharePoint 2010 沙盒解决方案可以在我的开发计算机上完美运行 效果很好。
但是,如果我将页面查看为 http://dev.corp.company.com/page.aspx 我收到以下错误:
Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: File Not Found.
即使查看没有后面代码的空白 Web 部件,也会引发错误。
[assembly: AllowPartiallyTrustedCallers()]
存在。
I have a SharePoint 2010 Sandbox Solution working perfectly on my dev machine if I view the page as: http://dev/page.aspx it works great.
However, if I view the page as http://dev.corp.company.com/page.aspx I get the following error:
Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: File Not Found.
Error throws even when viewing a blank web part with no code behind.
[assembly: AllowPartiallyTrustedCallers()]
is present.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来我需要配置备用访问映射:
It looks like I need to configure alternate access mappings: