<?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: Credential Request/Query Error</title><link>https://www.infopathdev.com:443/forums/thread/84921.aspx</link><pubDate>Fri, 30 Nov 2012 02:58:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84921</guid><dc:creator>kbranley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84921.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=84921</wfw:commentRss><description>&lt;p&gt;Found this solution here: &lt;a href="http://blogs.msdn.com/b/jingmeili/archive/2007/05/31/how-to-display-current-user-s-full-name-email-and-other-info-in-infopath.aspx"&gt;http://blogs.msdn.com/b/jingmeili/archive/2007/05/31/how-to-display-current-user-s-full-name-email-and-other-info-in-infopath.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I believe&amp;nbsp;users of the form will need permissions to the site set up as well.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Tahoma&amp;#39;, &amp;#39;sans-serif&amp;#39;;COLOR:red;FONT-SIZE:10pt;"&gt;&lt;font face=""&gt;The query cannot be run for the following DataObject: GetUserProfileByName&lt;br /&gt;InfoPath cannot run the specified query.&lt;br /&gt;The SOAP response indicates that an error occurred on the server:&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Tahoma&amp;#39;, &amp;#39;sans-serif&amp;#39;;COLOR:red;FONT-SIZE:10pt;"&gt;&lt;font face=""&gt;Server was unable to process request. ---&amp;gt; Attempted to perform an unauthorized operation.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Tahoma&amp;#39;, &amp;#39;sans-serif&amp;#39;;COLOR:red;FONT-SIZE:10pt;"&gt;&lt;font face=""&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Tahoma&amp;#39;, &amp;#39;sans-serif&amp;#39;;COLOR:red;FONT-SIZE:10pt;"&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;, &amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;"&gt;Cause: I was calling the web service against the server root &amp;nbsp;that I didn’t have access to.&amp;nbsp; For example &lt;a href="http://server/_vti_bin/userprofileservice.asmx"&gt;&lt;font color="#0000ff"&gt;http://server/_vti_bin/userprofileservice.asmx&lt;/font&gt;&lt;/a&gt; but I didn’t have access to &lt;a href="http://server/"&gt;&lt;font color="#0000ff"&gt;http://server&lt;/font&gt;&lt;/a&gt; &lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;, &amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;"&gt;&lt;/span&gt;&amp;nbsp;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;, &amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;"&gt;Solution: Call the web service against the site the InfoPath template lives in, which the current user has access to. For example &lt;a href="http://server/sites/sitename/_vti_bin/userprofileservice.asmx"&gt;&lt;font color="#0000ff"&gt;http://server/sites/sitename/_vti_bin/userprofileservice.asmx&lt;/font&gt;&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;</description></item><item><title>Re: Credential Request/Query Error</title><link>https://www.infopathdev.com:443/forums/thread/80993.aspx</link><pubDate>Wed, 25 Jul 2012 14:37:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80993</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80993.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=80993</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Jen B:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I tested setting up two of the users with site owner access.&amp;nbsp; This time, after clicking the button, there is no pop up, but the data connection fails&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;p&gt;Does the data connection succeed for someone at all? whom?&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Credential Request/Query Error</title><link>https://www.infopathdev.com:443/forums/thread/80969.aspx</link><pubDate>Tue, 24 Jul 2012 21:27:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80969</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80969.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=80969</wfw:commentRss><description>&lt;p&gt;Hey, Jen - I think you&amp;#39;re right in thinking other people may also have locked down SharePoint scenarios - and that it is &lt;em&gt;not&lt;/em&gt; at all unlikely that others have run into this. Of course, whether they have found a solution may be the issue - it may just be a scenario where the easiest thing to do is keep another list that you do have access to.&lt;/p&gt;
&lt;p&gt;Not sure if this would be an option for you, but the company I work for sells an &lt;a href="http://www.qdabra.com/en/products/ADwebService.aspx"&gt;Active Directory web service&lt;/a&gt; that could perhaps be used in place of your current logic?&lt;/p&gt;</description></item><item><title>Re: Credential Request/Query Error</title><link>https://www.infopathdev.com:443/forums/thread/80968.aspx</link><pubDate>Tue, 24 Jul 2012 21:11:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80968</guid><dc:creator>Jen B</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80968.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=80968</wfw:commentRss><description>&lt;p&gt;Thanks for the insolent reply.&amp;nbsp;&amp;nbsp;It&amp;#39;s not&amp;nbsp;illogical to think someone on this forum may have run into a similar issue and may be able to point me in a direction of trouble-shooting.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Credential Request/Query Error</title><link>https://www.infopathdev.com:443/forums/thread/80916.aspx</link><pubDate>Tue, 24 Jul 2012 11:28:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80916</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80916.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=80916</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;IMO, it is the complete waste of time to put such kind of questions of how we screwed our system administration or network infrastructure into the forums.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;You should have run it in virtual machine with backups before any small incremental separate changes but not tweaking all at once&amp;nbsp; &lt;/p&gt;&lt;p&gt;Though, I am completely ready to admit that I am wrong if someone telepathically and magically resolve your issues&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Credential Request/Query Error</title><link>https://www.infopathdev.com:443/forums/thread/80789.aspx</link><pubDate>Thu, 19 Jul 2012 19:47:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80789</guid><dc:creator>Jen B</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80789.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=80789</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve published a 2010 IP form to a 2007 MOSS site.&amp;nbsp; On the form, there is a button that starts a data query to GetUserProfilebyName to pull back the submitter&amp;#39;s data.&amp;nbsp; The button has worked for me everytime - during previews and after publishing to MOSS.&amp;nbsp; I&amp;#39;m set up as a site owner.&lt;/p&gt;
&lt;p&gt;I just put some initial users on the form to do some testing.&amp;nbsp; They are set up in MOSS with contributor access via groups in our active directory.&amp;nbsp; When they open a form, and click the button, they are get a pop-up request for their login and password.&amp;nbsp; It appears to be from entmoss04.&lt;/p&gt;I tested setting up two of the users with site owner access.&amp;nbsp; This time, after clicking the button, there is no pop up, but the data connection fails.&amp;nbsp; The error details state:&lt;span&gt;&lt;/span&gt;&lt;span&gt; 
&lt;p dir="ltr" align="left"&gt;The query cannot be run for the following DataObject: GetUserProfileByName&lt;br /&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;InfoPath cannot run the specified query.The SOAP response indicates that an error occurred on the server:&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;Server was unable to process request. ---&amp;gt; Attempted to perform an unauthorized operation.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p dir="ltr" align="left"&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;&lt;font color="#000000"&gt;I think the issue is with how our sharepoint farms are set up within the company - they have implemented numerous restrictions (i.e. no form services, excel services, etc.).&amp;nbsp; That it won&amp;#39;t let certain access levels pull back that data.&amp;nbsp; We don&amp;#39;t have great IT support for IP and SP, so I&amp;#39;m not really getting anywhere with them.&amp;nbsp; I&amp;#39;m wondering if anyone out there has experienced this and has advice, a solution or just a &amp;quot;forget it, it won&amp;#39;t work&amp;quot; answer for me.&lt;br /&gt;The form is restricted to certain submitters... but there are a LOT of them.&amp;nbsp; Ideally, we want to have consistent data entered (and correct email/phone), which is why I was going with the GetUser.. option.&amp;nbsp; I&amp;#39;d prefer not maintaining a list of all of our possible submitters to be able to do this...&lt;br /&gt;&lt;br /&gt;Thanks for any thoughts that can be provided!&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p dir="ltr" align="left"&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;&lt;font color="#325382" size="2" face="eras itc"&gt;&lt;font color="#000000"&gt;Jen&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;</description></item></channel></rss>