Source node is not initialized.

Ayoub Ag. asked on November 20, 2014 19:42

Hi, is there any fix for this bug [CMSDocumentManager.Node]: Source node is not initialized.

Code
Line 257:        get
Line 258:        {
Line 259:            return DocumentManager.Node;
Line 260:        }

System.NullReferenceException: [CMSDocumentManager.Node]: Source node is not initialized.

Code
\wwwroot\CMS\CMSModules\Content\Controls\UserContributions\EditForm.ascx.cs  

thank you

Correct Answer

Joe Krill answered on November 28, 2014 14:05

I was also seeing this issue. It turned out that farther up in the page template hierarchy one of my placeholders had ViewState disabled, which is what was causing this.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Ayoub Ag. answered on November 20, 2014 19:44

it says line 259 :)

Code \wwwroot\CMS\CMSModules\Content\Controls\UserContributions\EditForm.ascx.cs    Line: 259 
0 votesVote for this answer Mark as a Correct answer

Martin Danko answered on November 21, 2014 10:39

Hello Ayoub,

What version of Kentico are you using? Do you have any hotfixes installed? When exactly are you receiving this error?

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

Ayoub Ag. answered on November 21, 2014 17:19

Hi Martin, i'm using Kentico 8.1 with the hotfix 8.1.1 this error appears when i try to save a new simple article on CMS.SimpleArticle.

thank you

0 votesVote for this answer Mark as a Correct answer

Martin Danko answered on November 24, 2014 14:37

Hi Ayoub,

I've tried to reproduce this issue but I can save the document without any problem. Can you please try to create a new Simple article document and check if the issue will persist? Or another problem here could be with the parent's node, so also try to create new document under different parent. And definitely I would recommend you to apply the latest hotfix for Kentico 8.1.

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

Ayoub Ag. answered on December 9, 2014 20:50

thank you JOE KRILL, that was the rigth answer

cheers

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.