Calendar Overlay Across Multiple Site Collections

I have searched the forums and have not found a solution to this question.

We are having trouble creating calendar overlays across site collections.

Specifics:

1. This is a single farm SharePoint 2013 installation.  Version: 15.0.4481.1005
2. We have a single web application http://sharepointweb on port 80
3. We are using host-named site collections
4. We have separated the different departments into separate site collections because we want to take advantage of separate content databases.

When we create calendar overlays between calendar lists within a single site collection...it works fine.  When we try to create calendar overlays between site collections (again, within a single web app) it fails with the message "Unable to find specified web in the given URL".

Some more details:

## query of host headers for HNSCs
Get-SPManagedPath -HostHeader

Name Type                          
---- ----                          
ExplicitInclusion             
sites WildcardInclusion             
departments WildcardInclusion

## query of URLs for two affected site collections

get-spsiteurl -id 'http://smportal04/departments/dev'

Url Zone
--- ----
http://intranet/departments/dev Default
http://sharepoint/departments/dev Internet
http://portal/departments/dev Intranet



get-spsiteurl -id 'http://intranet/departments/it'

Url Zone
--- ----
http://intranet/departments/it Default
http://sharepoint/departments/it Internet
http://portal/departments/it Intranet

##The only entries I can find in the ULS logs

## an example of when I try to do a calendar overlay from the http://intranet/departments/dev calendar

## referencing a calendar in http://intranet/departments/it calendar

Application error when access /_layouts/15/AggregationCustomize.aspx, Error=Unable to find specified web in the given URL - http://intranet/departments/it.   at Microsoft.SharePoint.ApplicationPages.Calendar.MashUpCalendarListAccessor.OpenWeb(String webUrl, SPWebApplication webapp)     at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.RetrieveListsWithCalendarView(String webUrl)     at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.FindListFromId(String id)     at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.UpdateListViewDropDownList()     at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e)     at System.Web.UI.Page.RaiseChangedEvents()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Unable to find specified web in the given URL - http://intranet/departments/it.     at Microsoft.SharePoint.ApplicationPages.Calendar.MashUpCalendarListAccessor.OpenWeb(String webUrl, SPWebApplication webapp)     at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.RetrieveListsWithCalendarView(String webUrl)     at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.FindListFromId(String id)     at Microsoft.SharePoint.ApplicationPages.AggregationCustomizePage.UpdateListViewDropDownList()     at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e)     at System.Web.UI.Page.RaiseChangedEvents()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


  • Edited by Roo Jack Sunday, June 08, 2014 6:53 PM oops
June 8th, 2014 6:54am

Hi Roo,

According to your description, my understanding is that you got an error when you used Calendar Orverlay with HTSCs.

When you used Calendar Overlay, please try to use the default zone, compare the result.

In addition, here is a similar post for your reference:

http://spsawyer.wordpress.com/2013/07/11/sharepoint-calendar-overlay-not-found-errors/

I hope this helps.

Thanks,

Wendy

Free Windows Admin Tool Kit Click here and download it now
June 9th, 2014 7:06am

Hi Wendy:

As I gave in my original documentation above...http://intranet is the default HNSC.  I have tried connecting with all three and still receive the error.

I tried the powershell script from the link you provided but nothing was returned.

June 14th, 2014 2:06am

Hi,

For this issue, I'm trying to involve someone familiar with this topic to further look at it.

Thanks,
Wendy

Free Windows Admin Tool Kit Click here and download it now
June 16th, 2014 2:16am

Hi, 

if i may rephrase :

the calendar is working well when it is across lists,

the calendar is not working well when it is across sites within same web application?

if it is, then is there any impersonation process in the between, if yes perhaps you may remove them for testing purposes. 

regarding the troubleshooting steps, may i know what you have already done?

please help to make sure that the site: /_layouts/15/AggregationCustomize.aspx, is not requesting for authentication when you request it.

June 17th, 2014 6:02am

There is no intermediate authentication or security between the users and the server.  We are on an internal LAN with direct access (no firewalls, etc) to the server.

Regarding troubleshooting steps:
- We have tried creating the calendar overlay using the Default zone URLs and Internet and Intranet URLs ACROSS site collections.  It does not work.  It will work for calendar overlays WITHIN a site collection.
- Accessing the normal web content using the Default, Internet and Intranet zones works just fine.  There is no issue with name resolution to any of the zones.
- We have looked at the ULS logs and the results are posted above in my first section.
- I have attempted the process using various browsers and versions.
- I have tried running the script from the URL listed above but no results were returned.

Do you have options for me?

Free Windows Admin Tool Kit Click here and download it now
June 25th, 2014 7:21am

Hi Roo, 

i tried some steps, i agree with you that seems calendar overlay cant do good across web application, 

from http://y:1234/ and http://y:4563/. seems there are limitation here. 

when i extend my web app, usually i create new web app as internal/external/public, then i guess issue is happened. 

so, anyway, i got a bit curious if your environment also came out with the same result:http://support.microsoft.com/kb/2025977

at the kb, it was stated, that it may not able to find another site other than the default web app.

but, while i tried in the same web app, the issue not there.

so i tried to create new site collection, with lots of subsites, http://y:1234/. then have http://y.1234/sites/123 and http://y.1234/sites/456, for example, i add new calendar and create overlay, seems it can resolve each one and another.

perhaps you can check this article:

http://spsawyer.wordpress.com/2013/07/11/sharepoint-calendar-overlay-not-found-errors/



June 30th, 2014 3:49pm

Hi there,

We are experiencing exactly the same issue - did you manage to find a resolution/workaround?

Thanks,

Angelique

Free Windows Admin Tool Kit Click here and download it now
July 1st, 2014 11:56am

Hi Aries:

Again.  This is SINGLE web application.  Not multiple.  There are multiple Host Named Site Collections in a SINGLE web application.  I am aware that there are issues across multiple web applications; this is not the case here.  There is no extension of the web app either. 

I already replied above that I had read and tried the powershell script from the Sawyer article.

The section that has you run:

$w = Get-SPWeb [your site URL]
$l = $w.Lists["[your list name"]"]
$l.Views | ? { $_.CalendarSettings -ne $null } | % { $_.CalendarSettings }

Returns nothing.  Looking at each of the .CalendarSettings attributes manually in the output are all null.  

This week we also upgraded the farm to the SP1 (the re-release version) of the service pack.  That has not made a difference either.

It appears that Angelique below is having the same issue.  Other thoughts/potential solutions please?

July 2nd, 2014 5:55am

Hi Roo,

may i know how that the sync calendar instructions?

i follow this steps, please let me know if should the steps is different:

1) Go to the Main Site, click on Lists
2) Click Create
3) Choose Calendar, give it a title, choose yes to "use this calendar to share member's schedule, and click create
6) Go to your sub-site, click on Lists
7) Click Create
8) Choose Calendar, give it a title, choose yes to "use this calendar to share member's schedule, and click Create
9) Go to this new calendar and copy the URL
10) Go back to Main Site, click on Main Calendar used for sharing
11) Under Calendar Tools, click the Calendar tab
12) Click Calendars Overlay
13) Click New Calendar
14) Add calendar, decide on a color to differentiate, paste the URL where it says Web URL:, click Resolve, check the box for always show, and click OK
15) Click Ok

if should the steps are the same, then it seems we may need to check more deep regarding your environment, and we may need you to submit a ticket to us, so we can continue more deep checking. support.microsoft.com

Free Windows Admin Tool Kit Click here and download it now
July 4th, 2014 2:08pm

I have EXACTLY the same problem.  Single web app, attempting to overlay two calendars in two host-named site collections in that web app (portal.contoso.com and intranet.contoso.com).   I have a development lab configured for host-named site collections according to TechNet guidance.  Haven't found an answer yet.  I've seen many generous efforts, but much misreading of your statement of the problem.

Works fine within a single site collection (in both directions - up and down).

UPDATE:  I've just confirmed that calendar overlay works for path-based site collections, but not host-named site collections, at least in my case.  I'm not DNS or SharePoint architecture-strong, but it seems the hang-up is in how the addresses of host-named site collections are managed.

UPDATE 2:  Calendar overlay also doesn't seem to work in SharePoint Server 2013 with host-named site collections.

July 14th, 2014 3:39pm

We are using the trial period for Sharepoint online and are experiencing the same error when trying to resolve a calendar for overlay on a different site collection.

We are using SharePoint calendars on two separate collections and overlays do not work.

As indicated in the original post we CAN overlay calendars within the same site collection for subsites. 

This error doesn't seem to be limited to on premise installs since I am experiencing this with SharePoint online trial using O365 - enterprise features turned off. Cross site collection turned on.

Free Windows Admin Tool Kit Click here and download it now
June 26th, 2015 12:33pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics