CamlexNet.Impl.Query.ToString timed out and needed to be aborted in an unsafe way
Closed this issue · 1 comments
minohimself commented
My query looks following :
var caml = Camlex.Query().Where(x => (((string)x["FileLeafRef"]).Contains("_Logo") || ((string)x["FileLeafRef"]).Contains("_Product") || ((string)x["FileLeafRef"]).Contains("_Building") ) && ((string)x["File_x0020_Type"] == "jpg" || (string)x["File_x0020_Type"] == "png")).ToString();
This is where the problem occur once i leave this condition out it takes some time but doesn't time out
((string)x["File_x0020_Type"] == "jpg" || (string)x["File_x0020_Type"] == "png")).ToString();
minohimself commented
Suddenly it works maybe some VS problem.