Use ASP.Net Profile object model by non ASP.net application

Discussion in 'ASP .Net' started by =?Utf-8?B?Znc=?=, Oct 4, 2007.

  1. I have a Windows application need to access user profiles created by an
    asp.net web app. I ported <system.web><profile> and <connectionStrings> from
    web.config to app.confg. When the program executes following line,
    ProfileManager.ApplicationName = "/xxx";
    It generates error {"The type initializer for 'System.Uri' threw an
    exception."}.
    I wonder if anyone has tried to use object model of Profile outside of
    ASP.Net context.
    Thanks
     
    =?Utf-8?B?Znc=?=, Oct 4, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brad
    Replies:
    1
    Views:
    1,139
    Roedy Green
    Jul 19, 2005
  2. Weston Weems
    Replies:
    11
    Views:
    720
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
    Mar 1, 2007
  3. Replies:
    1
    Views:
    488
    Andreas Wollschlaeger
    Oct 6, 2006
  4. Andy B
    Replies:
    0
    Views:
    520
    Andy B
    May 3, 2008
  5. Steven
    Replies:
    5
    Views:
    491
    Steven
    Oct 24, 2008
Loading...

Share This Page