如果我将页面查看为: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()]
存在。