Hi,
We have a serious problem.
Having developed a website to a client, it has been in production for some months. Recently it started giving a serious error and we don't know what made it happen in the first place and how to correct it. As far as we know nothing changed in the website. The only thing that changed recently was that it was previously running in a temporary domain and now the DNS for the actual domain was updated to point to our server's IP. But this doesn't seem to be the cause because the problem still happens when the old temporary domain is used.
- The first page is a splash screen which uses its own skin and works fine. All the other pages (including the administration and hosting pages) share the same skin and explode with the exception detailed below.
- We also thought this could be a problem with the main skin and overwrote the main skin with the skin from the working splash page but the problem remains.
- Usually when a skin is not found DNN uses the default skin, but we've tried to remove the skin file and the problem remains.
- So we believe it is something related to either the content or some configuration. But since all pages have the same error there is no way to access both administration and hosting pages. I cannot even look at the site logs.
- We'd like to reset the website to use the default skin but only know how to do it through the site's own admin pages.
- We'd also like to be able to export the site structure and templates to try to reinstall it somewhere else, but also can only do it through admin or hosting pages.
- We'd also like to explore the database but the site is using a SQL Express file-based database under app_data and, even though the server has SQL Server Management Studio Express it doesn't seem to be able to open *.mdf files.
What can we do to solve this situation? Any ideas are welcome!
Below is the detailed error:
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Thank you in advance,
Nuno