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.
Have you enabled anonymous access in IIS?
You can experience this behaviour if in your web application web.config file the compilation batch setting is set to true. If this is the case, please set it to false and see if this resolves the problem.
<compilation batch="false" debug="false" />