How to set PublicWebBaseUrl in configuration key while Publish Extension in MS Dynamics 365 Business Central
Hi Guys,
In this blog we will see how we can fix the below mentioned error:
Error: Could not open the specified startup page. Please check that the server configuration key PublicWebBaseUrl has been properly set.
While Publishing the extension via VS Code after installation of MS Dynamics 365 Business Central, I got error to set PublicWebBaseUrl as shown below.
You can solve this as follows:
Open Microsoft Dynamics 365 Business Central Administration Panel and Go to service configured which is BC140.
Then in Client Services Fast tab - Set the below mentioned property as :
Syntax - http[s]://[hostname]:[port]/[webserverinstance]
Web Client Base Url - http://localhost:8080/BC140/
After setting this property save and Restart the service.
Then Restart Visual Studio Code and Publish the app again.
This will resolve your error.
Stay tuned for next blog😉
Nice
ReplyDeleteThankyou😊
Delete