<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>ASP.NET AJAX UI</title><link>http://forums.asp.net/1008.aspx</link><description>Here you can discuss UI-related issues with AJAX such as controls and client-side functionality including Silverlight controls for ASP.NET</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Beta1 BUG: Forms authentication prevents access to the PageMethods proxy</title><link>http://forums.asp.net/thread/1502545.aspx</link><pubDate>Tue, 19 Dec 2006 21:32:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1502545</guid><dc:creator>jlchereau</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1502545.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1502545</wfw:commentRss><description>&lt;p&gt;Leonid, thx for your interest.&lt;/p&gt;
&lt;p&gt;It is obviously not the WebMethod attribute although it did work once, but broke again on the following day.&lt;/p&gt;
&lt;p&gt;I have found the solutions to the problem.&lt;/p&gt;
&lt;p&gt;See: &lt;a href="http://jlchereau.blogspot.com/2006/12/aspnet-ajax-page-method-on-login-page.html"&gt;http://jlchereau.blogspot.com/2006/12/aspnet-ajax-page-method-on-login-page.html&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Beta1 BUG: Forms authentication prevents access to the PageMethods proxy</title><link>http://forums.asp.net/thread/1488512.aspx</link><pubDate>Wed, 06 Dec 2006 18:32:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1488512</guid><dc:creator>Leonid Tsybert</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1488512.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1488512</wfw:commentRss><description>&lt;p&gt;This behavior does not make sense to me - having WebMethod should not break anything, in fact it is required.&amp;nbsp; ScriptMethod, on the other hand, is optional, and is used mostly to provide options like [ScriptMethod(UseHttpGet=true)]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you please give us an example of what your method signature looks like, including all the attributes?&lt;/p&gt;</description></item><item><title>Re: Beta1 BUG: Forms authentication prevents access to the PageMethods proxy</title><link>http://forums.asp.net/thread/1488511.aspx</link><pubDate>Wed, 06 Dec 2006 18:32:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1488511</guid><dc:creator>Leonid Tsybert</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1488511.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1488511</wfw:commentRss><description>&lt;p&gt;This behavior does not make sense to me - having WebMethod should not break anything, in fact it is required.&amp;nbsp; ScriptMethod, on the other hand, is optional, and is used mostly to provide options like [ScriptMethod(UseHttpGet=true)]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you please give us an example of what your method signature looks like, including all the attributes?&lt;/p&gt;</description></item><item><title>Re: Beta1 BUG: Forms authentication prevents access to the PageMethods proxy</title><link>http://forums.asp.net/thread/1488510.aspx</link><pubDate>Wed, 06 Dec 2006 18:32:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1488510</guid><dc:creator>Leonid Tsybert</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1488510.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1488510</wfw:commentRss><description>&lt;p&gt;This behavior does not make sense to me - having WebMethod should not break anything, in fact it is required.&amp;nbsp; ScriptMethod, on the other hand, is optional, and is used mostly to provide options like [ScriptMethod(UseHttpGet=true)]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you please give us an example of what your method signature looks like, including all the attributes?&lt;/p&gt;</description></item><item><title>Re: Beta1 BUG: Forms authentication prevents access to the PageMethods proxy</title><link>http://forums.asp.net/thread/1488153.aspx</link><pubDate>Wed, 06 Dec 2006 14:50:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1488153</guid><dc:creator>jlchereau</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1488153.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1488153</wfw:commentRss><description>&lt;p&gt;I have identified the problem. My PageMethod was decorated with both&lt;/p&gt;&lt;font color=#008000 size=2&gt;
&lt;p&gt;&lt;strike&gt;[System.Web.Services.WebMethod]&lt;/strike&gt;&lt;br /&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size=2&gt;[Microsoft.Web.Script.Services.&lt;/font&gt;&lt;font color=#2b91af size=2&gt;ScriptMethod&lt;/font&gt;&lt;font size=2&gt;]&lt;/font&gt;
&lt;p&gt;&lt;font size=2&gt;Removing WebMethod solved the issue.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Beta1 BUG: Forms authentication prevents access to the PageMethods proxy</title><link>http://forums.asp.net/thread/1439695.aspx</link><pubDate>Tue, 24 Oct 2006 18:19:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1439695</guid><dc:creator>Leonid Tsybert</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1439695.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1439695</wfw:commentRss><description>&lt;p&gt;One change from the previous CTP is that PageMethods now have to be declared as &amp;quot;static&amp;quot;.&amp;nbsp; Can you please double-check to make sure this is not the problem?&amp;nbsp; If your authentication allows you to access login.aspx, then the page methods that live on login.aspx should also be accessible.&amp;nbsp; If they are still not after you made them static, can you please post a small code sample?&lt;/p&gt;&lt;p&gt;Unlike&amp;nbsp;the .asmx pages,&amp;nbsp;login.aspx/js will not return you the proxy.&amp;nbsp; The proxy for PageMethods will always be inlined on the page.&lt;/p&gt;</description></item><item><title>Beta1 BUG: Forms authentication prevents access to the PageMethods proxy</title><link>http://forums.asp.net/thread/1438911.aspx</link><pubDate>Tue, 24 Oct 2006 07:20:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1438911</guid><dc:creator>jlchereau</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1438911.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=1438911</wfw:commentRss><description>&lt;p&gt;I am currently migrating my code from July CTP to Beta 1&lt;/p&gt;&lt;p&gt;I have a PageMethod in my forms autentication login page. It is used in the reset password section or the page to display the question corresponding to the email address that the user enters.&lt;/p&gt;&lt;p&gt;This used to work in&amp;nbsp;July CTP and it is broken in Beta 1 because the forms autentication prevents access to teh PageMethods proxy.&lt;/p&gt;&lt;p&gt;Actually, calling &lt;a href="http://localhost/login.aspx/js"&gt;http://localhost/login.aspx/js&lt;/a&gt;&amp;nbsp;is redirected to &lt;a href="http://localhost/login.aspx?ReturnUrl=%2flogin.aspx%2fjs"&gt;http://localhost/login.aspx?ReturnUrl=%2flogin.aspx%2fjs&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Is this a bug or by design?&lt;/p&gt;</description></item></channel></rss>