TheCommunicator
asked on
The type or namespace ProfileCommon could not be found error
Hello all,
I am seeing this
"The type or namespace ProfileCommon could not be found error" even though
1. I have used using System.Web.Profile;
2. I have <profile enabled = "true">
I am not sure why I am seeing this error
I am seeing this
"The type or namespace ProfileCommon could not be found error" even though
1. I have used using System.Web.Profile;
2. I have <profile enabled = "true">
I am not sure why I am seeing this error
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That did not work either. Sam error.......
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I checked and there in only one ProfileCommin definition....
ASKER
Well, I found the reason. It is because I have defined Profile in Web.config and my project is a web application which does not compile web application. So I have to do something like
ProfileCommon:ProfileBase
Thanks
ProfileCommon:ProfileBase
Thanks
ASKER
Unable to cast object of type 'System.Web.Profile.Defaul
when I try to create a new blank profile.....