"EViews is currently not licensed for use by a DCOM client."

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

btims
Posts: 4
Joined: Thu Jun 16, 2011 12:27 am

"EViews is currently not licensed for use by a DCOM client."

Postby btims » Wed Oct 10, 2012 1:45 am

Dear Eviews community,

In Matlab I invoke EViews to perform some procedures (I am using EViews 7 and Matlab R2012a). This worked perfectly some months ago but if I use the same code now I receive the following error:

"Error using Interface.6C6D8FC7_907E_44A8_BE67_E0CF963C2427/Run
Invoke Error, Dispatch Exception:
Source: EViews.Application.1.Run
Description: EViews is currently not licensed for use by a DCOM client. Please contact QMS to obtain
authorization."

Can you help me out? Thanks!

Best regards,
Ben Tims

EViews Steve
EViews Developer
Posts: 844
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: "EViews is currently not licensed for use by a DCOM clie

Postby EViews Steve » Wed Oct 10, 2012 7:54 am

Are you using 64bit MATLAB?

Whenever you use EViews COM Automation from a 64-bit application, Windows is forced to use the Distributed COM model to handle the 64-bit to 32-bit conversion (and vice-versa).

Because of this, EViews cannot tell the difference between a local 64-bit application trying to use EViews vs. you trying to share EViews across the network with other users via DCOM (which is normally not allowed by our licensing agreement).

You must use a 32-bit application to use our COM Automation interface.

If you are using 32-bit MATLAB installed on the same machine as EViews 7, make sure you call REGCOMPONENTS inside EViews to re-register all of its COM components locally.

Steve

btims
Posts: 4
Joined: Thu Jun 16, 2011 12:27 am

Re: "EViews is currently not licensed for use by a DCOM clie

Postby btims » Tue Oct 16, 2012 5:03 am

Dear Steve,

Thanks for your reply! Indeed, according to my colleagues at the IT-desk I am using a 64bit Matlab. I will ask them to install a 32bit version.

Beste regards,
Ben Tims

ben s
Posts: 3
Joined: Tue Jul 02, 2013 6:34 am

Re: "EViews is currently not licensed for use by a DCOM clie

Postby ben s » Tue Jul 02, 2013 7:15 am

HI Steve

Same issue here: i've just upgraded from a 32bit Matlab to 64bit Matlab (r2013a) and now can't use the EViews API.
Getting the same error, presumably for the same reason.

I'd rather not revert back to 32bit Matlab just to connect to EViews but do still want to use EViews.

Is there a way to "allow" DCOM even if both Matlab & EVIews are on the same machine?

many thanks in advance
Ben

EViews Steve
EViews Developer
Posts: 844
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: "EViews is currently not licensed for use by a DCOM clie

Postby EViews Steve » Tue Jul 02, 2013 8:30 am

As a convenience to our users, we decided to allow a single instance of EViews to run over DCOM to allow you to run in these types of situations. This change was made in the April 18, 2013 patch. If you just get the latest patch and install it, you should be able to use 1 instance of EViews over DCOM from your 64-bit MATLAB. This means you shouldn't have two different instances of EViews running when you run your MATLAB program because you're not guaranteed to connect to the first one (if you used the Existing option during GetApplication).

Steve

ben s
Posts: 3
Joined: Tue Jul 02, 2013 6:34 am

Re: "EViews is currently not licensed for use by a DCOM clie

Postby ben s » Tue Jul 02, 2013 8:38 am

Many thanks for your very prompt reply - I really appreciate it.

Im using EViews 7.1
Just to confirm that I've found the correct patch:
http://www.eviews.com/download/download.html
and this one: "2013-06-13 EViews 7.2 Update Patch (9.4 MB)"

many thanks again
Ben

EViews Steve
EViews Developer
Posts: 844
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: "EViews is currently not licensed for use by a DCOM clie

Postby EViews Steve » Tue Jul 02, 2013 8:48 am

Actually, you need to 7.2 Upgrade Installer to get to 7.2 -- the larger one.
http://eviewsupdates.s3.amazonaws.com/E ... ate_wz.exe

Steve

ben s
Posts: 3
Joined: Tue Jul 02, 2013 6:34 am

Re: "EViews is currently not licensed for use by a DCOM clie

Postby ben s » Tue Jul 02, 2013 8:49 am

outstanding, many thanks
Ben

EViews Steve
EViews Developer
Posts: 844
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: "EViews is currently not licensed for use by a DCOM clie

Postby EViews Steve » Tue Jul 02, 2013 9:57 am

By the way, EViews 8 comes with both 32-bit and 64-bit EXEs. If you had EViews 8 64-bit installed along with your MATLAB 64-bit, that would give you the best performance. DCOM does a lot of proxy/stub juggling in order to do the method calls and data transfers correctly (not to mention a lot more RAM usage as well).

Steve


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests