ERROR: Failed to find the XML file at location ’12TemplateFeaturesYourName.Webfeature.xml’
SOLUTION: Delete ‘white’ bin folders in solution so that they will be forced to rebuild the feature.
ERROR: Failed to find the XML file at location ’12TemplateFeaturesYourName.Webfeature.xml’
SOLUTION: Delete ‘white’ bin folders in solution so that they will be forced to rebuild the feature.
ERROR: Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchAdminSharedWebServiceInstance (6ffbc9de-581c-408a-b6c8-6912060b6517).
REASON: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
SOLUTION: iisreset
public stringGetFormattedValue(string fieldName)
{
SPField field = this.Fields.GetField(fieldName);
if (field != null)
{
returnfield.GetFieldValueAsHtml(this[fieldName]);
}
return null;
}
1. .DWP is for a SharePoint webpart
set DllInstallTarget=SafeGAC
set WspDeployTarget=http://Moss1
set QuickModeTarget=Upgrade
2 .WEBPART is for an asp.net webpart
3. Both .dwp and .webpart have properties to be set for the “Custom” portion of the webpart’s edit tool pane
4. Both have a Features section containing:
5. Both .dwp and .webpart go into the web part gallery
6. With the .dwp, if a property changes then the webpart must be deleted and the feature de-activated before deploying the new version.
1. At LEAST one of the following:
2. Mark your assembly as a SafeControl inside of your SharePoint site’s Web.Config file.
3. Add your web part library to the site’s web part gallery.
4. Add web parts from your assembly to pages in your site.