Developer forum

Forum » CMS - Standard features » GetFirstModulePageForArea NullReferenceException

GetFirstModulePageForArea NullReferenceException

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I am trying to set up a new website without any fancy templates, just a simple HTML page attached to a standard Blank page object.

I have created a new Website, I have not chosen any Website ItemType, I have defined a new template folder with a single HTML page in it, set as default in WebsiteSettings/Layout.

I have created a page, without any paragraph in it.

No matter what I do, I get this error:

 

I am using 9.15.7.

Anything I am missing?

Thank you,
Adrian


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Nothing...?

I can do it:

 

Got a URL?

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

This is strange indeed.

I could configure it properly on a standard Swift solution.

However, in this solution I am talking about, although it was started from a standard Swift solution without any code customization, I could not do it. The only particularity is that I have created a separate DW10 instance for this solution, using the same database. Could that be the cause?

I had to delete the new website in order to make the other website work again. I will try again and maybe I will post a video with my test. I just hope the second time it will work :)

Thank you,
Adrian

 

You must be logged in to post in the forum