Resolve Git error: src refspec master does not match any

If you often come across this error it is likely you need to add additional step when you push existing source code to new repository.

Regular steps:

PS C:\work\projects\repos>git remote add origin <repo>

PS C:\work\projects\repos>git push -u origin master

if you see an error during git push, use following steps –

PS C:\work\projects\repos>git remote add origin <repo>

PS C:\work\projects\repos>git add -- all

PS C:\work\projects\repos>git commit -m "initial master"

PS C:\work\projects\repos>git push -u origin master



Serve Nodejs requests through IIS


  • Windows Server 2016 x64
  • IIS 10.0

Confirm IIS is up and running using http://localhost/

iis running

Tools/libraries you need


  • node is installed using the version check
  • node-check
  • iisnode is registered in your IIS module
  • iisnode-module-iis

Register sample files from iisnode under Default Website in IIS.


Once it is done, verify samples are accessible via browser http://localhost/node.


Please note – if sample node sites fail to run at first, add IUSR and Network Service users to allow access sample files folder.

network service



MEAN stack

Developing on MEAN has always been a fun. Especially middleware in express.js. the amount of knolwedge required is limited and pretty easy to go if you are experienced in web server techs. 

I am finishing my complex website and a eCommerce platform. The objective is to build customer centric website driven by backend through configurability and dynamic data.

Technology stack 

  • Node.js
  • Express
  • MongoDB
  • APIs
  • Html5/css3

AngularJs Header manipulation

XMLHttpRequest cannot load {/api/call}. Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response.

TypeError: Cannot convert object to primitive value

if you are using Angular.js 1.4.0 or later, use header : to manipulate rather than transformRequest:

var req = {
method: ‘GET’,
url: ‘api/call’.format(password, username),
headers: {
‘Authorization’: undefined

.success(function(response) {
.error(function(err) {

Missing type map configuration or unsupported mapping. Mapping types: IDataReader -> List`1 System.Data.IDataReader ->

You will often find this error when converting IDataReader to POCO. There are 2 resolutions here –

if you are using Automapper 4.0 or above, check MSBuild probably have deleted Automapper.Net4.dll in bin folder, if it is, restore it.

Second, IDataReader is unsupported from Autoamapper. you can use below 4.0 (or 3.1.1), which supports IDataReade, unless you are not using specific version features.

Invoke or Run IIS Express x64 with VS2012.

For some reasons, you may have to run IIS Express x64 from VS2012. For later versions, it is automatically instantiated, however in case of VS2012, it isn’t. And there is no way Microsoft provides any patch or upgrade.

Although there is untestable hack or trick which did work for me.

You have to modify registry to invoke or run IIS Express x64.

Create batch file (*.bat) and put below code.

reg add HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\WebProjects /v Use64BitIISExpress /t REG_DWORD /d 1

VB6 after long time…

Yeah… Even its a surprise, VB6 still rules the world and rules my life.. I cannot say No to VB6 jobs – I don’t know why and thats why I got engaged with one of the VB6 project which requires some fixes and I love to take this opportunity.

All though – world has changed from XP to Win 7 to Win 8 and now Win 10, VB6 application and development with support still rules in some part of the world. It has been days that I’ve been trying to port VB6 environment on Win7 64 bit, but some or the other case it failed. Surprisingly, it loaded on Win10 without much issues and after some tweaks. However, it was too difficult to load it on Win7 x64 bit … Not sure why. Nevertheless, managed to load it on machine.

If you have some issue, just share it across I may help.

Create a free website or blog at

Up ↑

%d bloggers like this: