Visual Basic .NET » ASP.NET General Discussion
Debug Mode? -- gary --


Hi,

I am using fiddler to debug what is probably a simple problem I am having getting a serializable class back from ajax. I get the message
null; r.error = {"Message":"Specified cast is not valid.","Type":"System.InvalidCastException"}

Is there a way to get a more detailed exception message?
Thanks,

Gary

-- JosephGuadagno --

You can try to breakpoint the code in Visual Studio and see if the error is being thrown there or the AjaxPro library first.

Joseph Guadagno
http://josephguadagno.net 

On 7/11/06, gary <gbrewer> wrote:


Hi,

I am using fiddler to debug what is probably a simple problem I am
having getting a serializable class back from ajax. I get the message
null; r.error = {"Message":"Specified cast is not
valid.","Type":"System.InvalidCastException"}

Is there a way to get a more detailed exception message?
Thanks,

Gary
>

--  

Joseph Guadagno
http://josephguadagno.net 


-- gary --


Thanks Joseph,

I found the error it was in the framework not supporting enumerations which have a different base type other than int. I have emailed Michael with the fix.

Gary

-- AlbertWeinert --


gary schrieb:

I found the error it was in the framework not supporting enumerations
which have a different base type other than int. I have emailed
Michael with the fix.

Maybe you using an "old" version, enums other than int are supported since Version 6.6.2.1 

--

Freundliche Grüße

Albert Weinert

http://der-albert.com 

[Submit Comment]Home