<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Infopath connections with WCF Services</title><link>https://www.infopathdev.com:443/forums/thread/31121.aspx</link><pubDate>Fri, 01 Aug 2008 15:12:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31121</guid><dc:creator>luisin22</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31121.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31121</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;font face="Times New Roman" size="3"&gt;After hours of seeing why this might happen, I found out why.&lt;/font&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;/u&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;font face="Times New Roman" size="3"&gt;Whenever you try tu use a WCF whithin a sharepoint site, this meand Hosted inside the SP site, YOU MUST sign the dll and throw it to GAC, I was having the problem above because I was using the bin directory. But anyways I&amp;#39;ve learned soemthing hehe&lt;/font&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;/u&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;font face="Times New Roman" size="3"&gt;Cheers&lt;/font&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Infopath connections with WCF Services</title><link>https://www.infopathdev.com:443/forums/thread/31088.aspx</link><pubDate>Thu, 31 Jul 2008 22:01:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31088</guid><dc:creator>luisin22</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31088</wfw:commentRss><description>&lt;p&gt;Hi I&amp;#39;m newbe on Infopath&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve hosted a WCF service in my sharepoint site under a folder that I&amp;#39;ve called _wcf, I&amp;#39;ve enabled anonymus access.&lt;/p&gt;
&lt;p&gt;I can see my service working, and also I can create a connection from infopath to the service. But when opening the form and try to use the adapter It logs this exception into SharePoint log:&lt;/p&gt;
&lt;p&gt;07/31/2008 17:24:28.85 &amp;nbsp;w3wp.exe (0x0F80)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x1120&amp;nbsp;Forms Server&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Forms Services Data Objects&amp;nbsp;&amp;nbsp; &amp;nbsp;13zh&amp;nbsp;Exception&amp;nbsp; System.Net.WebException: The remote server returned an error: (500) Internal Server Error.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Net.HttpWebRequest.GetResponse()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.GetResponseHelper(WebRequest request, DataAdapterTimer dataAdapterTimer, DataAdapterCredentials credentials, Stopwatch timer, ExecWebRequestExceptionState state, String adapterName, Boolean isQuery)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset, XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, Solution solution, Document document, String name, Boolean isQuery, DataAdapterTimer dataAdapterTime...&amp;nbsp;18efae18-b80e-4a2d-b85b-53c6ea705a71&lt;br /&gt;07/31/2008 17:24:28.85*&amp;nbsp;w3wp.exe (0x0F80)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x1120&amp;nbsp;Forms Server&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Forms Services Data Objects&amp;nbsp;&amp;nbsp; &amp;nbsp;13zh&amp;nbsp;Exception&amp;nbsp;...r, DataAdapterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf)&amp;nbsp;18efae18-b80e-4a2d-b85b-53c6ea705a71&lt;br /&gt;07/31/2008 17:24:28.86 &amp;nbsp;w3wp.exe (0x0F80)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x1120&amp;nbsp;Forms Server&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Forms Services Data Objects&amp;nbsp;&amp;nbsp; &amp;nbsp;7tfk&amp;nbsp;Medium&amp;nbsp; &amp;nbsp;Data adapter failed during OnLoad: The remote server returned an error: (500) Internal Server Error.&amp;nbsp; Access is denied.&amp;nbsp;18efae18-b80e-4a2d-b85b-53c6ea705a71&lt;br /&gt;07/31/2008 17:24:28.86 &amp;nbsp;w3wp.exe (0x0F80)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x1120&amp;nbsp;Forms Server&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Forms Services Runtime - Data C&amp;nbsp;82fy&amp;nbsp;Warning &amp;nbsp;The following query failed: GetOrganizationsSharePoint (User: MOSSDEV\administrator, Form Name: ContractManagement, IP: , Request: &lt;a href="http://moss01:40000/_layouts/FormServer.aspx?XsnLocation=http://moss01:40000/FormServerTemplates/ContractManagement.xsn&amp;amp;SaveLocation=http://moss01:40000/Contracts&amp;amp;Source=http://moss01:40000/Contracts/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1"&gt;http://moss01:40000/_layouts/FormServer.aspx?XsnLocation=http://moss01:40000/FormServerTemplates/ContractManagement.xsn&amp;amp;SaveLocation=http://moss01:40000/Contracts&amp;amp;Source=http://moss01:40000/Contracts/Forms/AllItems.aspx&amp;amp;DefaultItemOpen=1&lt;/a&gt;, Form ID: urn:schemas-microsoft-com:office:infopath:ContractManagement:-myXSD-2008-07-23T19-59-12, Type: DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error.&amp;nbsp; Access is denied. The remote server returned an error: (500) Internal Server Error.)&amp;nbsp;18efae18-b80e-4a2d-b85b-53c6ea705a71&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have the development server (included in visual studio)&amp;nbsp;running as well&amp;nbsp;in which i hosted the service. and in here the service works.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now, how can this happen, what I&amp;#39;m missing?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;other question is how do i know which is the sharepoint context, web or Url. where the connection was first originated??&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>