Computing.Net > Forums > Web Development > ASP.NET Authentication

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ASP.NET Authentication

Reply to Message Icon

Name: Chad Johnson (by ChadJohnson)
Date: September 19, 2005 at 18:25:52 Pacific
OS: WinXP Pro
CPU/Ram: n/a
Comment:

I'm working for a professor at my school and I'm trying to salvage a web site someone made using Visual Studio. It runs with IIS and ASP.NET.

I'm having trouble with authentication, and I need an answer. When any user that is not an administrator of the computer the site is hosted on just tries to get to the web site (http://computername/dir), it pops up a Windows authentication dialog (like htaccess in Apache). I want this to go away.

I tried editing the Web.config file in the site directory using examples on the Internet with no luck.

IMHO, Microsoft should stay out of the web site tool development business. Their way is rediculous. It's so much easier with Apache and PHP, JSP, or Perl.



Sponsored Link
Ads by Google

Response Number 1
Name: Doleks
Date: September 20, 2005 at 01:33:15 Pacific
Reply:

You need to change authentication tag in Web.config
<authentication mode=”None”>
. And you have not to change order of tags in this file. If you change order IIS will not work properly with it.
If it don’t help you show you Web.config content and give a link to your website.



0

Response Number 2
Name: Chad Johnson (by ChadJohnson)
Date: September 20, 2005 at 21:58:47 Pacific
Reply:

Hey Denys, appreciate the help. I had actually tried that with no luck. I talked to someone at work today about it and they said I needed to make the wwwroot directory be accessible by the ASPNET and IUSR_COMPUTERNAME accounts. It worked.

Cheers!


0

Response Number 3
Name: Doleks
Date: September 22, 2005 at 02:55:12 Pacific
Reply:

It is no Microsoft problem. It is problem of system administrator I think :-)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


enough power? Run a win98 set up on win...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: ASP.NET Authentication

checkbox within datagrid (ASP.NET) www.computing.net/answers/webdevel/checkbox-within-datagrid-aspnet/828.html

asp.net web service and mysql www.computing.net/answers/webdevel/aspnet-web-service-and-mysql-/2695.html

Asp.net auto-generate metatags www.computing.net/answers/webdevel/aspnet-autogenerate-metatags/2711.html