Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

DNN 5.2.0 Upgrade and DMX
Last Post 12/04/2009 1:39 PM by Peter Donker. 9 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Chris Smith
New Member
New Member
Posts:68


--
11/26/2009 3:34 PM

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)'.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/27/2009 5:36 PM
Hi Chris,

I'll look into it right away. It is always possible that issues crop up with new DNN releases. Luckily I'm about to finalize a release myself, so with a bit of luck it's solved within a week or so.

Peter
Ad Spelt
New Member
New Member
Posts:9


--
11/28/2009 5:41 PM

Dear Peter,

I have the same problems. The module 'What's new' produces the same error.

Ad Spelt

Ad Spelt
New Member
New Member
Posts:9


--
11/28/2009 6:12 PM

The problem is that in DNN 5.2.0 the Procedure GetPortal needs a second argument 'Culture'.

Johnny Garcia
New Member
New Member
Posts:9


--
12/03/2009 6:56 PM

Have you found a solutions?


Ad Spelt
New Member
New Member
Posts:9


--
12/03/2009 7:26 PM

Yes, we found a simple solution. Go to the DMX options and remove the e-mailadress in the option  'audit mail'. Then everything works fine!

Ad Spelt

Johnny Garcia
New Member
New Member
Posts:9


--
12/03/2009 8:07 PM

Thanks! Ad

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/04/2009 10:39 AM
This error won't occur in DMX 5.2 any more. I've abstracted the DNN method to DMX.

Peter
Chris Smith
New Member
New Member
Posts:68


--
12/04/2009 11:37 AM

Do you have a DMX 5.2 release date scheduled?

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/04/2009 1:39 PM
Hi Chris,

Should be OK for next week.

Peter
You are not authorized to post a reply.