<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>SELECT Permission Error on base table when using a VIEW</title><link>https://www.infopathdev.com:443/forums/thread/63378.aspx</link><pubDate>Thu, 20 Jan 2011 18:42:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63378</guid><dc:creator>alcjk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63378.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=63378</wfw:commentRss><description>&lt;p&gt;I have an Infopath 2007 form that does a simple query and submit to a SQL Server 2005 View.&amp;nbsp; The view does a SELECT on the Table (there are no joins) with a WHERE clause to filter the Rows.&amp;nbsp;When I click the SUBMIT button, I get an error saying that I don&amp;#39;t have&amp;nbsp;SELECT permission on the&amp;nbsp;base table the&amp;nbsp;view is referencing.&amp;nbsp;&amp;nbsp; The user id has Select and Update permission on the view (I&amp;#39;ve tested and&amp;nbsp;confirmed&amp;nbsp;that outside of InfoPath).&amp;nbsp;Also, if I grant Select permission to the base table, then the InfoPath submit will work (not an option for deployment).&amp;nbsp; As far I can see, the InfoPath form never references the base table name at all.&amp;nbsp; I&amp;#39;m stumped.&amp;nbsp; Any clues?&amp;nbsp; Thanks much:&lt;/p&gt;
&lt;p&gt;Error I am getting:&lt;/p&gt;
&lt;p&gt;InfoPath cannot submit the form.&lt;br /&gt;An error occurred while the form was being submitted.&lt;br /&gt;The SELECT permission was denied on the object &amp;#39;MyBaseTableName&amp;#39;, database &amp;#39;MyDataBaseName&amp;#39;, schema &amp;#39;dbo&amp;#39;.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>