Profile.GetUser problem

Last post 05-08-2008 6:25 AM by MrREH. 2 replies.

Sort Posts:

  • Profile.GetUser problem

    05-08-2008, 5:12 AM
    • Loading...
    • MrREH
    • Joined on 04-28-2008, 5:22 AM
    • Posts 5

    Hi. I am having trouble with getting my Profile.GetUser() to work.

    Iam trying to run this code:

    ProfileCommon userProfile = Profile.GetUser(userToUpdate.Username);

    But when I try to compail this I get this error.

    The name ‘Profile’ does not exists in the current context.

  • Re: Profile.GetUser problem

    05-08-2008, 6:17 AM
    • Loading...
    • satalaj
    • Joined on 11-28-2007, 12:41 AM
    • Pune
    • Posts 872

    Post your web.config and code by removing sensitive data

    Satalaj

  • Re: Profile.GetUser problem

    05-08-2008, 6:25 AM
    • Loading...
    • MrREH
    • Joined on 04-28-2008, 5:22 AM
    • Posts 5

    Hi, I found out that I had to pass the ProfileCommon object to the method i was trying to use the Profile.GetProfile() command in.

Page 1 of 1 (3 items)