Ok, i think i've narrowed it down to the certificate not being trusted. I've gone to the CA and created myself a "Code Signing" certificate with help from the network guys. I've now got this new certificate installed on my machine, but in which logical store should it reside so as InfoPath (or in my case Visual Studio) can see the certificate when I click on the "Select Certificate" button on the Security and Trust page of the Form Options? I think i've tried putting this certificate in all logical stores but it still doesn't want to appear.