I have been getting following error while publishing a WebApp.
"BAS-010063 An error (-56 code) has occurred. Your rights do not enable you to view its details."
Someone on other post recommended adding the browsing IP to white list.
how would i add an IP to white list when i have an on-premise environment.
Considering you're facing this while in the "Test" on the WebApp, it's likely not a whitelisting issue. Can you please go to the Properties on this WebApp and check the Access Control specified in the Properties?
Can you also try hitting this WebApp on the browser and see what is returns?
I was trying to recreate the error and was able to do so by changing allowDebug="false"
<!-- Security Zone Internet is Addded by Tarun Ghosh on 5/4/2019-->
<securityZone allowDebug="false" allowHTTP="true" allowSQLInjection="false" name="internet"
<subNetwork mask="0.0.0.0/24" name="allInternet"/>
Are you sure your internet facing security zone is having the allowDebug enabled?