SharePoint 4 Developers

Additional reference guide in .NET / SharePoint Development

Error occurred in deployment step 'Add Solution': Failed to load receiver assembly

Some issues in the integration of Visual Studio 2010 x SharePoint Foundation 2010 still can be found: Error occurred in deployment step 'Add Solution': Failed to load receiver assembly Microsoft.Office.SharePoint.ClientExtensions or Could not load file or assembly Microsoft.Office.Server

Hi folks,

The integration Visual Studio 2010 x SharePoint Foundation 2010 when deploying BDC Model Solutions still presents some issues. The problem occurs in Visual Studio because it cannot find the required DLLs to perform the operation. The error messages are listed below:

Problems:

Error occurred in deployment step 'Add Solution': Failed to load receiver assembly "Microsoft.Office.SharePoint.ClientExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" for feature "<Sua Feature>: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.SharePoint.ClientExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Office.SharePoint.ClientExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()

Error occurred in deployment step 'Add Solution': Could not load file or assembly 'Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

Solution:

In order to cross off this problem, some files of SharePoint Server 2010 need to be copied, which can be found in the directory 14\ISAPI:

  • microsoft.office.sharepoint.clientextensions.dll
  • Microsoft.Office.Sharepoint.ClientExtensions.xml
  • Microsoft.Office.Server.dll
  • Microsoft.Office.Server.xml

Register the DLLs in the GAC to fix it, just copying them to the directory C:\Windows\assembly.

Reopen the Visual Studio 2010 and deploy your BDC Model Solution successfully!

Cheers,

Marcel Medina

Click here to read the same content in Portuguese.

CanalSharePoint Free Event

CanalSharePoint Free Event

Hi folks,

Just would like to announce this free event provided by CanalSharePoint:

TechShare ROADSHOW 2010

Congratulations CanalSharePoint for this event!

Cheers,

Marcel Medina

Click here to read the same content in Portuguese.

Creating workflows in SharePoint 2010 – Integration Part II

This videocast brings the Part II of how to integrate Visio 2010, SharePoint Designer 2010, InfoPath 2010 and Visual Studio 2010 in order to create workflows in SharePoint 2010.

Hi folks,

After a while without publishing videocasts, I have got a time to focus on the creation of workflows in SharePoint 2010.

This videocast brings the Part II of how to integrate the 2010 version of Visio, SharePoint Designer, InfoPath and Visual Studio in order to create workflows in SharePoint 2010.

Here's a link to access the videocast available on vimeo :



Here's a link to access the same videocast available on screencast :



Video Download: Creating Workflows in SharePoint 2010. Integration Part II.

Description: This videocast is the second part of how to integrate the 2010 tools: Visio/SharePoint Designer/InfoPath/Visual Studio. It is in Portuguese language.

Cheers,

Marcel Medina

Click here to read the same content in Portuguese.