WordPress Dev… Here I Come….!!!

working on a personal project using WordPress.. Excited :)!

Posted in Personal | Leave a comment

Adios Qatar…

Left Qatar and came back to Sri Lanka couple of days back…

Had a wondeful run for the last 6 years Alhamdulillah..

Looking for new challenges in life ☺!!

Keep moving forward InshaAllah!!!

Posted in Uncategorized | Leave a comment

User alerts with external email domains not working


I have setup SharePoint outgoing email address in a specific domain i.e. officemail.com. Any alert setup using the same domain email address works fine.

Any user with a different email domain does not get the alerts sent out.

What am I missing here?


You have to make sure that your SharePoint server added into the Exchange relay. So that they can process outside domain address. Check out the video shown below:


Further Ref: http://www.sharepointdiary.com/2012/02/sharepoint-alerts-not-working-troubleshooting-checklist.html#ixzz4AzXfHZHu

SP StackOverFlow Question: http://sharepoint.stackexchange.com/questions/183257/user-alerts-with-external-email-domains-not-working

Posted in Uncategorized | Leave a comment

Outlook 2013 search returns ‘We couldn’t find what you were looking for.’

Are you on Outlook 2013 and all of a sudden your search stopped displaying the results and showed the message as shown below?

Sorry we cudnt

Try the following steps:

  1. Go to the root of the computer and search for the file – mapiph.dll
  2. If you couldn’t find the file then repair the MS Office 2013 installation.
  3. After the repair, navigate to search options
  4. Select Index Options > Advanced > and Rebuild the index.
Posted in MS Office 2013, Uncategorized | Tagged | Leave a comment

How to version an existing SharePoint 2013 workflow

Below given are the steps to version an existing deployed SharePoint 2013 workflow using VS 2012. By doing this you will not loose the existing workflow instances.

  1. Navigate to AssemblyInfo.cs
    • change the AssemblyVersion and AssemblyFileVersion
  2. Navigate to workflow’s Elements.xml
    • Change the module url guid
    • Update WSDisplayName to indicate the new version
    • Update WSDescription to indicate the new version
    • In the Association Node,
      • Update WSDisplayName to indicate the new version
      • Update the WSGUID with the new guid
    • See Screen shot below highlighted in Yellow with the modification.workflow xml changes versioning
  3. Make the following changes in the Workflow feature
    • Change the feature Id guid
    • Change the feature name
  4. Navigate to Packages.package and in the manifest tab, change the following:
    • Change SolutionId guid
  5. Rebuild, publish the WSP and rename the .wsp file with a version details.
  6. Add the renamed solution to the farm and deploy it. Make sure to Activate the renamed feature either from the UI / via Stsadm command.
  7. Navigate to the Target list > Workflow Settings > ‘Remove, Block, or Restore a Workflow’ option and set the old workflow instance to ‘No New Instances’ as shown below:

wf settings

Hope this was helpful!! If you have any better efficient way to do this, I will love to hear it.

Posted in Uncategorized | Leave a comment

Cannot add view to Entity Data Model

Are you facing an issue with adding a view to an exiting EDMX data model?  Yes!

Here’s something that you can try:

Solution: Check if your View pulls at least one primary key from the associated tables.

Reference: MSDN Article

Posted in Uncategorized | Leave a comment

Stored procedure not getting updated in EDMX

If you are facing an issue with updating the edmx file with an existing Stored Procedure. Here is what you need to do:

Lets say the name of the stored procedure is MyStoredProc.

  1. Double click on the edmx file and right click inside the diagram and select ‘Model Browser‘.
  2. Navigate to the following locations and delete the MyStoredProc instances.
    • Model > Complex Types
    • Model > Function Imports
    • Model.Store > Stored Procedures / Functions
  3. Click the Save icon or Ctrl+S and save the edmx file.
  4. Now go ahead select ‘Model from Database’ and add the stored procedure again and the updated procedure  should be available.

Reference: http://stackoverflow.com/questions/18038405/stored-procedures-and-updating-edmx

Posted in Development, Entity Framework, Visual Studio 2012 | Tagged , , , | Leave a comment