Windows Application with ASP.NET Credentials
Posted on 2007-10-08
Hi guys, Ok I will give my specs first, then I will tell my problem.
I got a web site using VB 2005 (C# and ASP.NET 2.0)
I got a database in SQL 2005. I am using in my web site the ASP.NET Web Site Administration Tool for the Secured and Encrypted Credentials.
NOW, I am creating a window application Form ok. In that application, I did a form for a Login. But I need that login to correspond with the Same credentials as the web site in the database. My problem is I dont know what to write in my App.Config
When I wrote my connectionString just as the same as in the web.config of the web site, I also put a MachineKey for the encryption but it gives Error. Also, People that will log on the site and the application form are over the world. Its not just an Intranet (maybe it does a difference..)
Well...I hope you understand everything, if not tell me and I will detail a little more