11 Nov 2014
12 Nov 2014
Link to this post
I have previously worked on SharePoint but am very new to Sitefinity and have to work on an existing version 6.0 project. When I ran the project after numerous additions to get the build working, including NotificationsConfig and PagesConfig files, I get "Object reference not set to an instance of an object." error. The stack trace shows it occurs on the line "Telerik.Sitefinity.Modules.Pages.Configuration.PagesConfig.OnPropertiesInitialized()".
This has happened whether I run the project from Visual Studio or from IIS. The PagesConfig file currently being used is given below.
<?xml version="1.0" encoding="utf-8"?>
<pagesConfig xmlns:config="urn:telerik:sitefinity:configuration" xmlns:type="urn:telerik:sitefinity:configuration:type" config:version="6.0.4200.0" homePageId="f17c5541-3414-467a-92f4-1831f5e59ef2" defaultFrontendTemplateId="0c0ebced-359a-4a90-ab61-11d4ae2bce24" backendHomePageId="f669d9a7-009d-4d83-aaaa-700000000001" />
It's a copy of the latest version file with the version number changed to match the files in the project.
As I can't find anything on this issue it's likely I'm missing something basic in the setup, maybe the GUID's listed above etc.
Would it be possible to get a working version of the PagesConfig.Config file for Sitefinity version 6.0 if that is not correct above? If it's ok what can I possibly try to get the project working?
Also there seems to be no documentation of this file that I can find online, is it possible to get the link for any resource on this?