Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 February 9th, 2007, 10:44 AM
Authorized User
 
Join Date: Jan 2007
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default User Identity

I have been trying to get the windows authentication working. I have been working on my laptop with setting up a new webpage and wanted to implement the windows authentication. I tested to see if User.Identity.Name would work but it doesn't seem to show up. I then tried putting it up on the server we have thinking it might just be my machine but when i did that it still won't show up.

Without being able to implement the User then i can't use windows authentication. I have tried the Microsoft IIS and also Abyss Web server cause i thought it might be something in abyss that was not allowing me. Can anyone thing of anything i am doing wrong

 
Old February 9th, 2007, 11:14 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

In IIS, do you have your permission settings set to allow Anon access? If so try this: uncheck that box and only check the box for Integrated Windows Authentication. Let me know if it works.

================================================== =========
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
User.Identity.Name and accessing it from code CodeBugger C# 3 May 24th, 2006 04:41 PM
Context.User.Identity.Name jimbeam36 BOOK: ASP.NET Website Programming Problem-Design-Solution 4 November 6th, 2004 06:33 AM
Identity soccers_guy10 SQL Server 2000 3 September 2nd, 2003 07:05 AM
ascx issue with User.Identity.Name ian.macey Classic ASP Basics 2 June 11th, 2003 02:50 AM





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