C
C#9mo ago
IcyIme

i migrating from sqlserver to mongo db but in login the page throeing an errror ExpressionNotSupport

when i click on the login button it throws me an error ExpressionNotSupportedException: Expression not supported: i.ToClaim(). this is code of the page
11 Replies
Angius
Angius9mo ago
Why the downgrade from a proper relational database to a glorified Json file?
exixt
exixt9mo ago
migrate back
Jimmacle
Jimmacle9mo ago
also, the error means you put calls in your query that mongo can't translate into an actual db query (and i agree, why are you trying to switch to mongo)
IcyIme
IcyImeOP9mo ago
bcs is simplier to use
Jimmacle
Jimmacle9mo ago
that's not a good reason tbh if your data is relational (which it probably is), use a relational database
IcyIme
IcyImeOP9mo ago
so sqlserver is good for relational data?
Jimmacle
Jimmacle9mo ago
yes, all relational databases are and with json support becoming common even unstructured data works pretty well
IcyIme
IcyImeOP9mo ago
actually i do not like sql overall
Jimmacle
Jimmacle9mo ago
sql is unavoidable
IcyIme
IcyImeOP9mo ago
i know okay thanks
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?