<?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 form get SpContext.Current.Site.Url null value.</title><link>https://www.infopathdev.com:443/forums/thread/59119.aspx</link><pubDate>Wed, 22 Sep 2010 05:13:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59119</guid><dc:creator>Bhavin Sankhat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59119.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=59119</wfw:commentRss><description>&lt;p&gt;Thank you for your reply but&amp;nbsp; It&amp;#39;s not the solution that i am looking for.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Infopath form get SpContext.Current.Site.Url null value.</title><link>https://www.infopathdev.com:443/forums/thread/59084.aspx</link><pubDate>Tue, 21 Sep 2010 13:41:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59084</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=59084</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m not sure it help but have you check this :&lt;/p&gt;
&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/896861"&gt;http://support.microsoft.com/kb/896861&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Infopath form get SpContext.Current.Site.Url null value.</title><link>https://www.infopathdev.com:443/forums/thread/59079.aspx</link><pubDate>Tue, 21 Sep 2010 13:12:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59079</guid><dc:creator>Bhavin Sankhat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59079.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=59079</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;When i tries to access a current site name of sharepoint into my infopath form it give me error like:&lt;/p&gt;&lt;p&gt;&lt;b&gt;The Web application at http://MySharepoint could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application. &lt;/b&gt;&lt;/p&gt;&lt;p&gt;I have tried different option like:&lt;/p&gt;&lt;p&gt;1) string strSitename=SpContext .Current.Site.Url;&lt;/p&gt;&lt;p&gt;2) SpSite spSitename = new SpSite(&amp;quot;http://MySharepoint&amp;quot;) ;&lt;/p&gt;&lt;p&gt;3)&amp;nbsp; SpSite spSitename = new SpSite(&amp;quot;http://191.1.1.1&amp;quot;) ;&lt;/p&gt;&lt;p&gt;4) SpSite spSitename = new SpSite(&amp;quot;http://intranet&amp;quot;) ; (My AAM name).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But still i didn&amp;#39;t got Current site name into infopath form. I am stuck here and already it has taken my one day. Please help on this.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>