Looks to me like you're trying to use a property "ID" on a KeyValuePair:
System.MissingMethodException: Method
'System.Collections.Generic.KeyValuePair{bla bla bla}.ID' not found
There is no ID property on a KVP.
On Wed, Dec 10, 2008 at 4:55 PM, M Kenyon II <[EMAIL PROTECTED]> wrote:
>
> I'm getting an error message on one of my pages, and it's probably
> from a typo, but I can't tell where.
>
> Server Error in '/IntranetApps' Application.
> --------------------------------------------------------------------------------
>
> Method 'System.Collections.Generic.KeyValuePair`2
> [[IntranetApps.Models.Law.Warning.wbCategory, Models, Version=1.0.0.0,
> Culture=neutral, PublicKeyToken=afa8b734a013185e],[System.String,
> mscorlib, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089]].ID' not found.
> Description: An unhandled exception occurred during the execution of
> the current web request. Please review the stack trace for more
> information about the error and where it originated in the code.
>
> Exception Details: System.MissingMethodException: Method
> 'System.Collections.Generic.KeyValuePair`2
> [[IntranetApps.Models.Law.Warning.wbCategory, Models, Version=1.0.0.0,
> Culture=neutral, PublicKeyToken=afa8b734a013185e],[System.String,
> mscorlib, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089]].ID' not found.
>
>
> The code compiles, and stepping through the code seems to work.
> The .rails View is written in Boo, and there is no Intellisense or
> code checking in there to help.
> With ASP classic or PHP you could sometimes put comments in that would
> show up on the page, giving you an idea of where in the code the error
> occurs, but the above message tells me very little other than I'm
> looking for a bogus Category ID.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---