If you happen to get the pop-up error ” The project location is not fully trusted by .NET
” when using Microsoft Infopath 2003 with VS.NET, then try to apply the below
The below step will also help you to run/debug/preview your InfoPath forms
with Full trust capability.
Go to Microsoft .NET Framework 1.1 Configuration,
then go to the node, Runtime Security Policy/Machine node/Code Groups/, the All_Code node, and then right-click the All_Code node and click New to open the Create Code Group dialog box.
Name the new code group InfoPath Form Templates (this text must be exact), and then click Next.
Set the condition type for the code group to All Code, and then click Next.
Click Use existing permission set, assign the Nothing permission set to the code group, click Next, and then click Finish.
To apply the new settings, close and restart InfoPath