with Version 3.61.0.7847 I can set Runtime license without problem
with v4.0.30319 the message “Der Typeninitialisierer für “” hat eine Ausnahme verursacht.” appear
Has anybody a solution?
- Frank Resch asked 7 years ago
- You must login to post comments
https://www.dropbox.com/s/8fh1cl5s3967m71/AVSCI_Chart_not%20ok.zip?dl=0
https://www.dropbox.com/s/7rqjnmp9hvfni6e/AVSCI_Chart_ok.zip?dl=0
- Frank Resch answered 7 years ago
- Hi Frank. Thank you, I’m investigating now. First issue I found is your project has an error in it. Open the project properties, you will see “An error occurred trying to load the application definition file for this project. The file ‘C:\Users\Andrew\Downloads\AVSCI_Chart_not ok\AVSCI_Chart\VB\AVSCI_Chart\AVSCI_Chart\Application.xaml’ could not be parsed. Please edit the file in the XAML editor to fix the error. Could not find the expected root element “Application” in the application definition file.”
- I’m not a VB.NET programmer so I can’t really tell how to fix this, but if you make the compile errors go away (some problem with mismatch of BaseApplication class name and Application) it might work.
- Hi Andrew In Application.xaml first line just change from <Application x:Class="Application" to <b:BaseApplication x:Class="Application" then the last line automatically changed from to After this the code compiled without error, but when I start the Application the License Error appeard.
- You must login to post comments
Andrew, Frank,
Not sure if this will be applicable to the problems that Frank is experiencing, but I managed to solve my issue with the 4.0.3 install.
In my case, I rolled back Windows to the Restore Point prior to installing v4.0.1 and then just installed 4.0.3 and tried again.
This time everything worked, so I’m now up and running.
- mwidger answered 7 years ago
- You must login to post comments
Hi Andrew,
Now it works!
The reason of all trouble was the function “MyResolveEventHandler”
We need this function with separate code in internal Company dlls and it seems that SciChart also work with this function.
I deactivated our internal function and now it works.
from MSDN:
“Beginning with the .NET Framework 4, the System.ResolveEventHandler event is raised for all assemblies, including resource assemblies.In earlier versions, the event was not raised for resource assemblies.If the operating system is localized, the handler might be called multiple times: once for each culture in the fallback chain.”
- Frank Resch answered 7 years ago
- Ah-hah! So that was the problem. I wasn’t aware you had used it. I just knew that the underlying licensing mechanism works (not problematic) so there must be something wrong. I’m really glad you found the solution and I hope the issue is now resolved for you
- You must login to post comments
Hi Frank,
If you are using v4.0.0 of sciChart, I would recommend updating.
v4.0.1 fixed several issues with licensing and v4.0.2 fixes several crash and dependency issues with SciChart 3D.
Let me know if this helps,
Best regards,
Andrew
- Andrew Burnett-Thompson answered 7 years ago
- You must login to post comments
Hi Andrew,
I deinstalled V4.0.0 as recommended. Now I have v4.0.2.8045 getting by NuGet.
The license problem is the same.
- Frank Resch answered 7 years ago
- Hi Frank, Can you send us a Visual Studio Solution which reproduces the problem to support @ SciChart.com and we will investigate
- Hi Andrew, Is there any progress on fixing this as I to have the same problem as Frank. I have tried all the v4 releases (0.1, 0.2 and 0.3), but still have the same issue. When I enter the SciChartSurface.SetRuntimeLicenseKey(); command ready to paste in the runtime license string, I receive an intellisense error that the displays. Invalid Token ‘(‘ in class, struct or interface member declaration. I am trying to add this to my App.xaml.cs file as per the recommendation on the website. A speedy resolution is required as we are looking to deploy our app within the next few weeks. If this does not work, is it possible to run v3.x with a license for v4? Thanks,
- There is zero progress, as no one has given us code or steps to reproduce! As soon as someone does this, we will investigate.
- You must login to post comments
yesterday morning I send two Versions to Support@SciChart.com; one works, one not to support and got the ticket PM-778-60810.
The main differenz is that in one case I made a separate template and so I have “b:BaseApplication” instead of “Application” in the Application.xaml.
With v3.6 the procedure works, with v4.0.2 not
- Frank Resch answered 7 years ago
- Hi Frank, I replied yesterday with “Unfortunately both your attachments say ‘Quaranteened attachment’. Can you upload to dropbox or similar and send a link? ” Please can you check your spam folder for our emails?
- You must login to post comments
Please login first to submit.