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

G

Guest

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top