Error Investigation

Posted by: kevin on 18 February 2018, 10:55 pm EST

    • Post Options:
    • Link

    Posted 18 February 2018, 10:55 pm EST

    Hey Guys,

    I’m hoping someone can verify a situation for me. Our application started to give this error https://ibb.co/mx256S and our developers blamed it on ActiveReports. Ultimately they switched to ActiveReports v12 DLLs from v7 “without changing a single line of code” and it started working. Does this make sense to anyone?

    Thanks,

    -Kevin

  • Posted 19 February 2018, 12:19 am EST

    Does it make sense that if Visual Studio was unregistered during a build, that would invalidate the ActiveReports embedded license?

  • Posted 19 February 2018, 2:33 am EST

    Hi Kevin,

    The license error occurs if the entry for the Viewer is missing from the Licenses.licx file. Perhaps, when you upgraded your project to v12 from v7, the entry must’ve been added. Although, un-registering Visual Studio shouldn’t affect ActiveReports license, however as best practice, you should deactivate ActiveReports license and re-install it and then re-activate the license once Visual Studio installation is complete. This will integrate ActiveReports with Visual Studio.

  • Posted 20 February 2018, 12:11 am EST

    They ended up making a satellite DLL on v7 which worked on one system. This failed to work on another system but I suspect that the DLL files were locked by Windows as they were downloaded from the Internet so it can be ruled out.

    Afterwards they updated to v12 and embedded the license back into the project which worked. We were told this took a lot of effort.

    Still trying to understand how the original embedded license on v7 stopped working. The only speculation is one of the developers made a change in their Visual Studio which bumped out the registered license. He’s known for not necessarily following best practices.

    Thanks

  • Posted 20 February 2018, 12:19 am EST

    What happens if you update Visual Studio to 2017 even though ActiveReports 7 is embedded in your project?

  • Posted 20 February 2018, 2:31 am EST

    I’m glad to know that the license error is gone and the project is working fine again.

    ActiveReports 7 was released way before VS 2017 was released, so ActiveReports 7 can’t get integrated into VS2017 i.e you won’t be able to add or design reports. You can however, open a project which uses ActiveReports 7 in VS2017 and write code like you would normally. Support for VS2017 was added in AR11 SP2.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels