Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Developing using the Portal DLLs

  Asked By: Dontae    Date: Sep 25    Category: Sharepoint    Views: 899

I am developing an application that update the profile of a user
(using the Profile Object Model). I am developing on VS.NET 2003 on
an XP machine, with SPS installed on W2K3.

From the SDK:

TopologyManager topology = new TopologyManager();
PortalSite portal = topology.PortalSites[new Uri("portalURL")];
PortalContext context = PortalApplication.GetContext(portal);
UserProfileManager m_mngr = new UserProfileManager( context );
UserProfile user = m_mngr.GetUserProfile("WindowsUseraccount");

Console.WriteLine("Property to be changed : " + sProperty + " to " +
sValue.ToString() );
user[sProperty] = sValue;

But on compiling, I got an error stating that the references to the
Sharepoint.Security could not be found. After obtaining the
necessary DLLs from the SPS server (as detailed at :
25Sharepoint%25dll_!!!/m_8713/tm.htm )
I now get this error:

"Sharepoint Product registry key not found"

What am I missing?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Developing using the Portal DLLs Or get search suggestion and latest updates.