I have a 2003 server, with SharePoint 2007 installed on it, as well as Visual Studio 2010.

I've added a reference to Microsoft.SharePoint.dll in the \isapi\ directory, and added "Imports Microsoft.sharepoint" to my application. (Notice the lowercase 'sharepoint'... it didn't correct it, so I'm assuming it can't find it.) This is confirmed when I attempt to create an object of type SPSIte (when trying to build the application):

"Error 1 Cannot embed interop types from assembly 'Microsoft.SharePoint' because it is missing either the 'ImportedFromTypeLib' attribute or the 'PrimaryInteropAssembly' attribute. WpfApplication3"

and
Error 2 Cannot embed interop types from assembly 'Microsoft.SharePoint' because it is missing the 'Guid' attribute. WpfApplication3

Featured Post

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…

When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.

We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data.
But that feeling is fleeting. Attacks these days can happen in many w…