Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kyle Skrinak 272 posts 327 karma points
    Sep 02, 2009 @ 23:24
    Kyle Skrinak
    0

    Help! Umbraco search broken by YAF update

    SERVER_SOFTWARE Microsoft-IIS/6.0
    Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
    umbraco v4.0.2.1 (Assembly version: 1.0.3441.17657)

    All,

    We have a tabbed interface whereby our search results are categorized by a number of criteria, including a search that searched the integrated YAF forum. Now, after updating the YAF forum, the search is broken, rendering this error, found below the end of my problem statement.

    At a minimum, how do I disable YAF searching until I can fix this?

    Better, how do I correct this error?

    Much thanks!

    Could not load file or assembly 'yaf, Version=1.9.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'yaf, Version=1.9.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Assembly Load Trace: The following information can be helpful to determine why the assembly 'yaf, Version=1.9.1.0, Culture=neutral, PublicKeyToken=null' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


    Stack Trace:

    [FileNotFoundException: Could not load file or assembly 'yaf, Version=1.9.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.]
    umbSearch.userControls.umbSearchTabbedResults.yafSearchResultCount() +0
    umbSearch.userControls.umbSearchTabbedResults.doSearch() +4705
    umbSearch.userControls.umbSearchTabbedResults.Page_Load(Object sender, EventArgs e) +269
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +47
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Sep 02, 2009 @ 23:39
    Dirk De Grave
    0

    You'll probably have to re-compile your user controls against the latest yaf version as there seems to be a version conflict.

    I don't know if you can disable the forum search, as this is probably within the user controls' business logic, can you disable the search at all?

     

    Hope this helps.

     

    Regards,

    /Dirk

  • Kyle Skrinak 272 posts 327 karma points
    Sep 02, 2009 @ 23:57
    Kyle Skrinak
    0

    Yes, that is what I feared was the case. If I could swap in a "search under repair" message instead of calling the control until resolved, that would be awesome; however I would do that...

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies