Copied to clipboard

Flag this post as spam?

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


  • Tim Melis 22 posts 43 karma points
    Jun 04, 2011 @ 01:04
    Tim Melis
    0

    Building a search function

     

    Hi,

    I watched the videos from umbraco tv on how to create a search function in a website. I've also downloaded the demo code.

    When copying the usercontrol and the dll file to the correct folders, Umbraco stops working.

    A message appears: Server error. Can't load file of the assembly or one of its dependencies. De assembly is build using a runtime thats newer tha a currently loaded runtime.

    I'm using umbraco version 4.5.2 on IIS7. .Net framework version is 2.0.

    Does anyone have a solution?

    Kind regards

     

    Tim

     

     

     

     

  • jaygreasley 416 posts 403 karma points
    Jun 04, 2011 @ 16:34
    jaygreasley
    0

    Hi there,

    I'd try changing your app pool to .Net4

    Failing that, check the Event Viewer or use Process Monitor to see what the assembly dependencies are

    hth

    j

  • Tim Melis 22 posts 43 karma points
    Jun 06, 2011 @ 02:49
    Tim Melis
    0

    Hi Jay,

    Thanx for your feedback.

    After checking I was running on 3.5 not 2.0. Changing the pool to 4.0 caused Umbraco to fail.

    After some testing I decided to create blanc 3.5 project from scratch and entered all the code and it worked.

    Thanx for your help

    Tim

     

     

     

     

  • jaygreasley 416 posts 403 karma points
    Jun 09, 2011 @ 12:33
    jaygreasley
    0

    How odd, but good that you are up and running :-)

Please Sign in or register to post replies

Write your reply to:

Draft