开发者

asp.net application moved - namespace not found

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.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 (and not an Umbraco specific issue), but I have no idea where and how to fix this.

Thank you! -Elad


Check if you need to append namespace definition in your web.config. These will be applied to all pages.

<configuration>
    <system.web>
        <pages>
            <namespaces>
                <add namespace="MyNamespace" />
            </namespaces>
        </pages>
    </system.web>
</configuration>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜