LINQ to Entities does not recognize the method ‘get_Item(Int32)’ method.
When using the entity framework you may come across an error message such as this:
“LINQ to Entities does not recognize the method ‘get_Item(Int32)’ method, and this method cannot be translated into a store expression.”
After doing some research the root cause of this issue was that in Linq I was trying to resolve a GUID and then using that as part of the Select statement. In order to avoid this I just had to resolve the GUID in a previous command line and assign it to a a new variable. I then used that variable in the select statement and it worked fine.
You can see an example here.
Love
Can we use Let's Encrypt, the free and open certificate authority?
Hola! gracias por la info, me sirvió el comando sacandole el nombre del server. En mi caso, fue una migración…
Yes 3rd option helped me too. I removed the WC key Values from config file then started working.
I know this is from 2014. But really, thank you!