<?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: How to redirect Infopath form to Specified URL ?</title><link>https://www.infopathdev.com:443/forums/thread/53463.aspx</link><pubDate>Thu, 08 Apr 2010 05:37:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53463</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53463.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53463</wfw:commentRss><description>&lt;p&gt;i dont know whether it is similar issue or not, i faced one that seems to be similar, what i ended i doing was storing the url in a string variable and then passing the string variable to the method instead of the actual string, It seems it does not support longer strings. urls like google and yahoo work directly,&lt;/p&gt;</description></item><item><title>Re: How to redirect Infopath form to Specified URL ?</title><link>https://www.infopathdev.com:443/forums/thread/53437.aspx</link><pubDate>Wed, 07 Apr 2010 18:14:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53437</guid><dc:creator>ritesh2412</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53437.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53437</wfw:commentRss><description>Hi Patrick, Thanks for the reply.

The Security level of the form is full trust. I can open up the url&amp;#39;s like &amp;#39;http://www.yahoo.com/latest-news.html&amp;#39; or &amp;#39;http://www.google.com&amp;#39;. 
However when i pass on the above mentioned url to Response.Redirect() method, i get the Critical Error pop up</description></item><item><title>Re: How to redirect Infopath form to Specified URL ?</title><link>https://www.infopathdev.com:443/forums/thread/53412.aspx</link><pubDate>Wed, 07 Apr 2010 13:37:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53412</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53412.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53412</wfw:commentRss><description>&lt;p&gt;What happens if you add an expression box formatted as HTML that points at the same string?&amp;nbsp; Best practice is to use a link not a button.&lt;/p&gt;
&lt;p&gt;What is the security level of your form? Default is Domain Trust. If you make it Full Trust does this change the behavior?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to redirect Infopath form to Specified URL ?</title><link>https://www.infopathdev.com:443/forums/thread/53407.aspx</link><pubDate>Wed, 07 Apr 2010 10:33:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53407</guid><dc:creator>ritesh2412</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53407.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53407</wfw:commentRss><description>Hello,

I am trying to open up a SSRS Report from Infopath form on button click. the url i am using is as follows.

string strurl = &amp;quot;http://server2:8080/ReportServer_sqlserver23?/CoreProduct&amp;amp;rs:Command=Render&amp;amp;rs:Format=PDF&amp;amp;ReportParameter=http://testserver/personal/ThortonRoss/test1/IMBLatestDocs/test1.xml?noredirect=true&amp;quot;;

After this code executes, a warning message from IE comes up saying &amp;#39;this page is trying to access information that is not under its control. It poses a security risk.Do you want to continue?&amp;#39;

When i click on yes, i get &amp;#39;Critical Error&amp;#39; pop up with the options &amp;#39;Start Over&amp;#39; and &amp;#39;Exit&amp;#39;

Other url&amp;#39;s like &amp;#39;http://www.yahoo.com/latest-news.html&amp;#39;, &amp;#39;http://www.google.com&amp;#39; opens up properly from Infopath form itself on button click.

However the same above url &amp;#39;strurl&amp;#39; opens up the PDF correctly when i enter this url directly in to the browser.

 

I have been stuck into this for 3 days. Any sort of help would be appreciated !</description></item></channel></rss>