<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Response.Redirect Error</title><link>https://www.infopathdev.com:443/forums/thread/57312.aspx</link><pubDate>Fri, 23 Jul 2010 20:42:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57312</guid><dc:creator>rgregor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57312.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=57312</wfw:commentRss><description>&lt;p&gt;I am having the same exact issue as mentioned here: &lt;a href="http://social.msdn.microsoft.com/Forums/en/sharepointinfopath/thread/d83e7c6e-f01f-42c9-94fd-20ca78db27d8"&gt;http://social.msdn.microsoft.com/Forums/en/sharepointinfopath/thread/d83e7c6e-f01f-42c9-94fd-20ca78db27d8&lt;/a&gt;.&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Here is my code:&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; CTRL1_5_Clicked(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sender, &lt;/font&gt;&lt;font color="#008080" size="2"&gt;&lt;font color="#008080" size="2"&gt;ClickedEventArgs&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; e)&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; url = MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/my:myFields/my:field1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).Value;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/p&gt;&lt;font color="#008080" size="2"&gt;&lt;font color="#008080" size="2"&gt;HttpContext&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Current.Response.Redirect(url, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&amp;nbsp;If the url is &lt;a href="http://www.google.com/"&gt;http://www.google.com&lt;/a&gt;. It works!&lt;/p&gt;
&lt;p&gt;but (the url of my browser form): &lt;a href="http://server/_layouts/FormServer.aspx?XsnLocation=http://server/FormServerTemplates/Access%20Request%20Forms.xsn&amp;amp;SaveLocation=http%3A%2F%2Fserver%2FAccess%20Request%20Forms&amp;amp;Source=http%3A%2F%2Fserver%2FAccess%2520Request%2520Forms%2FForms%2FAllItems%2Easpx&amp;amp;DefaultItemOpen=1"&gt;http://server/_layouts/FormServer.aspx?XsnLocation=http://server/FormServerTemplates/Access%20Request%20Forms.xsn&amp;amp;SaveLocation=http%3A%2F%2Fserver%2FAccess%20Request%20Forms&amp;amp;Source=http%3A%2F%2Fserver%2FAccess%2520Request%2520Forms%2FForms%2FAllItems%2Easpx&amp;amp;DefaultItemOpen=1&lt;/a&gt;&amp;nbsp;Does not work! &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I get this error on button click: &lt;/p&gt;
&lt;p&gt;
&lt;table class="" style="TABLE-LAYOUT:fixed;"&gt;

&lt;tr&gt;
&lt;td class="ErrorPageNormalText" id="ErrorDialogShortMessage" class="ErrorPageNormalText"&gt;An error occurred submitting this form to the Web server. The form will now be closed.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="ErrorPageNormalText" class="ErrorPageNormalText"&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="ErrorPageNormalText" class="ErrorPageNormalText"&gt;Click &lt;b&gt;Start Over&lt;/b&gt; to load a new copy of the form. If this error persists, contact the support team for the Web site.&lt;br /&gt;&lt;br /&gt;Click &lt;b&gt;Close&lt;/b&gt; to exit this message.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;Am I doing somthing wrong? Is there another way to redirect a form on submit?&lt;/p&gt;</description></item></channel></rss>