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.
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
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
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
How odd, but good that you are up and running :-)
is working on a reply...