<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: publish the form into C drive in same laptop.</title><link>https://www.infopathdev.com:443/forums/thread/10152.aspx</link><pubDate>Mon, 31 Jul 2006 06:31:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10152</guid><dc:creator>Whitley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10152</wfw:commentRss><description>hi Matt Faus,&lt;br /&gt;&lt;br /&gt;mine 1 currently is set to "domain" trust&lt;br /&gt;so how can i do it in next step?&lt;br /&gt;thanks in advance.&lt;br /&gt;</description></item><item><title>Re: publish the form into C drive in same laptop.</title><link>https://www.infopathdev.com:443/forums/thread/10151.aspx</link><pubDate>Thu, 27 Jul 2006 17:22:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10151</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10151.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10151</wfw:commentRss><description>I think this is because your form is running in restricted mode.  In design mode, make sure to go to Tools -&amp;gt; Form Options, Security tab and uncheck the box that says automatically determine security level.  Next, choose Domain Trust, and then click OK.  After you have done all of this, make sure that you actually &lt;b&gt;publish&lt;/b&gt; the XSN onto the C drive, not just copy+paste the XSN file.</description></item><item><title>publish the form into C drive in same laptop.</title><link>https://www.infopathdev.com:443/forums/thread/5740.aspx</link><pubDate>Wed, 26 Jul 2006 08:23:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5740</guid><dc:creator>Whitley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5740.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5740</wfw:commentRss><description>hi, may i know how to solve this problem?&lt;br /&gt;at first, i have attach the form with visual studio.net because i am using vb.net to connect .mdb&lt;br /&gt;all work ok.&lt;br /&gt;&lt;br /&gt;but since i want the form be stand alone (because i don't want other people see the coding as well.) so i am trying to publish the as mak.xsn in C drive into same laptop.&lt;br /&gt;but once i press the submit button, it can't work.&lt;br /&gt;&lt;br /&gt;&lt;font color="red"&gt;error message&lt;/font id="red"&gt; is form code error.&lt;br /&gt;&lt;br /&gt;&lt;font color="red"&gt;Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.&lt;br /&gt;   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark&amp; stackMark, Boolean isPermSet)&lt;br /&gt;   at System.Security.PermissionSet.Demand()&lt;br /&gt;   at System.Data.Common.DbConnectionOptions.DemandPermission()&lt;br /&gt;   at System.Data.OleDb.OleDbConnection.PermissionDemand()&lt;br /&gt;   at System.Data.OleDb.OleDbConnectionFactory.PermissionDemand(DbConnection outerConnection)&lt;br /&gt;   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)&lt;br /&gt;   at System.Data.OleDb.OleDbConnection.Open()&lt;br /&gt;   at InfoPathProject3.InfoPathProject3.AddRecord(DateTime Date_Apply, Int32 StaffNo, DateTime LeaveAppliedFrom, DateTime LeaveAppliedTo, Int32 DaysLeaveApplied, Int32 Nature_Leave_ID, Int32 ApprovedBy, DateTime ApprovedDate, Int32 Status_ID)&lt;br /&gt;   at InfoPathProject3.InfoPathProject3.CTRLSubmit_OnClick(DocActionEvent e)&lt;br /&gt;   at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)&lt;/font id="red"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;then &lt;font color="blue"&gt;i need to select "design a form" from file menu and choose to design this form. after that, i have to press "PREVIEW BUTTON" and key in the detail, follow by press the "SUBMIT" button. then it only allowed me to save record into .mdb.&lt;/font id="blue"&gt;&lt;br /&gt;&lt;br /&gt;so who can give some opinion to skip the step.&lt;br /&gt;&lt;br /&gt;because i just want the user click on the template then can fill in and submit directly. without going to design mode and preview then only can key in and save.&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>