I have a site which has been upgraded all along from DNN v2. It is a site with few hits.
I have now updated to 4.8.2 and on trying to update site settings; specifically the hosting expiry date I get:
ModuleId: 1038
ModuleDefId: 14
FriendlyName: Site Settings
ModuleControlSource: Admin/Portal/SiteSettings.ascx
AssemblyVersion: 04.08.02
PortalID: 38
PortalName: Jabiru
UserID: 2
UserName: declan
ActiveTabID: 459
ActiveTabName: Site Settings
RawURL: /Admin/SiteSettings/tabid/459/pid/38/portalid/38/language/en-GB/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.jabir-u.com/Admin/SiteSettings/tabid/459/pid/38/portalid/38/language/en-GB/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 03779173-ba2d-4260-b9b2-9f994eca81e1
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.cmdUpdate_Click
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.cmdUpdate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
While trying to track what may have caused this I ran FileMon on my server to discover hundreds of NOT FOUND errors.
e.g.:
C:\Inetpub\vhosts\cruisers3.com\httpdocs\App_GlobalResources\Locales.Portal-38.xml NOT FOUND Attributes: Error
C:\Inetpub\vhosts\cruisers3.com\httpdocs\Admin\ControlPanel\App_LocalResources\SharedResources.Host.resx NOT FOUND Attributes: Error
C:\Inetpub\vhosts\cruisers3.com\httpdocs\Admin\ControlPanel\App_LocalResources\SharedResources.Portal-38.resx NOT FOUND Attributes: Error
C:\Inetpub\vhosts\cruisers3.com\httpdocs\Admin\ControlPanel\App_LocalResources\SharedResources.en-gb.resx NOT FOUND Attributes: Error
C:\Inetpub\vhosts\cruisers3.com\httpdocs\Admin\ControlPanel\App_LocalResources\SharedResources.en-gb.Host.resx NOT FOUND
I suspect some dll in the bin and started removing some that were obviously old and no longer used but have not solved the issue.
Any suggestions would be appreciated.
Declan
UPDATE: I trashed the site and installed a fresh DNN 4.8.2. This solved the Site Settings issue but the missing files is still of interest