<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Supress error mesage</title><link>https://www.infopathdev.com:443/forums/thread/41851.aspx</link><pubDate>Mon, 18 May 2009 19:39:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41851</guid><dc:creator>Abhi_Bhat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41851.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41851</wfw:commentRss><description>&lt;p&gt;Any suggestion&lt;/p&gt;</description></item><item><title>Re: Supress error mesage</title><link>https://www.infopathdev.com:443/forums/thread/41341.aspx</link><pubDate>Wed, 06 May 2009 14:49:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41341</guid><dc:creator>Abhi_Bhat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41341.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41341</wfw:commentRss><description>&lt;p&gt;Thanks for the reply ErnestoM.&lt;/p&gt;
&lt;p&gt;I had created webservice Data Connection &amp;amp; connecting &amp;#39;GetUserProfileByName&amp;#39; webservice. After that I have dragged AccountName attribute on my form and passing UserID in that textbox to retrieve FName, LName &amp;amp; Email in 3 different textboxes. I have also checked checkbox &amp;quot;Update the value when the result of the formula is recalculated&amp;quot; on 3 texboxes so that on change I can get updated values.&lt;/p&gt;
&lt;p&gt;Now&amp;nbsp;whenever I am updating the UserID I am getting updated FName,LName &amp;amp; Email. But when I enter incorrect UserID it gives error.&lt;/p&gt;
&lt;p&gt;Is ther any approach to retrieve data, if we can not supress this message?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Supress error mesage</title><link>https://www.infopathdev.com:443/forums/thread/41335.aspx</link><pubDate>Wed, 06 May 2009 10:59:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41335</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41335.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41335</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m stumped. The form isn&amp;#39;t going to know whether the ID is valid until after the web service call. So by then it&amp;#39;s too late to catch this via rules and supress the error message.&lt;/p&gt;
&lt;p&gt;Is this a web service that you wrote?&lt;/p&gt;</description></item><item><title>Re: Supress error mesage</title><link>https://www.infopathdev.com:443/forums/thread/41321.aspx</link><pubDate>Wed, 06 May 2009 02:05:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41321</guid><dc:creator>Abhi_Bhat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41321.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41321</wfw:commentRss><description>&lt;p&gt;That is true that I have a rule and that is attached and that rules retrieves data from AD. Now if I remove this rule it will not retrieve data from AD.&lt;/p&gt;
&lt;p&gt;Can I give user friendly message ? or &lt;/p&gt;
&lt;p&gt;Can I make rule run only when user id exist ?&lt;/p&gt;
&lt;p&gt;I am checking foe condition like IF UserID present or IF UserID not blank.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Supress error mesage</title><link>https://www.infopathdev.com:443/forums/thread/41318.aspx</link><pubDate>Tue, 05 May 2009 23:58:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41318</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41318.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41318</wfw:commentRss><description>&lt;p&gt;Hello, and welcome to the forums.&lt;/p&gt;&lt;p&gt;It sounds like you have a rule that is dependent on the Active Directory call. If the AD web service fails, then a rule isn&amp;#39;t applied because the user doesn&amp;#39;t exist. Can you check the rules in your form?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Supress error mesage</title><link>https://www.infopathdev.com:443/forums/thread/41305.aspx</link><pubDate>Tue, 05 May 2009 21:57:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41305</guid><dc:creator>Abhi_Bhat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41305.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41305</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I am using webservice to retrieve data from AD. When I enter a existing userid&amp;nbsp;it pulls all required information. When I entered incorrect UserID (ID not exist in AD)&lt;/p&gt;
&lt;p&gt;it gives wied error.&amp;quot;SOME RULES WERE NOT APPLIED&amp;quot; and in description says &amp;quot;User does not exist&amp;quot;&lt;/p&gt;
&lt;p&gt;How can I supress this message as its not at all user friendly &amp;amp; is there any way that I can provide custome error.&lt;/p&gt;
&lt;p&gt;Also one important point is I can not use any C# code&amp;nbsp;for this form.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I hope Microsoft has provided something for that.Thanks.&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>