 |
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
 | This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

November 20th, 2009, 11:38 AM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Form based authentication
Hello, I am wondering how hard it is to use form based authentication instead of windows authentication. I read a post here on that but couldnt get an answer, I dont want mixed mode.
I tried following instructions for a form based authentication project, but i always get the message:
Unable to start debugging on the web server. Debugging failed because integrated windows authentication is not enabled....
I would assume that the only thing I need to change to get rid of this message and proceed with the rest of necessary changes in the project was to change the web.config authentication mode to Forms...
What else needs to be changed to allow me to continue debugging to proceed with more changes in the project?
Thanks to the author for this excellent book, it seems like it will be very usefull especially the code and the code generator...
|
|

November 21st, 2009, 04:59 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Are you using IIS? If so, you need to install some components for this to work:
http://forums.asp.net/p/1266283/3224544.aspx
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|

November 23rd, 2009, 09:13 AM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Thanks for your quick reply Imar, even though your reply didnt answer my question, What I was looking for is to convert from Windows Authentication to Form based authentication (the link is talking about windows authentication). I didnt manage to do this on the project, but I managed to create a new project with form based authentication after lots of reading...
I guess to convert the paid time soluton to form based authentication requires quite some work on the project which is probably not worth doing...
If anyone else has a quick way of doing this, please let me know...
Regards, Emmanouil Filippou
|
|

November 23rd, 2009, 11:46 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
I posted that link in response to this statement
>> Unable to start debugging on the web server. Debugging failed because integrated windows authentication is not enabled....
Whether you're using forms or windows authentication for your clients is irrelevant when it comes to debugging, In order to support debugging, you need Windows authentication components installed...
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|

November 23rd, 2009, 03:07 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Imar
I posted that link in response to this statement
>> Unable to start debugging on the web server. Debugging failed because integrated windows authentication is not enabled....
Whether you're using forms or windows authentication for your clients is irrelevant when it comes to debugging, In order to support debugging, you need Windows authentication components installed...
Imar
|
Yes!!! Now I see that! Sorry, Its too much information for me, being new to the .NET architecture...
It was that simple... I got it now... Integrated Windows authentication checkbox must be checked together with Anonymous Access for form based authentication in IIS... and this is irrelevant to the type of authentication used in the website, it is required for debuging... thats why I was getting the error no matter what I was doing...
Thanks for your time, Emmanouil Filippou
|
|

November 23rd, 2009, 03:12 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Yes, exactly. Anonymous authentication is used by your visitors, integrated security by you to authenticate when debugging.
Glad it's all working now.
Cheers,
Imar
|
|

January 7th, 2010, 10:16 PM
|
|
Authorized User
|
|
Join Date: Nov 2009
Posts: 31
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Did you managed to use form based authentication?
Hi everyone,
I am also facing the same problem of changing the windows based security in to forms based security. The main goal is to make this site available over the internet (not the local intranet). For this I may need to provide a login screen and defiantly need form based security. It would Have been better if the author made it configurable or at least give any suggestion to switching it on form based  . Any way over all good design and I have decided to use it  .
Did anyone implement form based security?
Can any one highlight the places need to be changed in application to migrating it to form windows based authentication to form based?
Kindly hep me...
Thanks,
|
|
 |