# Data sources Source: [https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/) Product: Virto Calendar On-Premises Updated: 2026-11-27 A data source is where the events of a calendar come from. Data sources are kept once per site collection: a source created on any site of the site collection is listed on all its sites, and one source can be used in any number of calendars of that site collection. Site collection administrators and, from version 10.0.3, the users in the [list of allowed users](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-overview/permissions/index.md#the-list-of-allowed-users) create, change, copy and delete them on the tab **Data sources** of the settings page (**Site Settings** > **Virto Calendar** > **Settings**, or the gear on the toolbar of the calendar), or from the panel of a calendar (**Create new data source**). The editor needs a valid license of Virto Calendar; a trial license and a demo key count as valid. ## The list of data sources ![The tab Data sources with sources of several types and, at the bottom, the read-only block Approved servers that a farm administrator sees](https://img-docs.virtosoftware.com/wp-content/uploads/2026/11/calendar-10-ds-list-approved-block.png) A row shows the color of the source, the icon of its type, **Name** and **Details** (the address, the server and table, or the list), and three buttons: **Edit data source**, **Make data source copy** and **Delete data source**. The icon of a page with a plus, at the top left of the list, opens the menu of types. - **Make data source copy** creates a copy with all settings. A copy of an existing source with Windows authentication stays an existing source of the same server; a copy of a new one needs an approved server like the new one. From version 10.0.2, a user who manages the site but cannot add items to the list where the sources are kept gets a message of the calendar, instead of the SharePoint page "Access required". - **Delete data source** asks "Delete the data source "{name}"?" and, when calendars use the source, adds "It is used in the calendars: {names}. It will be removed from them." - While the restriction of Windows authentication is on, a farm administrator sees the block **Approved servers** under the list, read-only (see [Windows authentication and approved servers](#windows-authentication-and-approved-servers)). ## Types of data sources ![The menu Create new data source with the seven types](https://img-docs.virtosoftware.com/wp-content/uploads/2026/11/calendar-10-datasources-new-menu-2.png) | Type | Use it for | Events can be changed from the calendar | |---|---|---| | [SharePoint list](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/sharepoint-list/index.md) | A list or library of this farm: a calendar, tasks, any list with date fields, a document library; a view of the list can be chosen. | Yes, with permissions on the list. | | [Exchange calendar](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/exchange-calendar/index.md) | The calendar of an Exchange mailbox (the user's own, another user's, a shared or a room mailbox) or of a public folder. | Yes, with permissions in Exchange. | | [iCal calendar](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/ical-calendar/index.md) | An iCalendar (.ics) feed at a web address. | No. | | [SQL Server table](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/sql-server-table/index.md) | A table or a view of a Microsoft SQL Server database. | Yes, when a key column is set. | | [External content type (BCS)](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/external-content-type-bcs/index.md) | An external content type of Business Connectivity Services. | Yes, when the type has Create, Update and Delete operations. | | [XML file](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/xml-file/index.md) | An XML file on a site of this farm or at a public web address. | No. | | [Remote SharePoint list (web service)](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/remote-sharepoint-list/index.md) | A SharePoint list of another farm, or of a site a SharePoint list source cannot reach, read through the SharePoint web services. | No. | The type Google calendar is not in the menu while its feature is not switched on for the farm, and this documentation does not describe it. ## The editor of a data source The editor opens on the right, titled "Create new data source: {type}" or "Edit data source". Its tabs: - **General**: the connection and the mapping of fields; every type has it; - **Color code**: colors events by the value of a field; all types except **Exchange calendar** and **iCal calendar**; - **Tooltip**: the fields the event tooltip shows; the same types; - **Form**: the fields of the event panel; **SharePoint list** only, the other types have a fixed panel. Every type starts with these fields on **General**: | Field | What to enter | |---|---| | **Data source name** (required) | The name shown in the list of sources, in the choice of sources of a calendar and in the legend. The field is filled with the color of the source. | | **Select events background color** (required) | The background of the events: a hex code such as #0f6cbd, or a color from the palette. | | **Select events font color** (required) | The color of the text; white (#ffffff) by default. | **Save** is available once the required fields are filled, and for **Exchange calendar**, **SQL Server table** and **Remote SharePoint list (web service)** once **Connect** has succeeded. After a change of a connection field (the server, the site address, the account, the password, the authentication), connect again. When the server refuses to save, for example because a server is not approved, the reason is shown in a red bar at the top of the panel. A password is stored encrypted and is never sent back to the browser: when you open the source again, the field is empty and says "Password is saved, leave empty to keep it". When the server, the site or the account changes, the saved password is dropped and the field asks for it again. **Color code.** Choose a field (a column, an XPath expression) in **Select field for color coded events**. The calendar reads up to 50 different values of the field from the source and gives each its color, which you can change; **Reload values** reads them again. An event whose value matches one in the list, ignoring case, gets its color; other events get the color of the source. "The field has no values yet." means that the source has none; "Cannot read the values of the field." or a short reason means that they could not be read. **Tooltip.** Choose the fields whose values the tooltip shows when an event is clicked. How a calendar combines sources (**Add existing data source**, **Read only**, **Show**, **Use the exact data source order**, the legend, common categories) is described in [Calendars](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/calendars/index.md) and [Categories, colors and legend](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-overview/categories-colors-and-legend/index.md). ![A calendar that combines SQL Server, XML and iCal sources, with the legend of the sources under the toolbar](https://img-docs.virtosoftware.com/wp-content/uploads/2026/11/calendar-10-view-mixed-sources.png) ## Time zones Events of a **SharePoint list** are always shown in the time zone of the site; SharePoint stores times in UTC and converts them itself. Events of the other types are shown in the time zone of the site, or in the time zone of the browser when **Use client time zone to view events** is on. The setting is in the section **EXCHANGE SETTINGS** of the calendar (on by default), but it applies to all types except **SharePoint list**. In SQL Server, BCS and XML sources, dates without a time zone are read in the time zone of the SharePoint site unless the source says they are in UTC. An all-day event is kept as a date without a time zone and does not shift. From version 10.0.4, the current time of the calendar follows the time zone of its events: the line of the current time, the highlighted current day, the window of **Live view**, **Go to today** and the date the calendar opens on. In a calendar with a **SharePoint list** source, that is always the time zone of the site; in a calendar that uses the time zone of the browser and has no **SharePoint list** source, it is the time of the browser. Before, the current time always came from the browser. ## Windows authentication and approved servers From version 10.0.2, a farm administrator decides which servers data sources may reach with Windows authentication, that is, as the account of the SharePoint application pool. It concerns only the types with **Use Windows authentication**: **Exchange calendar**, **SQL Server table** and **Remote SharePoint list (web service)**. A source that connects with an account and a password entered in it does not need an approved server, and **SharePoint list**, **iCal calendar**, **XML file** and **External content type (BCS)** are not affected. By default: - data sources with Windows authentication that existed before the update keep working with their server, with nothing to do; - a new data source with Windows authentication works only with an approved server; so does a source taken over from version 9 by the import; - an existing source whose server is changed, or for which Windows authentication is switched on, needs an approved server too. ### Approve a server The setting is in **Central Administration**, on the settings page of Virto Calendar for the farm, **Calendar Settings for Farm**, tab **Approved servers**. Only farm administrators can change it. ![Central Administration, Calendar Settings for Farm, tab Approved servers: the three modes, an approved Exchange server, and the fields Kind and Server with Add server and Add the servers used now](https://img-docs.virtosoftware.com/wp-content/uploads/2026/11/calendar-10-ca-approved-servers.png) **Restriction of Windows authentication** has three modes: - "New data sources need an approved server, existing data sources keep working (default)"; - "Every data source needs an approved server (strict)": also the sources that existed before need an approved server; - "No restriction": as before version 10.0.2. A change reaches the web applications of the farm within about two minutes. To approve a server, choose **Kind** (**SQL Server**, **SharePoint web service** or **Exchange**), enter **Server** ("Host name or address") and click **Add server**. For SharePoint and Exchange, enter the host name only, without a port or path (an address like https://mail.contoso.com is reduced to the host). For SQL Server, enter the server as the data source names it: sql01.contoso.com, sql01.contoso.com\INSTANCE and sql01.contoso.com,1433 are three different servers. Case does not matter. A wrong name gives "This is not a valid server name. Enter a host name or address (for SQL Server: server, server\instance or server,port)." The delete icon removes a server after the question "Remove {server} from the approved servers? Data sources that use Windows authentication to it will not connect until a farm administrator adds it again." **Add the servers used now** scans the site collections of the farm and lists the servers that the existing data sources with Windows authentication use, with the number of sources and site collections and how many of them are "existing, kept without approval". Tick the servers and click **Add the selected servers**. ![The result of Add the servers used now: the servers by kind with their data sources, checkboxes and the buttons Add the selected servers and Close](https://img-docs.virtosoftware.com/wp-content/uploads/2026/11/calendar-10-ca-approved-servers-add-used.png) When you choose the strict mode, the same scan runs first. If servers in use are not on the list, the page warns "These servers are used by existing data sources and are not on the list. In the strict mode those data sources stop connecting to them." and offers **Add them and make it strict**, **Make it strict anyway** and **Close**. When a user asks for a new server: add it on **Approved servers**, wait about two minutes, and ask the user to click **Connect** again and save the source. ### What the editor of a data source shows While the restriction is on, the hint under **Use Windows authentication** reads "Windows authentication uses the account of the application pool. For a new data source a farm administrator approves the server in Central Administration (Virto Calendar settings, Approved servers); existing data sources keep working with their server." For a server that is not approved, **Connect** (or **Save**) does not connect and shows "Windows authentication to {server} needs the server to be approved by a farm administrator in Central Administration (Virto Calendar settings, Approved servers). Data sources that existed before keep working with their server." In the strict mode, the last sentence is not there. ![A new SQL Server table data source with Windows authentication: the hint under the checkbox and the message that the server needs to be approved](https://img-docs.virtosoftware.com/wp-content/uploads/2026/11/calendar-10-new-sql-refused-not-approved.png) A saved source whose server is no longer approved (the server was removed from the list, or the strict mode was switched on) shows no events until the server is approved again. ## Limits of web addresses From version 10.0.2, data sources that make the SharePoint server reach an address or a server (**XML file**, **iCal calendar**, **Remote SharePoint list (web service)**, **Exchange calendar**, **SQL Server table**) are checked: - addresses that lead to the SharePoint server itself through an internal address (localhost, 127.x.x.x, ::1), to 0.0.0.0 or to link-local addresses (169.254.x.x, fe80::) are refused with "This address is not allowed."; private networks and the addresses of the web applications of the farm are allowed, and so is a SQL Server on the SharePoint server; - redirects are followed up to five times, and each new address is checked the same way; - from version 10.0.3, for **XML file**, **iCal calendar**, **Remote SharePoint list (web service)** and **Exchange calendar**, the check applies to the address the connection actually reaches, also when a name points to another address the second time it is looked up; - an answer larger than 25 MB is not read: "The answer of the remote server is larger than 25 MB and was not read."; - only http and https addresses are accepted. ## When a remote system fails From version 10.0.2, when a remote system answers with an error, the editor of the data source (**Connect**, **Preview**, the lists of tables, lists and fields, the values of **Color code**) and the saving or deleting of an Exchange event show a short reason with the name of the server, followed by the Correlation ID of the SharePoint log (ULS) and the command that collects the details: `Merge-SPLogFile -Correlation "" ...`. Farm administrators see the text of the remote system instead, so check error messages with an account that is not a farm administrator. | Message | When | What to check | |---|---|---| | "This address is not allowed." | A refused address, or too many redirects. | See [Limits of web addresses](#limits-of-web-addresses). | | "The server {server} was not found." | The name does not resolve. | The name and the DNS of the SharePoint servers. | | "No connection to {server}: the connection was refused or timed out." | The connection was refused or timed out. | The name and the port, the service, the firewalls between the farm and the server. | | "Authentication on {server} failed." | A 401 answer, or a wrong SQL Server login or password. | The account, the password, the type of authentication. | | "Access to {server} was denied." | A 403 answer, no permission in SQL Server or Exchange, no ApplicationImpersonation role. | The permissions of the account. | | "The requested address or item was not found on {server}." | A 404 answer, no folder, mailbox or item in Exchange, no table in SQL Server. | The address, the table, the mailbox. | | "The secure connection to {server} failed: its certificate could not be verified." | The certificate of the server could not be verified (not for Exchange servers of data sources). | The certificate and its chain on the SharePoint server. | | "The answer of {server} is not in the expected format." | The answer could not be read, for example it is not XML. | What the address returns. | | "The server {server} reported an error." | A 5xx answer, other SQL Server and Exchange errors. | The log of the remote system. | | "The request to {server} failed." | Another error. | The SharePoint log by the Correlation ID. | In the calendar itself, from version 10.0.2.1, a source whose events could not be read is reported in a yellow bar with its name and a short reason, while the other sources of the calendar are shown; from version 10.0.3, this covers sources of every type (see [Troubleshooting](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/troubleshooting/index.md)). ## Pages - [SharePoint list](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/sharepoint-list/index.md) — Virto Calendar 10 SharePoint list data source: lists and libraries of the farm, the fields, views, recurring events, attachments, approval and common errors. - [Exchange calendar](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/exchange-calendar/index.md) — Virto Calendar 10 Exchange calendar data source: EWS connection, the account, impersonation, mailboxes and public folders, meetings, series and errors. - [iCal calendar](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/ical-calendar/index.md) — Virto Calendar 10 iCal calendar data source: an .ics feed or an .ics file of the farm, read by the SharePoint server; read-only, cached for 30 minutes. - [SQL Server table](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/sql-server-table/index.md) — Virto Calendar 10 SQL Server table data source: server, database, login or Windows authentication, the table and its columns, the key column and errors. - [External content type (BCS)](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/external-content-type-bcs/index.md) — Virto Calendar 10 external content type (BCS) data source: the Business Data Connectivity service, the operations a type needs, the fields and the messages. - [XML file](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/xml-file/index.md) — Virto Calendar 10 XML file data source: a file of the farm or a public address, XPath expressions with an example, Preview, dates, limits and messages. - [Remote SharePoint list (web service)](https://docs.virtosoftware.com/docs/virto-calendar-web-part/virto-calendar-10/calendar-configuration/data-sources/remote-sharepoint-list/index.md) — Virto Calendar 10 remote SharePoint list data source: a list of another farm read through Lists.asmx and Views.asmx, the account, the fields and errors.