San Diego Fires

This is the first time I experience this type mandatory evacuation … around 6AM this morning, reverse 911 call notified us to evacuate immediately. Sitting in a corp. office at High Bluff Drive offered by my former boss, listening to the AM 600, surfing the net to check the fire conditions … air condition is…

1

{"value does not fall within the expected range."} error

When I use the object model to add item to MOSS 2007 project task list, I have some code like following: const string SitePath = “http://litwareserver:5000”;const string ListName = “ProjectTask”; // enter object model through site collection.SPSite siteCollection = new SPSite(SitePath); // obtain reference to top-level site.SPWeb site = siteCollection.RootWeb;site.AllowUnsafeUpdates = true;     //needed since my…

0

WaitHandle.WaitAll For Multiple Handles on a STA Thread Is Not Supported

While developing WinForm application, if you need to spawn multiple threads to work on different tasks and you need to wait all threads to complete … then you might think to use the following approach: >>> Create an array of AutoResetEvent; use ThreadPool.QueueUserWorkerItem to spawn each task in different thread; then call WaitHandle.WaitAll(AutoResetEvent[]) to wait all…

5

Workaround to Search Results RSS URL Shows Internal Links

Symptom: If you have a public facing site built on MOSS 2007 you normally would have two zones defined: default zone that is your local intranet and Internet zone that’s your public facing zone. In Alternate Access Mapping, you would put something like http://servername in the default zone and put http://www.publicdomainname.com in your Internet zone; then you would…

0

Tips and Tricks From MOSS 2007 Development Training

General do not change identity account of application pool that is used by WSS v3 from ISS mgr, change it from WSS admin site if something needs to be accessible to all sites, deploy to _layout\[yourCompanyName] folder get CAML IntelliSense by create a file named as sharepoint_catalog.xml contains the following <SchemaCatalog xmlns=”http://schemas.microsoft.com/xsd/catalog”>  <Schema href=”C:\Program Files\Common…

3