N
.NET Developer
Hello.
I would like to get windows authentication to work, but I can't,
because I must be stupid.
Here's the relevant web.config section:
<authentication mode="Windows" />
<authorization>
<allow roles="COMPUTER\Users" />
<deny users="*" />
</authorization>
When I run my ASP.NET app, I get the logon box, with:
Username
Password
Domain
I've made sure that the username "Robert" is a member of "Users"
So, for Username, I type in Robert
I don't have a password for that user, so I leave password blank.
I'm not sure about the Domain. I think it's "COMPUTER" because I've
seen that mentioned elsewhere. But it could be "localhost"? I'm not
sure how to find this out to make sure. (Everything's on my one local
Win2K machine.)
My problem is that it won't let me log in. I've tried quite a few
different combinations.
As you can see, I think I am a bit stupid. Please help.
Robert.
I would like to get windows authentication to work, but I can't,
because I must be stupid.
Here's the relevant web.config section:
<authentication mode="Windows" />
<authorization>
<allow roles="COMPUTER\Users" />
<deny users="*" />
</authorization>
When I run my ASP.NET app, I get the logon box, with:
Username
Password
Domain
I've made sure that the username "Robert" is a member of "Users"
So, for Username, I type in Robert
I don't have a password for that user, so I leave password blank.
I'm not sure about the Domain. I think it's "COMPUTER" because I've
seen that mentioned elsewhere. But it could be "localhost"? I'm not
sure how to find this out to make sure. (Everything's on my one local
Win2K machine.)
My problem is that it won't let me log in. I've tried quite a few
different combinations.
As you can see, I think I am a bit stupid. Please help.
Robert.