Search code examples
javonet

Why am i getting activation error for Javonet enterprise license in brand new PC


We have Javonet enterprise license and have been using it for a software application for more than 6 months. When i try to run the application with the same license in brand new PC, it gives the error message: com.javonet.JavonetException: Unknown activation error: The remote name could not be resolved: 'ads.sdncenter.pl'. But when i turn on Wifi it works. How do i make the license work without the wifi or internet. ?


Solution

  • It depends on activation type you are using. For enterprise license for internal, development, test and build servers you can use standard runtime activation which requires internet connection and generates license on demand for each new machine where it is executed.

    For production usage you can switch to compile time activation where you use Project Activation Tool to generate license file bound to your .NET libraries. This file included in your application will let you run Javonet anywhere without internet connection.

    You can read more here: https://www.javonet.com/java-devs/guides/runtime-vs-offline-vs-compile-time-activation/

    In your case it looks you try to use runtime activation without internet connection and therefore receive error that activation server cannot be reached.

    To use your software without internet connection switch to compile time activation as described here: https://www.javonet.com/java-devs/guides/project-activation-tool/