After upgrading (sucessfully) to the latest build of DNN (5.2.0) the DMX throws and error on file upload. The error is listed below.
Error: Documents is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Method not found: 'System.Data.IDataReader DotNetNuke.Data.DataProvider.GetPortal(Int32)'. ---> System.MissingMethodException: Method not found: 'System.Data.IDataReader DotNetNuke.Data.DataProvider.GetPortal(Int32)'. at Bring2mind.DNN.Modules.DMX.Services.Notification.PortalInfo.GetPortal(Int32 PortalId) at Bring2mind.DNN.Modules.DMX.Services.Notification.DMXTokenReplace..ctor(Int32 PortalId, EntryInfo entry, LogInfo log, LogTypeInfo logtype, UserInfo dnnadmin, UserInfo recipient) at Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.ᜀ(Int32 A_0, Int32 A_1) at Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.Send(String overrideEmail) at Bring2mind.DNN.Modules.DMX.Services.Notification.NotificationController.SendAuditEmail(Int32 PortalId, Int32& EntryId, Int32 UserId, String Operation, Int32 LogId) at Bring2mind.DNN.Modules.DMX.Services.Logging.LoggingController.Log(Int32 PortalId, Int32& EntryId, Int32 UserId, String Operation) at Bring2mind.DNN.Modules.DMX.Controls.EditEntry.ᜀ() at Bring2mind.DNN.Modules.DMX.Controls.EditEntry.IntermediateFinishButton_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
Method not found: 'System.Data.IDataReader DotNetNuke.Data.DataProvider.GetPortal(Int32)'.
From the Eventlog:
ModuleId: 553
ModuleDefId: 109
FriendlyName: Documents
ModuleControlSource: DesktopModules/Bring2mind/DMX/Dispatch.ascx
AssemblyVersion: 5.2.0
PortalID: 0
PortalName: Net Data Design Client Site
UserID: 3
UserName: cjsmitty
ActiveTabID: 198
ActiveTabName: Client Documents
RawURL: /Documents/Client_Documents.aspx?Command=Core_Edit&CollectionId=629
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.mydomain.net/Documents/Client_Documents.aspx?Command=Core_Edit&CollectionId=629
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a73ab72d-b60f-457c-8ec8-1dfd3c1a11b8
InnerException: Method not found: 'System.Data.IDataReader DotNetNuke.Data.DataProvider.GetPortal(Int32)'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Bring2mind.DNN.Modules.DMX.Services.Notification.PortalInfo.GetPortal
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Method not found: 'System.Data.IDataReader DotNetNuke.Data.DataProvider.GetPortal(Int32)'. ---> System.MissingMethodException: Method not found: 'System.Data.IDataReader DotNetNuke.Data.DataProvider.GetPortal(Int32)'. at Bring2mind.DNN.Modules.DMX.Services.Notification.PortalInfo.GetPortal(Int32 PortalId) at Bring2mind.DNN.Modules.DMX.Services.Notification.DMXTokenReplace..ctor(Int32 PortalId, EntryInfo entry, LogInfo log, LogTypeInfo logtype, UserInfo dnnadmin, UserInfo recipient) at Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.ᜀ(Int32 A_0, Int32 A_1) at Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.Send(String overrideEmail) at Bring2mind.DNN.Modules.DMX.Services.Notification.NotificationController.SendAuditEmail(Int32 PortalId, Int32& EntryId, Int32 UserId, String Operation, Int32 LogId) at Bring2mind.DNN.Modules.DMX.Services.Logging.LoggingController.Log(Int32 PortalId, Int32& EntryId, Int32 UserId, String Operation) at Bring2mind.DNN.Modules.DMX.Controls.EditEntry.ᜀ() at Bring2mind.DNN.Modules.DMX.Controls.EditEntry.IntermediateFinishButton_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: NDD-WEB16
Method not found: 'System.Data.IDataReader DotNetNuke.Data.DataProvider.GetPortal(Int32)'.