Pages

Thursday, January 29, 2009

Yes that succeeded today! But not without some issues and error messages, hello what do ya think? I think those who writes the installation scripts are terrorists and they want you to fear heart failure each time you must install something new on the server. :)... To be continued, I will show you the errors and what must be done to get rid of those... but now I must sleep... working for 16 hours now... zzz

Wednesday, January 21, 2009

If you want to remove the "MySettings" from the user dropdown menu (up in the right corner of a sharepoint page) so that it looks like this instead:

Then go to folder:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\CONTROLTEMPLATESMake a copy of welcome.ascx!Then open the file Welcome.ascx in NotepadAdd the following attribute to each element you wish to hide:Visible="False"For example:

Tuesday, January 20, 2009

If you want to activate your TopNavigation with flyouts, edit the following code in your masterpage (I am not able to enter code directly onto the page so that is why I always must create an image of code in my blog, irritating. Click on it for larger image):

Thursday, January 8, 2009

I am setting up an extranet site where the customer wants the user to be logged out after a certain idle time. Since there is no way to make the user logged out using windows authentication, for logical reasons, then I must activate forms authentication. But I dont want to have yet another user register like in a SQL db, so therefore I must activate it against the AD. So this is what I did:

Locate the web.config file that belongs to your site in the virtual directory (you find the path in your IIS site):

Make sure you backup your web.config file first! Locate the configSections tag. You can remark the authentication mode for windows, and instead enter this code:

These steps must be performed both in your sites web.config, and also in the web.config that belongs to the Central Admin site. Locate the tag system.web and add the following LDAP connection string to your Active Directory:

Also add the following section under the system.web tag:

Actually, I removed the connectionUsername and connectionPassword lines from my web.config since that file is quite unprotected on the server and you don't want the Administrator password out!! So if you remove those lines, the application pool user account will be used instead. So you must make sure that the account has rights on your AD.

Then in CA you go to the Authentication Provider link, select your site, click on the zone you would like to activate it on, and select "Forms" instead of "Windows".