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.
It looks like I need to configure alternate access mappings: