Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unable to cast to moved types
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Starfish  
View profile  
 More options Jul 5 2012, 4:36 am
From: Starfish <ahn...@rocketmail.com>
Date: Thu, 5 Jul 2012 01:36:53 -0700 (PDT)
Local: Thurs, Jul 5 2012 4:36 am
Subject: Unable to cast to moved types
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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Jul 5 2012, 4:38 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Thu, 5 Jul 2012 11:38:30 +0300
Local: Thurs, Jul 5 2012 4:38 am
Subject: Re: [RavenDB] Unable to cast to moved types

That is because you also have the old types.
If you removed them, it will work.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Starfish  
View profile  
 More options Jul 5 2012, 4:45 am
From: Starfish <ahn...@rocketmail.com>
Date: Thu, 5 Jul 2012 01:45:25 -0700 (PDT)
Local: Thurs, Jul 5 2012 4:45 am
Subject: Re: Unable to cast to moved types
To quote Winston Smith,

I understand how but not why?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Jul 5 2012, 4:46 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Thu, 5 Jul 2012 11:46:10 +0300
Local: Thurs, Jul 5 2012 4:46 am
Subject: Re: [RavenDB] Re: Unable to cast to moved types

You had:

Old.Item

You moved to:

New.Item

But you didn't delete Old.Item
Once you delete that, it will work


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Starfish  
View profile  
 More options Jul 5 2012, 5:01 am
From: Starfish <ahn...@rocketmail.com>
Date: Thu, 5 Jul 2012 02:01:41 -0700 (PDT)
Local: Thurs, Jul 5 2012 5:01 am
Subject: Re: Unable to cast to moved types
But I removed the "using".

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Jul 5 2012, 5:05 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Thu, 5 Jul 2012 12:05:20 +0300
Local: Thurs, Jul 5 2012 5:05 am
Subject: Re: [RavenDB] Re: Unable to cast to moved types

It isn't the using, it is the fact that they _type_ still exists.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Starfish  
View profile  
 More options Jul 5 2012, 6:54 am
From: Starfish <ahn...@rocketmail.com>
Date: Thu, 5 Jul 2012 03:54:02 -0700 (PDT)
Local: Thurs, Jul 5 2012 6:54 am
Subject: Re: Unable to cast to moved types
I see.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »