Posted on: 8/4/2012 11:08:30 AM | Views : 808

i'm working with mvc3 razor project. and a subfolder(/admin) contains just aspx file for admin.
i'm creating custom profile class using this link: 
http://weblogs.asp.net/jgalloway/archive/2008/01/19/writing-a-custom-asp-net-profile-class.aspx. 
It works well in local but error in server. if i do www.mywebsite.com, its fine. But if i run my subfolder www.mywebsite.com/admin it showing error in web.config "The type or namespace name 'AdminName' could not be found (are you missing a using directive or an assembly reference?)". Here 'AdminName' is the namespace of my custom profile class(UserProfile ). i inherits in web.congig like: <profile inherits="AdminName.UserProfile"> and 'UserProfile' is my custom class name

...

Go to the complete details ...