GUID Creator

If you ever need to create a custom GUID, VisualStudio actually comes with one (guidgen.exe): C:\Program Files\Microsoft Visual Studio 8\Common7\Tools You can create the GUID in several formats, and it has a copy feature so you can paste into your source code. // {FA502476-DB91-4a16-A6B2-ADC1C1B70F9F} IMPLEMENT_OLECREATE(<<class>>, <<external_name>>, 0xfa502476, 0xdb91, 0x4a16, 0xa6, 0xb2, 0xad, 0xc1, 0xc1, 0xb7,…

0

Import PeopleSoft info into SharePoint User Profiles

I had someone ask me about this today, and thought I’d share some information that I was able to come up with. There are a couple of ways to go about it – unfortunately none of them are really a ‘quick’ plug and import.  One is to use the Business Data Catalog within MOSS.  It…

0

Performance Analyzer for Windows SharePoint Services 3.0

Even if you aren’t currently experiencing performance issues with your WSS environment, it’s always a good idea to take a step back and inspect your environment and WSS setup to look for areas of improvement and potential points where there may be trouble down the road.  But where do you start?  There’s a lot to…

0

Shortcut to stsadm.exe

I’m kind of a shortcut nut – and the constant looking for stsadm utility has been driven me nuts.  You can’t create a shortcut directly to it.  And once you do get past, "where is it again… common?", I keep finding myself asking "what was that command again?".  So, I decided to rid myself of…

0

Unrecoverable build error

Ouch.  This error has bothered me for a couple of days now, and I finally found a solution.  I kept getting this error when I was building a depolyment project. First, you should try Microsoft’s Knowledge Base article on the problem: http://support.microsoft.com/kb/329214/EN-US/. Didn’t work?  It does for some… but it didn’t for me either.  If…

0

Turn Identity Insert Off and On

This is a really great thing to know if you are migrating data from one database to another and absolutely must retain the Id field of your records.  You can turn Indentity Insert Off / On so that you can specify the Id during insertion. Don’t get confused like I did though – it’s reverse…

0

IIS 6.0 and Flash streaming (FLV)

We recently acquired an app that streams flash – but it was not working on our web servers (Winows 2003, Standard).  It was pretty aggravating to get up and running (*Opens arms for Silverlight*). The site has .swf files that stream a flash video (.flv).  The SWF works just fine, but the FLV won’t stream. …

0

Check to see if a string is empty

There are several ways to check a string to see if it’s empty.  However, you should try to always use the following method.  It’s faster, and uses less resources.  This may seem like a minimal piece of code – but if you were checking strings through out your application, it all adds up in the…

0

Add a Column To An Existing Table

If you need to add a column to an existing table with a default value:   ALTER TABLE YourTableName ADD YourColumnName varchar(50) DEFAULT ‘your default value’ WITH VALUES

0

Adding a ListItem to a dynamic dropdown list

If you manually add a listitem to a dynamic dropdown list, ensure that you set the appenddatabounditems attribute to true.  If you don’t, the dynamic items will overwrite the ones you manually added. <asp:dropdownlist id="DevelopmentCycleDropDown" runat="server" appenddatabounditems="True" datasourceid="ObjectDataSourceDevelopmentCycle"         datatextfield="Name" datavaluefield="Id" selectedvalue=’<%# Bind(’DevelopmentCycleId’) %>‘>             <asp:listitem selected="True" text="Select Cycle" value="0"></asp:listitem>         </asp:dropdownlist>

0