It appears that your menu dll is out of sync with your script file

Last post 06-24-2006 1:37 PM by ulu. 7 replies.

Sort Posts:

  • It appears that your menu dll is out of sync with your script file

    02-09-2005, 11:20 AM
    • Member
      10 point Member
    • cmmiller928
    • Member since 02-09-2005, 11:15 AM
    • Posts 2
    I am using DNN 2.1.2 for the first time and I get the following error:
    "It appears that your menu dll is out of sync with your script file". Has anyone seen this before?

    Thanks
  • Re: It appears that your menu dll is out of sync with your script file

    02-09-2005, 11:35 AM
    • Contributor
      3,725 point Contributor
    • jhenning
    • Member since 09-26-2002, 8:11 PM
    • Illinois
    • Posts 746
    • TrustedFriends-MVPs
    This happens when the version of your solpartwebcontrols.dll is not in sync with your script file (spmenu.js). Usually this happens when a user opens up the dotnetnuke project in VS.net and has the reference path for the solpartwebcontrols.dll in the wrong place, therefore an older version of the control gets put into the bin folder.
  • Re: It appears that your menu dll is out of sync with your script file

    02-09-2005, 11:42 AM
    • Member
      10 point Member
    • cmmiller928
    • Member since 02-09-2005, 11:15 AM
    • Posts 2
    I initially had 3.0.10 on this machine and then deleted it. I then installed 2.1.2. At this point, I got the error. Once I deleted temporary files and refreshed the page, this error went away.
  • Re: It appears that your menu dll is out of sync with your script file

    02-09-2005, 12:45 PM
    • Member
      180 point Member
    • luisvalencia
    • Member since 01-18-2005, 8:01 AM
    • Posts 36
    So what do we have to do??
  • Re: It appears that your menu dll is out of sync with your script file

    02-09-2005, 1:53 PM
    • Contributor
      3,725 point Contributor
    • jhenning
    • Member since 09-26-2002, 8:11 PM
    • Illinois
    • Posts 746
    • TrustedFriends-MVPs
    make sure the solpartwebcontrols.dll in your bin folder is the right version. right-click on it and go to properties, then click the version tab. You will see the version... then open up the spmenu.js file in the controls\solpartmenu folder and check the version in the header. Find the version of the dll that matches and put it in the bin folder. (if you haven't updated the menu, then this dll will be in the original zip for dotnetnuke). If you have upgraded then the files will be in the upgrade zip you downloaded.
  • Re: It appears that your menu dll is out of sync with your script file

    06-20-2005, 11:25 AM
    • Member
      5 point Member
    • Mikelindsey
    • Member since 06-20-2005, 3:20 PM
    • Posts 1

    "It appears that your menu dll is out of sync with your script file"
     I get this error if I change the DNN 3.1 Blog Module Settings\Page Settings\Cache Time(secs) to anything other than zero.


    Can anyone else confirm? Does anyone know a work around?

    Thanks,
    Mike

  • Re: It appears that your menu dll is out of sync with your script file

    12-08-2005, 7:56 PM
    • Member
      45 point Member
    • LewHill
    • Member since 09-12-2002, 11:33 PM
    • Posts 9

    Mike,

    I had the same problem with the Forum Module and set the Cache to zero and the menu dll sync error issue was resolved.

    Thank you!

    Lewis

  • Re: It appears that your menu dll is out of sync with your script file

    06-24-2006, 1:37 PM
    • Member
      61 point Member
    • ulu
    • Member since 10-21-2005, 8:00 AM
    • Posts 18

    When you turn on module chaching, the structure of the module changes. The PortalModuleBase loads a copy of itself from the cache into itself. The parent's ID property is set in the Skin's InjectModule method, but I've found that the child's ID property is never set (I still use DNN 3.2), so it can raise problems (for example, you can't find local resource files).

    The error above comes from spmenu.js, line number 373 in my case, anyway it's the definition of SolpartMenu.prototype.GenerateSubMenus function. The script can't find a certain span, so it thinks that the version is wrong. You can alter the function to find out which span is missing. That would one of the empty spans at the beginning of the page, ending with "_divOuterTables". I suspect that the module contains a solpart menu, and while the module renders in a wrong way (due to the problem above), the menu renders wrong as well, forgetting to put the above span (among other things).

    ulu

Page 1 of 1 (8 items)