Feb 25, 2015

Add Scrip Map error in IIS 7


The specified module required by this handler is not in the modules list. If you are adding a script map handler mapping, the IsapiModule or the CgiModule must be in the modules list.



I had this error message when configuring BTSHTTPReceive.dll into Handler Mappings  of IIS 7 in my development machine.


Windows 7 64 bit:

  1. Go to the “Control Pannel” –> “Programs and Features”
  2. Click on “Turn Windows features on or off”
  3. Make sure “Application Development Features” are enabled.


Mar 26, 2014

WSO2 Con 2014

Picture Courtesy: http://asia14.wso2con.com/ 

I’ve participated to WSO2 CON 2014 conference, 2nd time, held in Colombo. The theme for the conference is “Connected Business”. This is the current trend in the industry.

Interesting 5 keynotes by 5 experts, took my attention.

Everybody will be there in the Cloud after next 5 years. During this cloud transition period, businesses will evaluates the technologies. Being a open source company WSO2 provides complete middleware product stack to achieve “Connected Business”.

How to Display Loading Image with AJAX-Auto Complete

After long time I had a chance to update my Blog.

In this post I’m going to show you how to display data fetching progress with AJAX Auto Complete extender.


This is very simple.

  1. Add ASP Text box to the page (ID=TextBox1)
  2. Add AJAX AutoCompleteExtender
  3. Insert following javascript code to the web page
    <script type="text/javascript">
        function ShowImage() {
                 .style.backgroundImage = 'url(images/loader.gif)';
                               .style.backgroundRepeat = 'no-repeat';
                               .style.backgroundPosition = 'right';
        function HideImage() {
                                 .style.backgroundImage = 'none';

  4. Set OnClientPopulating=ShowImage and OnClientPopulated=HideImage events of AutoCompleteExtender. Complete markup as below.

    <asp:AutoCompleteExtender ID="TextBox1_AutoCompleteExtender" runat="server"  
        DelimiterCharacters="" Enabled="True" ServicePath="WebService1.asmx" TargetControlID="TextBox1"
        ServiceMethod="GetCompletionList" MinimumPrefixLength="2"
        OnClientPopulating="ShowImage" OnClientPopulated="HideImage"  />

Jun 19, 2013

HTTPTimeOutException in ASP.net application

ASP.net application will throw HttpTimeOutException, if it’s request executing more than 100 seconds.

If you need execution time more than that, set following setting in web.config file.

<!-- in seconds-->
<httpRuntime executionTimeout="300"/>

Feb 11, 2013

Convert a Double to String : M3

Since M3 java code is similar to RPG and use MvxString rather than String, here it is the code to convert/format numeric value to alpha value in M3.

   1:  this.PXNUM = dSUM;
   2:  this.PXALPH.clear();
   4:  WQT[tempIdx].moveRight(this.PXALPH);

In line number:

1. assign double value which is to be converted.
2. clear any previous value of PXALPH.
3. actual conversion . The SRCCOMNUM is an object of cSRCOMNUM class declared in mvx.app.util
4. gets converted alphanumeric value.

Let, dSUM= 38.05580 and if we want

  • to display dSUM with 2 decimal:

   1:  this.PXNUM = dSUM; 
   2:  this.PXALPH.clear();   
   3:  this.PXDCCD = 2; // setting number of decimals.
   5:  WQT[tempIdx].moveRight(this.PXALPH);

Output> 38.05

  • to display negative value: Here we have a option, to which character to be used for negative representations. (i.e. –38.05, (38.55), 38.05- etc)

   1:  this.PXNUM = dSUM; 
   2:  this.PXALPH.clear();   
   3:  this.PXDCCD = 2; 
   4:  SRCOMNUM.PXPNVB='('; // Left character if negative
   5:  SRCOMNUM.PXPNVA=')'; // Right character if negative
   7:  WQT[tempIdx].moveRight(this.PXALPH);

Output> (38.05)

Jan 24, 2013

Move to Movex (M3)

From 2012-12-10, I’ve engaged with M3 , development. Now, I’m playing Senior Technical Lead role.  But I’m still interesting .net development which is my core strength.

What is M3

It is an ERP (Enterprise Resource Planning) solution for, specially, the fashion industry known as Movex. Originally it was developed by Intentia, a Sweden company and somewhere around 2008 it was acquired by Lawson. In late 2012, Infor1 has acquired M3.


To discuss about the technology, it will take pages. In this post, I’m only going to talks about briefly.

  1. M3BE (M3 Business Engine) is the core component in M3. It is Java. It’s encapsulates ERP functionalities and Data Access Layer. Main data base is DB2, but new versions supports multiple data sources, including MS SQL server.
  2. ISO (Infor Smart Office)- is the front end for the users and client based application. It is WPF  (Microsoft Presentation Foundation) client application.

ISOFigure 1: Infor Smart Office

Mar 22, 2012

Enable PING in Windows 2008 R2

In MS Windows 2008R2 ping command dose not working unless you configure the inbound rule in Windows Firewall.


  1. “Start” –> “Administrative Tools” –> “Windows Firewall with Advanced Security”
  2. “Inbound Rules”-> “New Rule”
  3. image
  4. image
  5. Select “Allow the connection” –> [Finish].