fix build on azure, fix error setting in web config