Tuesday, June 26, 2007

VM Guest OS takes forever to load

Problem: VM Workstation comes up fast, however, the Guest OS took forever to come up. ~ 18 mins!

Solution: check the memory usage on the menu (VM --> Settings). Make sure the setting is at the recommended memory. Do not go beyond the 'Maximum recommended memory.' They are not kidding when they say 'Memory swapping may occur beyond this size').

Monday, June 18, 2007

Renaming file with local resource (multi-langual)

After renaming a multi-langual file that contains local/global resources, translation won't come through - always resort to one language.

Solution: Open the page and switch to designer. Rebuild.

Wednesday, June 13, 2007

Programmatically setting anonymous access to a list

To programmatically turn on anonymous access to a list: http://www.u2u.info/Blogs/Patrick/Lists/Posts/Post.aspx?ID=876

Dim web As SPWeb = New SPSite("http://").OpenWeb()
Dim list As SPList = web.Lists("")
list.AnonymousPermMask = sprights.ViewListItems | sprights.OpenWeb |

For disable the anonymous on your list, you only need to specify the
SPRights.EmptyMask to the AnonymousPermMask Property.
list.AnonymousPermMask = SPRights.EmptyMask