hi i have an aspx dialog which has a
SharePoint:DateTimeControlID="dtPicker"runat="server"DateOnly="true"/>
on it. When the user clicks on the date picker they get an error "Sorry, something went wrong" when i review the correlation id i see the following log entries.. has somethign change with the datepicker in 2013.. something due to the fact that its in an iframe? this used to work fine in sp 2010
04/19/2013 22:50:36.53 w3wp.exe (0x1AD8) 0x1B24 SharePoint Foundation Runtime aep93 High Exception trying get context compatibility level: System.IO.FileNotFoundException:
The site
http://sp2013:80/_layouts/15/iframe.aspx?&cal=1&lcid=1033&langid=1033&ww=0111110&fdow=0&fwoy=0&hj=0&swn=False&minjday=109207&maxjday=2666269&date= could not be found in the Web application SPWebApplication Name=SharePoint
- 80. at Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm farm, Boolean contextSite, Boolean swapSchemeForPathBasedSites, Uri& requestUri, Boolean& lookupRequiredContext, Guid& applicationId, Guid& contentDatabaseId,
Guid& siteId, Guid& siteSubscriptionId, SPUrlZone& zone, String& serverRelativeUrl, Boolean& hostHeaderIsSiteName, Boolean& appWebRequest, String& appHostHeaderRedirectDomain, String& appSiteDomainPrefix, String& subscriptionName,
String& appSiteDomainId, Uri& pri... b582139c-ba9f-6004-4f23-ded85cf933a0
04/19/2013 22:50:36.53* w3wp.exe (0x1AD8) 0x1B24 SharePoint Foundation Runtime aep93 High ...maryUri) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextCompatibilityLevel(Uri
requestUri) b582139c-ba9f-6004-4f23-ded85cf933a0
04/19/2013 22:50:36.53 w3wp.exe (0x1AD8) 0x1B24 SharePoint Foundation General 8nca Medium Application error when access /_layouts/15/iframe.aspx, Error=Object reference
not set to an instance of an object. at Microsoft.SharePoint.Utilities.SPUtility.GetThemedImageUrl(String originalUrl, String themeKey) at Microsoft.SharePoint.WebControls.DatePicker..ctor() at Microsoft.SharePoint.WebControls.SPDatePickerControl.InitDatePicker()
at Microsoft.SharePoint.WebControls.SPDatePickerControl.set_MinJDay(Int32 value) at Microsoft.SharePoint.ApplicationPages.DatePickerFrame.Page_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object
sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b582139c-ba9f-6004-4f23-ded85cf933a0
krd