CWBSY1040 – Windows logon credentials are unavailable

This short blog shows you how to resolve the error “CWBSY1040 – Windows logon credentials are unavailable” when configuring the ODBC Driver for Client Access ODBC Driver (32 bit).

The dialog pop up when you configure the ODBC Driver for Client Access ODBC Driver (32 bit).


What you need to do is open iSeries Navigator (cwbunnav.exe) then input the credential there.



Posted in .Net, Community | Tagged , , , , , | Leave a comment

Export Samsung Android Phone contacts to Nokia Win Phone

This short article is showing you how to transfer Samsung Android Phone contacts to Nokia Win Phone.

1. Export your Samsung contact to csv file using /Kies software provided by Samsung.



2. To obtain a Contact Template csv file for importing to Windows Phone. (You need to have Outlook installed).

3. Export the Contact to get the template. Using the Import/ Export under File tab.


4. Once you get the csv file then you can delete all your contacts and copy and paste the contacts from the csv you export from Samsung Phone.

5. Go to your Outlook contact and Import contacts. (You need to have a account or previously or

6. Choose Outlook 2010, 2013, or 2016.



7. Select the csv file and click Upload.




8. Final Step, go to your Windows Phone login to the same account. Sync the contacts.

You can download the template from!AuZYHSwsevw1boqcHaiVv8fi2yQ to skip the Outlook contact export. I create this template using Outlook 2016.

Posted in .Net, Community, Computers and Internet, Microsoft Office, Office 365 | Tagged , , , , , , | Leave a comment

Call Web Api from Javascript

This short article shows you the missing part of the complete sample of Getting Started with ASP.NET Web API 2.

When I was searching for how to call Web API on Google the below link was returned.

When I look the page I was kind of happy that I can download the Completed Project by clicking the Download Completed Project button.


It brought me to the following link when I click on the Download Completed Project.

I downloaded the project and everything is good except. You need to continue from the section Calling the Web API with Javascript and jQuery in the tutorial link above.

Create the index.html then paste in the code. The sample is now completed.

<!DOCTYPE html>

<html xmlns=””&gt;


    <title>Product App</title>





        <h2>All Products</h2>

        <ul id=”products” />



        <h2>Search by ID</h2>

        <input type=”text” id=”prodId” size=”5″ />

        <input type=”button” value=”Search” onclick=”find(); />

        <p id=”product” />



    <script src=””></script>


    var uri = ‘api/products’;


    $(document).ready(function () {

      // Send an AJAX request


          .done(function (data) {

            // On success, ‘data’ contains a list of products.

            $.each(data, function (key, item) {

              // Add a list item for the product.

              $(‘<li>’, { text: formatItem(item) }).appendTo($(‘#products’));





    function formatItem(item) {

      return item.Name + ‘: $’ + item.Price;



    function find() {

      var id = $(‘#prodId’).val();

      $.getJSON(uri + ‘/’ + id)

          .done(function (data) {



          .fail(function (jqXHR, textStatus, err) {

            $(‘#product’).text(‘Error: ‘ + err);






Posted in Uncategorized | Tagged , , , , , | Leave a comment

CDPUserSvc Failed to Read Description. Error Code: 15100

This short article shows you how to disable the CDPUserSvc_xxxxxx that is giving problem in the Windows 10 1607. You won’t be able to disable it using Services.msc.

Once you upgraded to Windows 10 Build 1607 most likely you will see the below Services with the description with error “Failed to Read Description. Error Code: 15100“.


The last 6 characters in this service is different from PC to PC for example, CDPUserSvc_4b2e3f4 .

If you are trying to disable this service then you will get the The parameter is incorrect error.


In order to disable it you need to use Regedit. Go to the following Key and set the Start value to 4 instead of 2.




Posted in .Net, Community, Operating System | Tagged , , , , , , | Leave a comment

Create Subfolder in SharePoint Document Library using CSOM

This short article and code snippet shows you how to create a subfolder in SharePoint Document Library using CSOM.

In the code below, this first folder you are going to add is folder name TopFolder.

var newFolder = folders.Add(name);

You the utilize the newFolder object to add the subfolder, the subfolder name in this example is FolderInsideTopFolder.



Before that you must call ExecuteQuery or else SharePoint is going to return you context not initialize error.


You can copy and paste the code below to any method. Of course your need to point to your own SharePoint website. 

string siteUrl =;;


ClientContext clientContext = new ClientContext(siteUrl);

SecureString securePassword = Login.GetPassword();


clientContext.Credentials = new SharePointOnlineCredentials(“”, securePassword);


Web rootWeb = clientContext.Web;


//Get List

var query = clientContext.LoadQuery(rootWeb.Lists.Where(p => p.Title == @”Documents”));



List list = query.FirstOrDefault();

string[] namesArray = new string[] { @”TopFolder”};


foreach (string name in namesArray)


    //Add Folder

    var folders = list.RootFolder.Folders;




    var newFolder = folders.Add(name);











//Execute request


You can also download a single solution from!APSVW40LeSD8gjk.

Posted in .Net, Community, Office 365, sharepoint | Tagged , , , , | Leave a comment

The web template requires that certain feature be installed ReviewPublishingSPD Feature

This short article shows you one of the possible ways to resolve the Office 365 error “The web template requires that certain feature be installed…”

When I was saving the Site as Template from one Office 365 SharePoint site and Activate on another then I received the following message.

The web template requires that certain feature be installed, activated, and licensed. The following problems are blocking application of the template

ReviewPublishingSPD Feature

Site collection


Not activated


I could only do a wild guess because the site that I would like to deploy the template I was not the Site Collection Administrator (that’s suck).

When I disable the Publishing Approval Workflow and Save the Site as Template again and Upload to my destination site, it works.


Posted in .Net, Community, Office 365, sharepoint | Tagged , , , , | Leave a comment

Microsoft SQL Server Management Studio for SQL Server 2016

This short article is to let you know SQL Server Management Studio is no longer part of the SQL Server installation in SQL Server 2016 and it is also not part of the ISO.

When you go to installation page like the one below you realized there is a “Install SQL Server Management Tools”.


Of course, I do have any SQL Server Management Server upon completion of my SQL Server 2016 installation.



I would then click the “Install SQL Server Management Tools” in the installation page and thought it will just launch the installation of SQL Server Management Tool. But it didn’t, when it does was, it brought me to an URL to download SSMS-Setup-ENU.exe. The exe is around 800MB. To a developing country, this size is not small.

When you run the SSMS-Setup-ENU.exe, you realized they have a new installation interface.


Finally I got the SQL Server Management Studio.  


The SQL Server 2016 Management Studio is still look pretty much the same as.


Posted in .Net, Community, Servers | Tagged , , , , | Leave a comment