Thanks for your reply Jo-Anne. To simplify the environment, I made up a simple Access database on my computer with one table and two fields. Then I made up an InfoPath form to work with it. When submitting a record I got the same “Access Denied” error. Searching the internet for a solution, it seems that changing the security (under form options) to full trust would fix this. So I tried it and was able to submit records to the Access database. Going back to my SQL Server InfoPath document, I changed the security to Full Trust and can submit the record. I can’t save the document with Full Trust selected because it won’t let me open it (needs a certificate??). So for now I have to switch each document to Full Trust in order to submit them.
The document I’m creating has 5 pages with almost 700 fields – many check boxes. I completed the first page and can submit it (using Full Trust) with no problems. I added the rest of the fields to the SQL Server table and worked on the second page. Trying to submit (using Full Trust) I am getting this error:
Attribute 'c307' is not allowed on element '{http://schemas.microsoft.com/office/infopath/2003/ado/dataFields}AdmissionRecords', according to Schema.
So I’m wrestling with two problems in getting this document to work. I’d like to avoid the step that requires me to change the security setting for each submission, and this Attribute problem.
Do you have any suggestions?
Thanks Jo-Anne.