I've managed to get the MyNotes sample working.
However, I've coming across a different error in the Versioning app:
"Could not find a type for event
'AwesomeApp.Events.PersonCreatedEvent'
Parameter name: type
Actual value was AwesomeApp.Events.PersonCreatedEvent."
So, I replaced the InitializeEventStore() code:
typeResolver.AddAllEventsInAssembly(typeof(Program).Assembly);
with:
typeResolver.AddEvent(typeof(NameChangedEvent));
typeResolver.AddEvent(typeof(PersonCreatedEvent));
But, now I'm getting the following error in
MsSqlServerEventStore.SaveEvent:
"Implicit conversion from data type nvarchar to varbinary(max) is not
allowed. Use the CONVERT function to run this query."
My raw.Data value in the following code:
command.Parameters.AddWithValue("Data", raw.Data);
...is a string type, so I imagine I'm missing a configuration call
somewhere?
I also have a very basic app that does a simple CreatePerson, and I'm
getting the very same error.
Again, thanks for any help.
Sean.
On Jul 31, 7:38 pm, Seán Fitzgerald <
seanfi...@gmail.com> wrote:
> Ok, I managed to sort out the "Operation could destabilize the
> runtime" issue by following the instructions at the bottom of this:
http://groups.google.com/group/ravendb/browse_thread/thread/18306358f...