1
[SOLVED] NullReferenceException after login
Problem reported by Sanidin Muratbegovic - 6/18/2015 at 6:30 AM
Resolved
Hi,
I have upgraded to V14 from V12.5 and some of my users have this problem after login:
 
Any clue what is problem and how to solve it ?
 
[NullReferenceException: Object reference not set to an instance of an object.]
   SMWeb.UserControls.PanelBarTemplates.MailFolders.AddFolderRecursively(HyperTreeViewNodeCollection nodes, Folder folder) +1177
   SMWeb.UserControls.PanelBarTemplates.MailFolders.AddFoldersRecursively() +284
   SMWeb.UserControls.PanelBarTemplates.MailFolders.Page_Load(Object sender, EventArgs e) +866
   System.Web.UI.Control.LoadRecursive() +70
   System.Web.UI.Control.LoadRecursive() +189
   System.Web.UI.Control.LoadRecursive() +189
   System.Web.UI.Control.LoadRecursive() +189
   System.Web.UI.Control.LoadRecursive() +189
   System.Web.UI.Control.LoadRecursive() +189
   System.Web.UI.Control.LoadRecursive() +189
   System.Web.UI.Control.LoadRecursive() +189
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3177

5 Replies

Reply to Thread
0
Bruce Barnes Replied
Did you uninstall 12.5, and REBOOT, to unlock any locked files prior to installing 14.X?
 
Did you use the FULL version of the installer? The full version of the installer is,required on the first install of 14.X so that it can force the installation of two additional Microsoft products which are required by SmarterMail.
 
Have you installed ALL of the security patches fo .NET 4.5, both automatic, and elective.?
 
Here's some additional information:
 
SmarterMail 14.X requires two things to run during the installer which were not required in prior versions:
 
  1. .NET 4.5, which, if your SmarterMail 14.X installation is running, and you can access it via the web interface, was properly installed.
     
  2. Microsoft's C++ Redistributable Package 2010 x64 package needs to be installed for proper operation of the ClamAV 64 bit version - which is installed with SmarterMail 14.X
 
If you did NOT remove your version 12.X before updating, please do the following:
 
  1. Download the most recent version of SmarterMail 14.X from:

    http://smartertools.com/Download.aspx?Product=SmarterMail&File=Installer&Version=14&Location=Primary
     
  2. UNINSTALL your current SmarterMail product.
     
    • All of your current settings will be preserved.
    • If you did not install to the DEFAULT installation location, which is: C:\Program Files(x86)\SmarterTools\SmarterMail\, please make a note of the path to your current installation location so you can reinstall to that location.
       
  3. REBOOT your server - to unlock any locked files - VERY IMPORTANT!
     
  4. Install the latest build of SmarterMail - remembering to change the install location if your original installation did not use the default path.
Bruce Barnes ChicagoNetTech Inc brucecnt@comcast.net Phonr: (773) 491-9019 Phone: (224) 444-0169 E-Mail and DNS Security Specialist Network Security Specialist Customer Service Portal: https://portal.chicagonettech.com Website: https://www.ChicagoNetTech.com Security Blog: http://networkbastion.blogspot.com/ Web and E-Mail Hosting, E-Mail Security and Consulting
0
Sanidin Muratbegovic Replied
Hi, I found out what was problem :)  for some reason "SelectedLanguage" Cookie was missing and SM throw NullReferenceException 
0
Brian Ellwood Replied
How did you come to that determination?
0
Daniel Miller Replied
I experienced the same issue reported by the Sanidin. The instructions in your reply have not solved the problem, so I'm not sure this issue should be marked as resolved.
0
Daniel Miller Replied
To echo Brian's question: how did you determine this was the cause of the problem, and how did you resolve the issue?

Reply to Thread