Monthly Archives: February 2018

SSIS Web Service Task Client found response content type of ‘text/plain; charset=utf-8’, but expected ‘text/xml’

This blog post shows you one of the ways to resolve the error “The Web Service threw an error during method execution. The error is: Client found response content type of ‘text/plain; charset=utf-8’, but expected ‘text/xml’.” when you are calling … Continue reading

Posted in Uncategorized | Leave a comment

SSIS Script Task System.RuntimeMethodHandle.InvokeMethod

This blog post shows one of the possibilities to resolve SSIS error “at System.RuntimeMethodHandle.InvokeMethod” when using Script Task. I have the below code in my SSIS Script Task: ConnectionManager cm; cm = Dts.Connections[“uCustoms”]; SqlConnection sqlConn; sqlConn = (SqlConnection)cm.AcquireConnection(Dts.Transaction); cm.ReleaseConnection(sqlConn); This … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet | Tagged , , | Leave a comment

How to unlock your USB ports

This blog shows you how to unlock your USB port if it is locked by your group policy. First, you need to disable the group policy following this link: https://chanmingman.wordpress.com/2015/07/22/disable-group-policy/ To unlock USB you must have local administrator privilege. Run … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet | Tagged , , | Leave a comment

Update XML Node value using C#

This blog show you the sample code to update the XML file content. Let say we have the following XML file. <?xml version=”1.0″ encoding=”utf-8″ ?> <Vessel>     <IMO>392060</IMO>     <SCN>1234567890123</SCN>     <VesselId>6535</VesselId> </Vessel> To get the XML … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet | Tagged , , , | Leave a comment

SQL Server Database Mail not sending out email when your job failed

This blog is to resolve Database Mail not sending out email when your job is failed. There is one of the possibilities as follow. In Object Explorer, expand a SQL Server instance. Right-click SQL Server Agent, and then click Properties. Click Alert System. … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet | Tagged , , | Leave a comment

The Future Computed: Artificial Intelligence and its role in society free ebook

This is an ebook that is quite easy to read, 151 pages. https://blogs.microsoft.com/blog/2018/01/17/future-computed-artificial-intelligence-role-society/?MC=MachLearn&MC=Vstudio&MC=R&MC=WebDev&MC=MSAzure The Future Computed: Artificial Intelligence and its role in society. The two of us have written the foreword for the book, and our teams collaborated to write … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet | Tagged , | Leave a comment