<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath Web Part error with q-rules browser form.</title><link>https://www.infopathdev.com:443/forums/thread/97486.aspx</link><pubDate>Thu, 15 May 2014 09:19:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97486</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97486.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=97486</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;&lt;p&gt;Thank you for your reply.&lt;/p&gt;&lt;p&gt;I am Site Collection Admin for the site I am trying to run this on.&lt;/p&gt;&lt;p&gt;I have re-injected q-rules to ensure I have Sandboxed and Browser checked.&lt;/p&gt;&lt;p&gt;I have run the Design Checker with verify on server checked.&amp;nbsp; I now have 1warnings Data connections contain parameterized queries, and numerous browser Optimizations.&lt;/p&gt;&lt;p&gt;I have re-published the form to the library, no errors in the publish. When I click on the open I still get the error.&lt;/p&gt;&lt;p&gt;In the logs I get....&lt;/p&gt;&lt;p&gt;-&amp;nbsp; - Unhandled exception was thrown by the sandboxed code wrapper&amp;#39;s Execute method in the partial trust app domain: An unexpected error has occurred. - userCodeWrapperType = &amp;quot;Microsoft.Office.InfoPath.Server.Host.FormServerUserCodeWrapper&amp;quot;, userAssemblyGroupId = &amp;quot;82AC8447486045A3A46C91B487B5666D-oHWTM3HxAhXW+WV06DPsSI01qbY+o3TteT0141meqxw=&amp;quot;, siteCollectionId = &amp;quot;c02e2c04-12b1-4d9b-aec3-1f61ec8a6f95&amp;quot; - Inner Exception: Microsoft.SharePoint.UserCode.SPUserCodeSolutionProxiedException: Could not load type &amp;#39;Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager&amp;#39; from assembly &amp;#39;Microsoft.SharePoint, Version=14.900.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&amp;#39;.&amp;nbsp;&amp;nbsp;&amp;nbsp; Server stack trace:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Server.SolutionLifetime.UserHost.GetCurrentUserAccountName()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.CreateDocument(HttpContext context, SPSite contextSite, String editingSessionId, Solution solution, String webUrl)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.LoadFromRemoteContext(Boolean firstOpened, String editingSessionId, Solution solution, Byte[] serializedState, Byte[] serializedVersionState, Dictionary`2 inputParams, OpenParameters openParameters)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Server.Controls.XmlFormView..ctor(Solution solution, RemoteExecutionContext remoteExecutionContext)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Server.Host.FormServerUserCodeWrapper.Execute(SPUserCodeExecutionContext executionContext)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.ExecuteWrapper(SPUserCodeWrapper wrapper, SPUserCodeExecutionContext executionContext)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp;amp; outArgs)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)&amp;nbsp;&amp;nbsp;&amp;nbsp; Exception rethrown at [0]:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData&amp;amp; msgData)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.CodeToExecuteWrapper.EndInvoke(IAsyncResult result)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRefExecute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)&lt;/p&gt;&lt;p&gt;followed by &lt;/p&gt;&lt;p&gt;-&amp;nbsp; - Could not load type &amp;#39;Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager&amp;#39; from assembly &amp;#39;Microsoft.SharePoint, Version=14.900.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&amp;#39;. - Request executing userSolution Id &amp;quot;82ac8447-4860-45a3-a46c-91b487b5666d&amp;quot; for site collection id &amp;quot; c02e2c04-12b1-4d9b-aec3-1f61ec8a6f95&amp;quot; has encountered an unhandled exception while executing user code.&lt;/p&gt;&lt;p&gt;Does that help ?&lt;/p&gt;</description></item><item><title>Re: InfoPath Web Part error with q-rules browser form.</title><link>https://www.infopathdev.com:443/forums/thread/97482.aspx</link><pubDate>Wed, 14 May 2014 23:18:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97482</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97482.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=97482</wfw:commentRss><description>&lt;p&gt;Hi - so if you are getting the same error when you open the browser, I&amp;#39;m surprised you didn&amp;#39;t get a warning when you published it that it wouldn&amp;#39;t open in the browser. Are you publishing directly to a library to sandbox the form?&lt;/p&gt;
&lt;p&gt;Usually what I do in these cases is try to publish the form directly to the library, then review the SharePoint log files for the time of publish to see if there is any info there. Then, I try opening the form in the browser and again review the logs.&lt;/p&gt;
&lt;p&gt;If the form has &lt;em&gt;not&lt;/em&gt; been injected with the Admin Approve option selected, it should be able to be published directly to a library instead of admin approved, as long as you are a site collection admin. This will sound ridiculous, but I have found I cannot sandbox a form as a farm admin - I have to be an actual site collection admin....&lt;/p&gt;
&lt;p&gt;Your form should not have to be full trust. Domain trust, injected w/ qRules Browser option selected for the correct version of InfoPath, and then, after ensuring you are a site collection admin, try publishing to a library again.&lt;/p&gt;</description></item><item><title>InfoPath Web Part error with q-rules browser form.</title><link>https://www.infopathdev.com:443/forums/thread/97479.aspx</link><pubDate>Wed, 14 May 2014 15:40:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97479</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97479.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=97479</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;Wasn&amp;#39;t sure what Forum to put this on....SharePoint or Q-rules.&lt;/p&gt;&lt;p&gt;I have an InfoPath Form&amp;nbsp; and SharePoint 2010.&amp;nbsp; I have injected Q-rules 5.1 for browser based forms.&lt;/p&gt;&lt;p&gt;The InfoPath Form services are activated in the site collection.&lt;/p&gt;&lt;p&gt;When I try and open the form in an InfoPath form web part I get an error message. The custom code in the&amp;nbsp; form cannot be run.&amp;nbsp; This functionality may be deactivated on the server. For more information, contact the server farm administrator.&lt;/p&gt;&lt;p&gt;I am one of the farm administrators and don&amp;#39;t really know where to go now.&lt;/p&gt;&lt;p&gt;Does a q rules form have to be an administrator form ?&amp;nbsp; &lt;/p&gt;&lt;p&gt;When the form opens from SharePoint in the client it works fine, but when it opens in the browser it produces the same error.&amp;nbsp;.&lt;/p&gt;&lt;p&gt;The form is currently Domain Security level (Should it need to be full trust?)&amp;nbsp;&amp;nbsp; Checking the form for browser compatibility I get one warning about data connections having parameterized queries.&lt;/p&gt;&lt;p&gt;Once the form is opened it works until I access a field with rules which interacts with the command line in q-rules, at which point I get the same error.&lt;/p&gt;&lt;p&gt;Thank you for your advice.&lt;/p&gt;&lt;p&gt;Catharine&lt;/p&gt;</description></item></channel></rss>