Debugging SharePoint – Web application could not be found Issue

Sometimes when I debug my SharePoint code from Visual Studio, I get the exception: System.IO.FileNotFoundException was unhandled   Message=The Web application at http://jl-sp2010/ could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping…

5

Undocumented stsadm command “stsadm –o uninstall”

Unfortunately I discovered an undocumented stsadm command today; having gotten into the habit of typing in “stsadm –o commandname” to get the list of parameters needed, I got stung by entering the wrong command name. I was looking for the parameters to “UninstallFeature”, but I typed only in “uninstall”: “stsadm –o uninstall” You should think…

3

A good under-the-hood SharePoint book?

My former colleague Kjell-Sverre has written a review on the book Building the SharePoint User Experience, where he absolutely recommends reading the book. This is a hardcore book for SharePoint developers. I haven’t read it yet, but it’s on its way. Kjell-Sverre’s review is worth reading, including his follow up post on List Content Type…

0

Copy listitems from one custom list to another, then move them into subfolders.

One problem I stumbled over the other day, was how to copy item from one custom SPlist to another. The two lists are identical and I thought moving the items should be quite easy through use of the object model. It turned out be not so straight forward. Normally, SPListItem.CopyFrom() and SPListItem.CopyTo() should do the…

3

New Version of SharePoint SiteConfigurator Feature Released!

We have just released a new version of the SharePoint SiteConfigurator feature on codeplex.com.  In this release we have focused on some new features and making sure the build is stable. This involved some refactoring as well as splitting the project in three parts, one for the code and logic, one part for the feature…

2

Unit testing MOSS part 2 (of 2)

In the 1. article on Unit testing MOSS I described some of the findings and experience on unit testing SharePoint applications using the TypeMock Isolator framework. In this 2. article I will provide some examples of unit tests. Code under testYou should of course use TDD principles, but we are in a state where we have…

8

Unit testing MOSS part 1 (of 2)

Some of our team members, including me and Frank Jusnes, were recently responsible for providing recommendations on how to unit test in SharePoint projects, and this is an overview of our findings and experiences. This is the first of two posts on the subject giving an overview. In the second post we are aiming for more examples…

5

Announcing SharePoint Site Configurator Feature on CodePlex

It is an pleasure to announce the second of our two new SharePoint projects on Codeplex.com: Project Description SharePoint Site Configurator Feature is a small framework for taking care of all configurations, settings and featurestapling you need for transforming a standard blank site definition into your own full blown site, without the hassle of creating…

2

Announcing SharePoint PowerShell Deploy on CodePlex

It is an pleasure to announce the first of our two new SharePoint projects on Codeplex.com: Project Description SharePoint PowerShell Deploy is a set of PowerShell files to help you build, deploy, upgrade and destroy a SharePoint farm. It can be used on development machines as well as test and production scenarios. Background information and…

2

Estimate performance and capacity requirements for InfoPath Forms Services environments

New document on performance published on Technet; gives good guidance and recommendations for use of Forms Server and dataconnections. In this article: Key characteristics Test environment Test results Recommendations This performance and capacity planning scenario incorporates a single Microsoft Office SharePoint Server 2007 farm that is running InfoPath Forms Services. The farm is used to…

2