Miscellaneous Debris
Avner Kashtan's Frustrations and Exultations
-
Be Vewy Vewy Caweful - We'we Instawwing Shawepoint!
Sharepoint 2003's installation process is one of the most delicate and uncooperative I've seen in while. Quite a surprise in this day and age - responsive, coherent installations is something we' … more
-
Lookup Hijinx
Here's something that mired me down for several hours, so may it be Googled and seen and used by Sharepoint developers: We're developing a solution right now based on SPS and WSS sites, under … more
-
Programmatically creating an IIS Application
Using System.DirectoryServices to manage IIS servers and directories is a long-established practice (or is it? Should I elaborate on that? Write a short article?), but I ran into a problem today when … more
-
SQL Server Woes.
I am not a SQL Server Guru, I admit. Far from it, actually. But still, this shouldn't be this hard. I was cheerfully punching away Sharepoint code on my Win2003 machine, when suddenly the power died. … more
-
The Joy of VSTO.
At last, I have a glowingly positive, happily cheerful and satisfyingly pleased entry instead of my usual rant. I installed the Whidbey Beta 1 build yesterday, and immediately started checking out … more
-
The API Maze
A reminder to those lost: The SystemInformation class, containing many useful tidbits of information like the running computer name, number of monitors and whether we're on a network, resides in … more
-
Disposable Impersonation
Impersonating a user in .NET isn't quite as simple as it could be. It's really easy if you you already have a WindowsIdentity or WindowsPrincipal in hand, but to get a handle on an arbitrary user you … more
-
COM Add-Ins : Multiple Madness!
[Don't you hate it when IE throws your long post to the trash? We need a smart client for updates!] COM AddIns for Office are a nice feature. A rather easy way to add some buttons and functionality … more
-
Office 2003's disappearing-reappearing PIAs.
Just in case someone else is running into this problem: If you're trying to install Office 2003 Professional and want to make sure you install the PIAs as well, you go to the setup components list … more
-
Ghost Files
For some obscure reason, Windows Sharepoint Services allows me to fetch a non-existent file. Consider this code:SPSite site = new SPSite(site_url);SPFile file = site.RootWeb.GetFile(file_url); This … more