Wednesday, June 19, 2019

Read the Response message when a web request throws “500 Internal Server Error”


When I call a SOAP request from Postman I got the response as “500 Internal Server Error”. I had to call the same api from C# and read the response and had to pass it from api to front end.

Here is the screenshot of the response.


                string soapResult = string.Empty;
                    using (WebResponse webResponse = webRequest.EndGetResponse(asyncResult))
                        using (StreamReader rd = new StreamReader(webResponse.GetResponseStream()))
                            soapResult = rd.ReadToEnd();
                catch (WebException wex)
                    soapResult = new StreamReader(wex.Response.GetResponseStream())
                return soapResult;

Friday, May 10, 2019

Unable to open dtproj projects in Visual Studio 2017

I was trying to open a sln file which contains “.dtproj”. Unfortunately the project is marked as incompatible and the migration report displayed as below.


  • Install the latest version of SSDT
  • Open Visual Studio 2017: Go to: Tools > Extensions And Updates > Search: Microsoft Integration Services Projects > Click: Enable
  • Restart Visual Studio
  • In SSIS Project On Solution: Right Click > Reload Project

Wednesday, May 1, 2019

Tuesday, April 16, 2019

Customized SharePoint Online Training for Dilmah Tea

Conducted and completed 4 days SharePoint Online training for Dilmah Tea from 27th of March to 2nd of April.
Thanks for the opportunity and great working with you guys

Sunday, March 10, 2019

Date and time Expression in MS Flow

          utcnow('dddd')        Tuesday 
         utcnow('mmmm')        March

Sunday, February 24, 2019

Your dev environment is running NodeJS version v10.15.1 which does not meet the requirements for running this tool.


“Your dev environment is running NodeJS version v10.15.1 which does not meet the requirements for running this tool. This tool requires a version of NodeJS that matches >=8.9.4 <9.0.0”

when I try to do a gulp serve during my SPFx extension development.


Please follow the below url and additionally you may need to run

npm rebuild node-sass

as well.

Saturday, January 19, 2019

Intensive IT Training Programme - University of Colombo

Was a resource person for “Intensive IT Training Programme for the Academic Year 2019 for the New entrance of the Faculty of Arts, University of Colombo.
Topic: Be More Productive with Microsoft Office 365
You can find the slide and some of the images from the event.