sequence contains no elements

Oct 16, 2008 at 12:44 PM
while i register new user im getting error

"sequence contains no elements" 
the code is

"sequence contains no elements"

newSetting.UserId = UserGuid;
                        newSetting.CurrentPageId =(from page in db.Pages
                                                    where page.UserId == UserGuid
                                                    select page.ID).First();


plz suggest the solution ??