All Articles

Error occurred in deployment step 'Activate Features': Cannot start service SPUserCodeV4 on computer "computer name".

Solution: Goto Central Admin -> Application Solution -> Service on Service 

  Start: Microsoft SharePoint Foundation Sandboxed Code Service Service

Microsoft provides a tool to help you detect and track down objects you aren’t disposing of properly called the SharePoint Dispose Checker tool. That tool is found here:

For this you need to define return type as object.
public IList<object> ReturnAnonymous()
  return new List<object> {
     new { City="Dhaka", Name="Test 1" },
     new { City="Rajshahi", Name="Test 2" }

This is a simple class which uses the the Google Geocoding API to find out a location information based on the zip code. You will get the following using this class:

  • City
  • State
  • Country
  • Longitude
  • Latitude

I have tested it with US and Canadian zip codes.




[Taken From Sahil Malik Books] - I want to share a little trick with you. When you're writing code for SharePoint, and your custom code runs into an error, by default SharePoint will log that error and it will present the user with a generic error through the browser. In order to view the actual error message through the browser, you will need to make three changes to your web.config:

Sometimes we need to modify no-customizable entity in CRM 2011, Oh yeah we are facing hard time when my team is working on real estate crm when we need to customize price list item because in real estate we don't need product, we really need here Property(Plot/Apartment), so we need need to modify no-customizable entity "price item list". 

Backup/Restore from one server to another or from one Site Collection to another (with PowerShell command)


Subscribe to All Articles