[Mono-dev] ASP.NET Server.Transfer

Gonzalo Paniagua Javier gonzalo at ximian.com
Mon Nov 7 13:01:02 EST 2005


On Mon, 2005-11-07 at 14:22 -0200, Fabio Yasusi Yamamoto wrote:
> Hi
> 
>     Does anybony knows if "Server.Transfer( "page.asp", true )" work on 
> mono?
> 
> if i set the second argument to false  it work.
> 
> The problem occur  every time i try to use the parameter TRUE, and the 
> destination page has a <asp:> tag.

> System.InvalidCastException: Cannot cast from source type to destination type.
> in <0x00035> System.Web.UI.StateBag:LoadViewState (System.Object savedState)
> in <0x00031> System.Web.UI.Control:LoadViewState (System.Object savedState)

What version of mono are you using? Can you send me a test or file a bug
report (http://www.mono-project.com/Bugs)?

Thanks.

-Gonzalo





More information about the Mono-devel-list mailing list