views:

77

answers:

5

Hi,

When I'm opening for the first time my webpage on WSS 3.0 I always get 401 UNAUTHORIZED. I was trying a lot of resolutions from Google results. I disabled loop back check. Added administrator rights for sharepoint account. I have to add that I'm using anonymous access to default site. Can anybody help me to resolve this issue? Please.

I was tried resolutions from here: codeplex It didn't help as well. :(

A: 

Do you enter the right username and password? Basically due to the site requires the name and password.

Robert Springfield
No it's not a resolution. :( I use anonymous access.
truthseeker
A: 

Note what zone the website is in IE. Sometimes due to the URL used (when URL has dots in it) IE would recognize the URL as belonging to the Internet zone and will not automatically pass your credentials. If so, add the site to the Intranet zone (IE, open the security tab of the Internet Options, click on Local Intranet, Advanced and add the URL of your site)

Vladi Gubler
No it's not a resolution. :(
truthseeker
+2  A: 

This is right resolution which helps:

RESOLUTION!!

<compilation batch="false" debug="false" />
truthseeker
How odd that the way the site recompiles itself impacts authorization. Thanks for finding this.
Chris Lively
A: 

You need to enable anonymous access on both the web application as well as the site collection for anonymous access to work. If you can accesss the site collection go to site settings/ under the users and groups section choose advanced permissions and choose settings/ anonymous access and set it accordingly.

brian brinley
A: 

On a couple instances I've run into... as a result of M$ updates, it sometimes does something internal to the internet user accounts such as

IWAM_{machineName} IUSR_{machineName}

which are sometimes used internally by IIS as an account of the website. It was as simple as clearing and resetting a password to these accounts and the site was active again without problems (until some future update associated with IIS messed the account again).

DRapp