Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 21, 2006 02:11 PM by albertpascual
Nov 17, 2006 07:29 PM|LINK
I got the error below and am not able to find out the cause. I have spent more than a day on this. Has anyone encountered this error below? Please help.
Warning 1 The type 'MemberProfile' in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\askmetech\c72549a6\9297fa06\App_Web_r-oxadxs.0.cs' conflicts with the imported type 'MemberProfile' in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\askmetech\c72549a6\9297fa06\App_Code.-avdtcnt.dll'. Using the one in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\askmetech\c72549a6\9297fa06\App_Web_r-oxadxs.0.cs'. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\askmetech\c72549a6\9297fa06\App_Web_r-oxadxs.0.cs 300
I created the following classes
App_Code --> MemberProfiles (sub folder): MemberProfile.cs, MemberProfiles.cs, MemberProfilesProvider.cs, SqlMemberProfilesProvider.cs, xmlMemberProfilesProvder.cs
When I created those memberprofiles classes, I used the News classes that came along with the Small Business website project.
Nov 17, 2006 08:16 PM|LINK
Nov 17, 2006 09:02 PM|LINK
I renamed the class name from MemberProfile to MyMemberProfile but still have the same error indicated above. I think it has to do with how the classes I created below are related. I created them like the News classes that come along with the Small Business
Starter Kit. .
Please help. Thanks
Below are my classes:
Nov 17, 2006 09:08 PM|LINK
First do this:
public class My
MemberProfile : MemberProfile
I believe that all the names you are using are reserved, please rename and let me know
Nov 17, 2006 09:25 PM|LINK
Thanks for responding. I renamed it to the classes below. I still get that error.
MyMemberProfiles (this is a collection)
Nov 17, 2006 09:30 PM|LINK
Nov 18, 2006 11:59 PM|LINK
This problem is fixed. Renaming the classes by find and replace doesn't fix it. I had to delete the classes completely and then create them under a different name like MyMemberProfile.
Nov 19, 2006 01:57 AM|LINK
Nov 20, 2006 10:01 PM|LINK
Nov 21, 2006 02:11 PM|LINK