TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nilesh Patil
NA
3k
116.3k
Execution Timeout Expired.
Jul 6 2018 2:34 AM
Hi freinds, ac
I got error when i execute linq query
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding linq
this is my query
var folderData = (from f in db.tblFolders
join l in db.tblLibraries on f.LibraryId equals l.LibraryId
join a in db.tblAuthors on f.FolderId equals a.FolderId
join q in db.tblQMOes on f.FolderId equals q.FolderId
join ap in db.tblApprovers on f.FolderId equals ap.FolderId
join rv in db.tblReviewers on f.FolderId equals rv.FolderId
join v in db.tblViewers on f.FolderId equals v.FolderId
where l.LibraryOwner == uids || a.LibraryUserId == uids || f.Owner == uids || q.LibraryUserId == uids || ap.LibraryUserId == uids || rv.LibraryUserId == uids || v.LibraryUserId == uids
select new
{
id = f.FolderId,
name = f.FolderName,
pId = f.ParentFolderId
}).Distinct().ToList();
I know query i too long but what is the solution for it please suggest its urgent!
Reply
Answers (
3
)
The Context was not cast into Activity for latest Xamarin
string replacement is any better way?