<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Failed to connet SqlClient</title><link>https://www.infopathdev.com:443/forums/thread/12262.aspx</link><pubDate>Fri, 11 Aug 2006 16:14:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12262</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12262.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12262</wfw:commentRss><description>Great! Glad to have been able to help!</description></item><item><title>Re: Failed to connet SqlClient</title><link>https://www.infopathdev.com:443/forums/thread/12261.aspx</link><pubDate>Fri, 11 Aug 2006 09:40:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12261</guid><dc:creator>angie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12261.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12261</wfw:commentRss><description>Thankx Greg Collins. After set to Full Trust Form and the error no occur anymore.</description></item><item><title>Re: Failed to connet SqlClient</title><link>https://www.infopathdev.com:443/forums/thread/12260.aspx</link><pubDate>Wed, 09 Aug 2006 17:49:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12260</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12260.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12260</wfw:commentRss><description>Your error indicates that this is a security issue.&lt;br /&gt;&lt;br /&gt;1. Check your permissions.&lt;br /&gt;2. Try creating a full trust form.</description></item><item><title>Failed to connet SqlClient</title><link>https://www.infopathdev.com:443/forums/thread/12118.aspx</link><pubDate>Wed, 09 Aug 2006 09:31:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12118</guid><dc:creator>angie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12118.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12118</wfw:commentRss><description>I'm using InfoPath 2007. I try to retrieve the records from SQL server and update the form's field but system prompt the following error when execute the code "MyConnection.Open();"&lt;br /&gt;&lt;br /&gt;System.Security.SecurityException&lt;br /&gt;Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, 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.SqlClient.SqlConnection.PermissionDemand()&lt;br /&gt;   at System.Data.SqlClient.SqlConnectionFactory.PermissionDemand(DbConnection outerConnection)&lt;br /&gt;   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)&lt;br /&gt;   at System.Data.SqlClient.SqlConnection.Open()&lt;br /&gt;   at StaffAbsenceRequestForm.FormCode.CTRL39_5_Clicked(Object sender, ClickedEventArgs e)&lt;br /&gt;   at Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)&lt;br /&gt;   at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)&lt;br /&gt;&lt;br /&gt;Please advice and suggest the solution.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;-angie-&lt;br /&gt;</description></item></channel></rss>