You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ravendb
Hello! I have a problem that may or may not be Raven specific.
I used to use a model included in my project to define documents in
RavenDB.
Recently i decided to separate the model into a separate project in
the same solution. The problem is that when I try to query the
database, the moved types don't get recognized and I get a cast
exception.
I imagine this is a pretty common problem. If someone could just point
me in the right direction.
Oren Eini (Ayende Rahien)
unread,
Jul 5, 2012, 4:38:30 AM7/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rav...@googlegroups.com
That is because you also have the old types.
If you removed them, it will work.
Starfish
unread,
Jul 5, 2012, 4:45:25 AM7/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ravendb
To quote Winston Smith,
I understand how but not why?
Oren Eini (Ayende Rahien)
unread,
Jul 5, 2012, 4:46:10 AM7/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rav...@googlegroups.com
You had:
Old.Item
You moved to:
New.Item
But you didn't delete Old.Item
Once you delete that, it will work
Starfish
unread,
Jul 5, 2012, 5:01:41 AM7/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ravendb
But I removed the "using".
Oren Eini (Ayende Rahien)
unread,
Jul 5, 2012, 5:05:20 AM7/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rav...@googlegroups.com
It isn't the using, it is the fact that they _type_ still exists.
Starfish
unread,
Jul 5, 2012, 6:54:02 AM7/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message