创建一个自定义配置文件类,但在子文件夹中的错误

创建一个自定义配置文件类,但在子文件夹中的错误

问题描述:

我正在使用MVC 3 jQuery移动项目。 我在this链接的帮助下,在项目中创建了一个自定义配置文件类,以保存在aspnet_profile表中。创建一个自定义配置文件类,但在子文件夹中的错误

而在我的服务器中,我有一个名为'admin'的子文件夹,我在其中放置了一些aspx文件。当http://www.mywebsite.com/admin访问它,它提供了一个错误:

The type or namespace name 'Root' could not be found (are you missing a using directive or an assembly reference?

但它正常工作与http://www.mywebsite.com

通过以下链接我解决了这个问题。 solution