Thanks for your reply.
I created a new certifcate using Create Certificate Wizard of 'Security and Trust' in 'Form Options' of Infopath Form. It did work. Now I can see my Infopath form.
My next task for infopath form was to include some controls, get them connected to data from SQL Express and update certain Master-child tables in the database on button click. I didnot include connection code but included namespaces (System.Data.SQLClient)
When I tried to do the same, I got the following exception...
InfoPath cannot open the selected form because of an error in the form's code.
The Microsoft .NET Framework 1.1 is not installed on your computer or the InfoPath primary interop assembly (PIA) is not registered. Use Add or Remove Programs in Control Panel to make sure that Microsoft .NET Framework 1.1 is installed or install it using Windows Update, then run Setup again to confirm that .NET Programmability Support is installed, or contact your system administrator.
That assembly does not allow partially trusted callers.
I followed https://msdn2.microsoft.com/en-us/library/aa943009(VS.80).aspx and done the following changes..
1. checked to refer all the PIA's
2. made "Run all from my computer" in control panel->add/remove programs->Microsoft office 2007->change->.Net programmability support->Run all from my computer
3. Re-run .NET 1.1 software as I am using .Net 3.0.
Finally I got my infopath form integrated in new window of Smart Client Software Factory application. I am now stuck with the following issue that I couldnot trace as where to refer.
I am trying to open a simple infopath form. get it fully trusted with certificate and write code in Visual Studio using 'Programming'. --- ERROR here
Please do let me know how can I troubleshoot it.
Infopath cannot add Event Handler.Infopath has encountered an error. The Operation failed.
Thanks in advance..