Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Reply To: Periodic License Error when scripting the creation of Section Reports in the Report Designer

$
0
0

In our application we use SectionReports with many subreports (up to 10), which we create in ReportStart event with

StaproReport RPT = (StaproReport)Activator.CreateInstance(typSBR, new object[] { objDB });

(StaproReport is class derrived from SectionReport). After upgrade to AR7 we get sometimes error

Exception has been thrown by the target of an invocation.System.ComponentModel.Win32Exception (0×80004005): The handle is invalid
at #21k.#61k.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
at GrapeCity.ActiveReports.SectionReport.#U.#U7f.#SUn(Boolean access)
at #ZwA.#14F.#PFn(CodeAccessPermission permission, Action`1 action)
at GrapeCity.ActiveReports.SectionReport.#E5()
at GrapeCity.ActiveReports.SectionReport..ctor()
at Stapro.WinLis.Tisk.StaproReport..ctor(IDAL objDB)

This is the same error as in the first post in this thread. We do not use licence in licx file, but Licenses.dll generated with ApplicationLicenseGenerator.exe.
We would like to see attachment DesignerSubreport.rpx in your response, but it is now unavailable. Please, could you repair the link or do you have any other idea?
Thank you very much.


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>