Unhandled Exception!

Pagepicturegallery.asp
Exception-Type1
SectionclsDatabase:Execute
Number80040E31
DescriptionQuery timeout expired
SourceMicrosoft OLE DB Provider for SQL Server
DetailsSELECT L.LinkID, PGI.Name FROM v_PictureGalleryImages AS PGI INNER JOIN v_PictureGalleries AS PG ON PG.GalleryID=PGI.ReferenceTargetID AND PG.GroupID=362 INNER JOIN v_Links L ON L.ReferenceID=20 AND L.ReferenceTargetID=PGI.GalleryImageID WHERE PGI.ReferenceID=19 AND PGI.ReferenceTargetID=362 ORDER BY PGI.Sort

Please be patient...