Wednesday, January 31, 2007

Windows SharePoint Services problem

Did you know that Windows 2003 Enterprise R2 is shipped along with Windows SharePoint Services 2.0? Well, it is. The SharePoint services components is located on the CD2 of that windows distribution, and is accessible to add/remove from “Add/Remove programs -> Windows components”.
What I want to share with you is another wired and strange problem I had with it. So, I installed the WSS 2.0 on my machine. It made several virtual directories on my IIS and apparently changed a lot of other things.
What happened?
First, it was installed on the default web site of the IIS. Then all virtual directories I had on this site stopped working. It was just saying “Error 404 Not Found”, although the virtual paths were there – at the IIS administrative console. I said “OK”, and I made another website on the IIS and moved the virtual paths there – they were working just fine. Until …
Until I found that the “Forms Authentication” is not working anymore. I had the “”, I had the required “” in my web.config for the applications under the virtual folders, but none of them worked. The authorization was not working anymore! You could open every page you want without being authorized. I looked in the machine.config, I looked in the web.config under Microsoft.Net folder in windows root folder, but I did not find anything wrong. After wasting a couple of hours I decided to remove the WSS 2.0 from my PC. Guess what – everything was working fine again. Really wired (at least for me) …

No comments: