Error opening this documentValue cannot be null. Parameter name: stringToUnescape ----- at System.Uri.UnescapeDataString(String stringToUnescape) at CasesPublicWebsite.CaseConfiguration.GetCaseContextFromQueryString(HttpContext httpContext, SPWeb web) at CasesPublicWebsite.Layouts.CasesPublicWebsite.GetDocument.<>c__DisplayClass2_1.b__0() at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.b__3() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at CasesPublicWebsite.Layouts.CasesPublicWebsite.GetDocument.ProcessRequest(HttpContext context)