Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'.
Previous Previous
 
Next Next
New Post 10/12/2007 3:28 PM
User is offline Filipe
10 posts
10th Ranked


Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'. 

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 2:04 AM
User is offline Filipe
10 posts
10th Ranked


Re: Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'. 

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 8:26 PM
User is offline William Severance
842 posts
www.wesnetdesigns.com
7th Ranked






Re: Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'. 

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
 
New Post 10/16/2007 11:56 AM
User is offline Filipe
10 posts
10th Ranked


Re: Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'. 

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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Method not found: 'Void DotNetNuke.Entities.Modules.ModuleController.SynchronizeModule(Int32)'.
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Module Development by Engage Software
Specializing in custom module development, training and skinning.
www.engagesoftware.com
BataviaSoft DotNetNuke Solutions
BataviaSoft offers custom DotNetNuke solutions especially for the European and the South East Asian market.
www.bataviasoft.com
Viva Portals, L.L.C.
Expert module development and graphic design.
www.continure.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP