Hi,
My online portal website has been working fine for last 2 months.
Today while updating announcement module, after setting bg colors for all cells in a table, i got the following error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
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.]
DotNetNuke.Entities.Portals.PortalInfo.get_AdministratorRoleName() +60
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal) +413
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) +92
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2977
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
From then on onwards, for last 1 hour, i could not access my portal , any page i run i am getting same above error. Also i went to my database server and removed the page that was holding this module, even then same error is coming when i run any of my page.
I think since my website is hosted in a shared server and may be shared server is down a bit and that's why i could not access my portal. But error specified above is not clear to me.
Awaiting you suggestion asap.
Thanks,
Swaminathan,
Web Application Engineer,
www.steadfastglobal.com