Hi Hilary,
I'm using SharePoint 2010 on-premise. Though I want to eventually call a Stored Procedure to display data in the InfoPath form, as a test I've created a simple alert box. I added a reference to System.Windows.Forms in the InfoPath code.
I attempted to upload the xsn file in Central Admin but received an error as below.
Its a lot of hassle to create a Fully Trusted Form (FTF), are you suggesting I can write code without a FTF and this would open in the browser? If yes, could you explain the steps in a bit more detail pls?
Also why am I getting the error below?
Thanks very much.