Wrox Programmer Forums
|
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
 
Old November 20th, 2009, 11:38 AM
Registered User
 
Join Date: Nov 2009
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default 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...
 
Old November 21st, 2009, 04:59 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
efilippou (November 23rd, 2009)
 
Old November 23rd, 2009, 09:13 AM
Registered User
 
Join Date: Nov 2009
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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
 
Old November 23rd, 2009, 11:46 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
efilippou (November 23rd, 2009)
 
Old November 23rd, 2009, 03:07 PM
Registered User
 
Join Date: Nov 2009
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Imar View Post
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
 
Old November 23rd, 2009, 03:12 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old January 7th, 2010, 10:16 PM
Authorized User
 
Join Date: Nov 2009
Posts: 31
Thanks: 3
Thanked 0 Times in 0 Posts
Default 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,





Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Based Authentication instead of Windows authentication ocn BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 8 January 8th, 2010 07:28 PM
Form-based Authentication Error lionstudio JSP Basics 2 August 4th, 2006 09:05 AM
Form based authentication.... avanishp General .NET 2 June 17th, 2005 03:11 AM
Form based authentication with WLS7 jcgarciap J2EE 1 March 9th, 2005 01:15 PM
form-based authentication using a database waru BOOK: Beginning ASP.NET 1.0 2 May 28th, 2004 10:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.