Warning: Declaration of WarpMenuWalker::start_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678

Warning: Declaration of WarpMenuWalker::end_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = Array) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678

Warning: Declaration of WarpMenuWalker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678

Warning: Declaration of WarpMenuWalker::end_el(&$output, $item, $depth) should be compatible with Walker_Nav_Menu::end_el(&$output, $item, $depth = 0, $args = Array) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678
Denis Stadler – SharePoint & Dynamics CRM Consultant

How to Create a Sandboxed Web Part and Deploy It to Office 365 / SharePoint 2010

Written by Denis Stadler on . Posted in Custom Development, Office 365, SharePoint 2010

First of all you will need a Development Environment with SharePoint 2010 and Visual Studio 2010.

Download and install SharePoint 2010 SDK.

Download and install Visual Studio 2010 SharePoint Power Tools.

Then you have to enable Microsoft SharePoint Foundation Sandboxed Code Service in Central Administration. Go to Central Administration and then click Manage services on server.

Turn Off Custom Errors in SharePoint 2010

Written by Denis Stadler on . Posted in Custom Development

When developing for example Web Parts in SharePoint 2010 sometimes it might be very helpful to see the full error message.

To achieve this you have to find the web.config file (it should be located in C:\Inetpub\wwwroot\wss\VirtualDirectories\<Site Collection Host Header – if exists><Site Collection Port>).

Then you have to open it with Visual Studio or Notepad.

Search for the following texts and do the changes as they are presented below:

  • CallStack=”false” and change it from false to true
  • customErrors mode=”On” and change it to Off
  • Debug=”false” and change it to true

Install and Uninstall a Feature in SharePoint using stsadm.exe

Written by Denis Stadler on . Posted in IT Pro & PowerShell, SharePoint 2010

To deploy SharePoint Custom Features on different servers the easy way is to use stsadm.exe.

First, please:
– replace YourWSP.wsp with your WSP Package
– replace FeatureNameFolder with your Feature Folder Relative Path from 12 or 14 Hive \TEMPLATE\FEATURES (usually is should be the folder which contains the feature.xml file)
– replace http://site with your site

Using stsadm.exe for Installing Features and Packages in both MOSS 2007 and SharePoint 2010


rem Solution Package
rem ================
stsadm -o addsolution -filename YourWSP.wsp
stsadm -o deploysolution -name YourWSP.wsp -allowgacdeployment -force -immediate

rem Feature
rem ================
stsadm -o installfeature -filename FeatureNameFolder\feature.xml -force
stsadm -o activatefeature -filename FeatureNameFolder\feature.xml -url http://site -force

Using stsadm.exe for Uninstalling Features and Packages in both MOSS 2007 and SharePoint 2010


rem Feature
rem ================
stsadm -o deactivatefeature -filename FeatureNameFolder\feature.xml -force -url http://site
stsadm -o uninstallfeature -filename

rem Solution Package
rem ================
stsadm -o retractsolution -name YourWSP.wsp -url http://site -immediate
stsadm -o deletesolution -name YourWSP.wsp


Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /home4/x15denis/public_html/wp-includes/functions.php on line 3208