Object cannot be cast from DBNull to other types. at CAPprojects.clsIndividualProjectDetails.GenerateIndividualProjectDetailsByProjectId(clsIndividualProjectEntity individualReportEntity) in D:\TFS\CAP\OPS-AsposeReports\CapProjects\Reports\clsIndividualProjectDetails.vb:line 588 at CAPprojects.clsCAPCrystal.LoadReport(String commandType, Int32 appealId, Int32 projectId, Boolean projectOutputIsActive, Int32 appealYear, Boolean externalActivityIsActive, String fileName) in D:\TFS\CAP\OPS-AsposeReports\CapProjects\Reports\clsCAPCrystal.vb:line 318 at CAPprojects.clsCAPCrystal.GenerateProjectReportSheet(String commandType, String Status_ID, Int32 appealId, Int32 projectId, String reptFileName, String reptFilePath, String sendAsBinaryFileName, String exportToFilePath, String ProjectsheetType, Boolean IsCreateReport, Boolean ProjectOutputIsActive, Int32 appealYear, Boolean externalActivityIsActive) in D:\TFS\CAP\OPS-AsposeReports\CapProjects\Reports\clsCAPCrystal.vb:line 194 at CAPprojects.CAPReports.GetProjectSheet(String commandType, String Status_ID, Int32 appealId, Int32 projectId, CAPReportType reporttype, HttpContext lHTTPcontext, FileExtensions extensionType, Boolean IsCreateReport, Boolean ProjectOutputIsActive, Int32 appealYear, Boolean externalActivityIsActive) in D:\TFS\CAP\OPS-AsposeReports\CapProjects\Reports\CAPReports.vb:line 504 at CAPprojects.PublicReports.LoadProjectReport(Int32 ProjectId, Int32 AppealId) in D:\TFS\CAP\OPS-AsposeReports\CapProjects\Reports\PublicReports.aspx.vb:line 55 at CAPprojects.PublicReports.Page_Load(Object sender, EventArgs e) in D:\TFS\CAP\OPS-AsposeReports\CapProjects\Reports\PublicReports.aspx.vb:line 24