Error when changing templates

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
4/2/2008 11:50:57 AM
Gravatar
Total Posts 4

Error when changing templates

Hello,

I was changing the skins on my website, just to see them all. When I changed to the skin called "centered1", I got this error:

 

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
mojoPortal.Web.Controls.Captcha.CaptchaManager.Initialize() +26
mojoPortal.Web.Controls.Captcha.CaptchaManager..cctor() +36

[TypeInitializationException: The type initializer for 'mojoPortal.Web.Controls.Captcha.CaptchaManager' threw an exception.]
mojoPortal.Web.AdminUI.SiteSettingsPage.PopulateLabels() +1715
mojoPortal.Web.AdminUI.SiteSettingsPage.Page_Load(Object sender, EventArgs e) +252
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
 

If I enter manually the home page the site works ok, but every time I try to go to the site settings to change the template, I get that same error. Please help...

4/2/2008 12:39:50 PM
Gravatar
Total Posts 18439

Re: Error when changing templates

I am not able to reproduce this error. I would go into your web control panel page at your host and recycle the app pool and see if that fixes it.

The only thing I can think of that could cause this is if you were misisng the file mojoCaptcha.config which should be at the root of your site.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.