Fixed issue related to iis web app in api