Resolving Server Not Found Error in JavaScript Embedding
When embedding the Bold BI dashboard, one may encounter the issue of “Server not found” in the embedding application. In such cases, it is imperative to verify the Bold BI server details provided within the embedded application. Conversely, when utilizing the Bold BI application on a virtual machine (VM) with “localhost” as the domain, an error of ‘server not found’ may arise. This particular issue commonly occurs when attempting to embed the dashboard using a ‘localhost’ URL and accessing the site from outside the VM.
Solution
To resolve this issue, you need to add the public domain name binding in Internet Information Services (IIS) and change the domain name in the Bold BI Server.
Follow these steps:
- Add the public domain name binding in IIS.
- Change the domain name in Bold BI Server.
For detailed instructions on how to perform these steps, refer to the following help link: How to Change Binding in Bold BI Embedded
In addition to the above steps, it is recommended to update the Domain name in the embedded application as well.
By following these steps, you should be able to resolve the ‘server not found’ error when embedding the dashboard in your embedded application.