Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Object reference not set error Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
thesideline
Newbie
Newbie


Joined: 15 May 2010
Online Status: Offline
Posts: 2
Posted: 15 May 2010 at 10:53am | IP Logged Quote thesideline

Running latest version of WebMail Lite .Net and successfully ran through the installation instructions (although we had to move the Settings folder from AdminPanel to the root folder - ?) and we have been able to successfully install and go through the Admin Panel pages to create the first domain, etc. But when we try to access to the main Webmail application we are getting the following error, any ideas what we might have setup wrong? We are running Windows Server 2008 R2 x64 on IIS 7.5 and using MS SQL.

Object reference not set to an instance of an object

By putting in debugging the message is:

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:


Line 81:                       <div class="b top"></div>
Line 82:                       <div class="login_table" style="margin: 0px;">
Line 83:                             <div id="lang_LoginInfo" class="wm_login_header"><%=_resMan.GetString("LANG_Log inInfo")%></div>
Line 84:                             <div class="wm_login_content">
Line 85:                            <table id="login_table" border="0" cellspacing="0" cellpadding="10">


Source File: d:\theSideline\Web\Sites\WebMail\default.aspx  &nb sp; Line: 83

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.default_aspx.__Render__control1(HtmlTe xtWriter __w, Control parameterContainer) in d:\theSideline\Web\Sites\WebMail\default.aspx:83
   System.Web.UI.Control.RenderChildrenIntern al(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlT extWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInterna l(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTe xtWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTe xtWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Bool ean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266




------------------------------------------------------------ --------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
Back to Top View thesideline's Profile Search for other posts by thesideline
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 18 May 2010 at 6:41am | IP Logged Quote Igor

Try installing the latest version of WebMail we have just released.

Hope this helps!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
thesideline
Newbie
Newbie


Joined: 15 May 2010
Online Status: Offline
Posts: 2
Posted: 19 May 2010 at 4:07pm | IP Logged Quote thesideline

Thank you! That took care of both the problem with the location of the settings file and the object reference not set error...

Nice!
Back to Top View thesideline's Profile Search for other posts by thesideline
 
Jonno2343
Newbie
Newbie


Joined: 29 May 2010
Location: South Africa
Online Status: Offline
Posts: 4
Posted: 31 May 2010 at 11:53am | IP Logged Quote Jonno2343

Sorry to bring this back up, but I'm having a similar problem and have the latest version.
I can install the WebMail, but once it tells me to go to the AdminPanel, I get a "Object reference not set to an instance of an object." error.
Would it have something to do with the setup of IIS?
Thanks
Jonno
Back to Top View Jonno2343's Profile Search for other posts by Jonno2343
 
Jonno2343
Newbie
Newbie


Joined: 29 May 2010
Location: South Africa
Online Status: Offline
Posts: 4
Posted: 31 May 2010 at 12:00pm | IP Logged Quote Jonno2343

Ooh!!! Very interesting :)
I was messing around in the .NET Configuration for the AdminPanel site and found under the 'Application' tab that the `Culture` and `UI Culture` were set to some strange country.
I changed them to en-US and now it's fine
May want to put that in the knowledge base.
Back to Top View Jonno2343's Profile Search for other posts by Jonno2343
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 01 June 2010 at 1:21am | IP Logged Quote Igor

This is really interesting. WebMail developers
will have this analyzed. Thank you!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide