Invalid root node configured for pages
Hi,
I'm having this issues after upgrading from Sitefinity 4.2 to version 4.3:
Hello Dany,
The website has created the dbo tables ( which are empty ) most probably because the user that you have to manage the SQL server is not owner of the custom schema you have applied. What you need to do is either configure the SQL user or change the schema to dbo, so the system finds the proper tables.
A code snipped regarding the schema can be found here:
www.sitefinity.com/.../error-invalid-root-node-configured-for-pages-no-root-node-with-the-name-of-quot-frontendsitemap-quot.aspx
Best wishes,
Victor Velev
the Telerik team
Hi Victor,
I appreciate your answer.
When changing the schema to "dbo" instead of "webuser" means I will loose all the content that is now populated inside the webuser.[.....] tables, because the dbo ones are empty ?
How do I migrate the data in the webuser tables to the dbo tables ?
Hello Dany,
You will not loose any content by changing the db schema. However make sure to backup your initial database first.
Kind regards,
Victor Velev
the Telerik team
Hey Dany,
Just jumping in this thread because Victor's link isn't working...
DECLARE tabcurs CURSORFOR SELECT 'dbo.' + [name] FROM sysobjects WHERE xtype = 'u'OPEN tabcursDECLARE @tname NVARCHAR(517)FETCH NEXT FROM tabcurs INTO @tnameWHILE @@fetch_status = 0BEGIN EXEC sp_changeobjectowner @tname, 'charity' FETCH NEXT FROM tabcurs INTO @tnameENDCLOSE tabcursDEALLOCATE tabcurs