User Access Control problems when adding v5 Chart .dll

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

jhyap
Posts: 28
Joined: Tue Apr 16, 2013 12:07 am

User Access Control problems when adding v5 Chart .dll

Post by jhyap » Tue Apr 16, 2013 3:04 am

Previously, in old client project A, we are developing our winforms application using lightChart v4.4.

Now, there is another new client project B, and we hope that this project B can run at lightChart v5.1 while the old project A still keep running at lightChart v4.4

The project B consists of several components, including lightChart data visualization, other winforms user control (push button, textbox, etc...), connection to TCP/IP server and etc...

The project B will be handle by colleagues: X, Y, Z.

colleague-X will handle lightChart component, whereas colleague-Y and colleague-Z will handle other components.

Problem now:

Colleague-X installed the latest lightChart v5.1, and finished his task. All his lightChart component are running at the latest version v5.1.2.

Colleague-X pass his source code to colleague-Y so that Y can add X source code (lightChart component) into his code.

But, the Y-PC now is installed with old lightChart v4.4, and since we hope to use lightChart v5.1 on new project B while keeping the old project A running at old version, we tried to add the v5.1 .dll file (Arction.Licensing.dll, Arction.LightningChartUltimate.dll and etc) into the reference (VS2010 -> Solution Explorer -> Add Reference) instead of re-installing the new lightChart v5.1.

By doing so, Y-PC received a prompt mgs: Registry enumeration fail. Disable User Access Control (UAC) from Windows to prevent this error Or execute the application with Administrator rights.

Any recommendation on the above matter?

:firing: JH
Attachments
Error mgs when try to add v5 .dll file
Error mgs when try to add v5 .dll file
Arc_Msg.png (15.44 KiB) Viewed 13855 times

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: User Access Control problems when adding v5 Chart .dll

Post by ArctionPasi » Tue Apr 16, 2013 6:00 am

The registry enumeration fail comes when Visual Studio can't access Windows registry to seek the license keys of Arction components.

Solve it by running Visual Studio as Administrator. Right-click on your Visual Studio short-cut, and select "Run as administrator". Or configure permanently to run as Administrator, by right-clicking Visual Studio short-cut, selecting "Short-cut" page, Advanced, and select "Run as administrator".
LightningChart Support Team, PT

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: User Access Control problems when adding v5 Chart .dll

Post by ArctionPasi » Tue Apr 16, 2013 6:06 am

Or you can disable windows User Access Control in Control Panel / Users...
- Win Vista: / Turn User Account Control on or off.
- Win 7: Change User Account Control Settings
LightningChart Support Team, PT

jhyap
Posts: 28
Joined: Tue Apr 16, 2013 12:07 am

Re: User Access Control problems when adding v5 Chart .dll

Post by jhyap » Tue Apr 16, 2013 7:59 am

Best solution ever

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: User Access Control problems when adding v5 Chart .dll

Post by ArctionPasi » Mon Jun 10, 2013 3:52 pm

We've removed the need for admin rights in v.5.1.6, so the components will work just fine with regular Visual Studio rights.
LightningChart Support Team, PT