Hi, I had an installation of Umbraco in a subdirectory of wwwroot. Everything worked well. Now I moved all the files and folders of the Umbraco installation from the subdirectory to the wwwroot. When I try to load the backend I get an error:
CS0246: The type or namespace name 'UmbracoMembership' could not be found (are you missing a using directive or an assembly reference?)
Now UmbracoMembership is a class of a custom usercontrol, which resides in the Membership.dllfile which is in the bin folder.
Before the move everything worked. I'm guessing this has something to do with where asp.net is looking for the assemblies, but I have no idea where and how to fix this.
Error after moving directory
Hi, I had an installation of Umbraco in a subdirectory of wwwroot. Everything worked well. Now I moved all the files and folders of the Umbraco installation from the subdirectory to the wwwroot. When I try to load the backend I get an error:
Now
UmbracoMembership
is a class of a custom usercontrol, which resides in theMembership.dll
file which is in the bin folder.Before the move everything worked. I'm guessing this has something to do with where asp.net is looking for the assemblies, but I have no idea where and how to fix this.
Thank you! -Elad
Hi Elad
What version of Umbraco are you using?
Have you been making some custom usercontrols where this reference could be missing?
/Jan
Thank you for your reply.
Yes. I do have custom controls, but I don`t get why moving them brakes them...
is working on a reply...
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.
Continue discussion