I get the following error on my async return function.
{"The cast to value type 'Guid' failed because the materialized value is null. Either the result type's generic parameter or the query must use a nullable type."}
I have a timed event that runs and adds data to our system every 10 minutes. During this process we get this error intermidently above when querying the table.
I am not specifying any special transactions.
This behavior is intermident.
I had nolocks on the view I was pulling from, but I removed them and the behavior still exists.
This does not happpen in I am not adding and updating records at the same time.
This has to occur. Anyone have a work around?
Bryan