Posts categorized 'Development'

SharePoint 2003 flashback - create and deploy CAB files

I really am only posting this so I don't forget again. 2003 doesn't have solutions and features so I couldn't remember how to deploy the SPS 2003 web part code I'd fixed. If you have a CAB file and need to deploy it, use the STSADM AddWpPack command. I'd detail everything for you, but this guy already...

Continue reading "SharePoint 2003 flashback - create and deploy CAB files"

Our reporting article got extended

JOPX on SharePoint just released a blog post which extends the work Brendon and I started in our 2 part ASP.Net Pro magazine article ( part 1 , part 2 ). JOPX went so far as to release his extension on CodePlex . Check it out!...

Continue reading "Our reporting article got extended"

Strange Problems with a mysteriously corrupted list

I've got some custom code which looks at a SharePoint list for data which it renders to the screen. Of course, I used the delegate controls mechanism to put the control in question on the masterpage, so it basically shows up on every page in my publishing site. Notable exceptions include the admin screens...

Continue reading "Strange Problems with a mysteriously corrupted list"

When deploying code, please use Solution Packages for both our sakes

This morning I spent another 30 minutes trying to figure out why my solution package wasn't deploying correctly. Oh, the deployment would report success. No errors in the Central Admin UI or in the error logs, but several of the files on disk were not getting replaced. Turns out that the problem was...

Continue reading "When deploying code, please use Solution Packages for both our sakes"

SPLookupField Helper function

If you are programmatically adding list entries to a SharePoint 2007 list which contains a lookup field, you have to supply the ID of the source list's ListItem. If you fail to supply the ID you might see error messages such as this: "Invalid data has been used to update the list item. The field you...

Continue reading "SPLookupField Helper function"

Visual Studio reports the project location is not trusted

This has been annoying me for an hour or two, so I thought I'd put the solution up here. I'm using VMWare to host a pair of development machines (a domain controller and a SharePoint/SQL box). Because I've got a few other developers here in the room with me sharing the same virtual machines, we are all...

Continue reading "Visual Studio reports the project location is not trusted"

Tougher than it needs to be?

I'm still waiting for the day that some Microsoft architect promised me back at TechEd 2005 when they showed off the Whitehorse UML to code engine which allowed developers to draw pretty pictures and have the source code generated for you. As it is, development in general is frequently frustrating and...

Continue reading "Tougher than it needs to be?"

Options:

Size

Colors