Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Method not found: Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'.
Previous
 
Next
New Post
10/12/2007 5:28 PM
 

12-10-2007 16:16:36   Page Load Exception   host     AssemblyVersion: 04.05.05; PortalID: 2; PortalNa ... 

AssemblyVersion: 04.05.05
PortalID: 2
PortalName: myWebLib
UserID: 1
UserName: host
ActiveTabID: 130
ActiveTabName: Convites
RawURL: /Convites/tabid/130/ctl/Edit/mid/512/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.myweblib.com/Convites/tabid/130/ctl/Edit/mid/512/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; FDM)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ddff96b3-5252-49b2-b555-736f649cae6e
InnerException: Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Jfc.DnnMarketingTools.MemberInvite.EditMemberInvite.cmdSend_Click
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'. ---> System.MissingMethodException: Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'. at Jfc.DnnMarketingTools.MemberInvite.EditMemberInvite.cmdSend_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Nome do servidor: 3WTT641

I don't have this error in my development server (04.06.00), only in my production server (04.05.05). It's a new method? I've copied from an old sample...

 
New Post
10/13/2007 4:04 AM
 

In version 04.06.00 the method SynchronizeModule() is declerad as deprecated but, SynchronizeModule(Int32) in not supported in older versions.

warning CS0618: 'DotNetNuke.Entities.Modules.PortalModuleBase.SynchronizeModule()' is obsolete: 'This method is deprecated. Plaese use ModuleController.SynchronizeModule(ModuleId)'

 
New Post
10/13/2007 10:26 PM
 

It appears that Public Shared Sub SynchronizeModule (ByVal ModuleID As Integer) was added as a public shared subroutine of the ModuleController class in the 4.06.00 version. It does not appear in version 04.05.05 nor in an earlier version such as 04.04.01.  I've usually used the SynchronizeModule() method of PortalModuleBase for a similar purpose - basically to clear the module cache.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
10/16/2007 1:56 PM
 

OK,Back to the old version..

To remove the warning, i've used the folloing code:

 

 

//refresh cache warning disable 0618//ModuleController.SynchronizeModule(ModuleId); warning restore

 

#pragma

SynchronizeModule();

 

 

#pragma

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Method not found: Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out