In the post: http://forums.eviews.com/viewtopic.php? ... 690#p55690
Steve wrote:
I have the follow problem with connecting to Eviews installed on another computer:Hi Patrice:
If I'm understanding you correctly, you want to write a .NET program that uses COM Automation to run EViews that is installed on another computer? If so, what you're asking for is Distributed COM Automation (DCOM) or Remote Automation and the quick answer to this is yes, with some important restrictions.
You need a install a local copy of the EViewsMgr.dll on each of your remote systems in order to get Distributed COM (DCOM) to work. EViews7.exe can be kept on the server and run via DCOM but it is restricted to a single instance at a time (regardless of which type of EViews license you have). This means that while two or more remote users can access EViews, they are restricted to using the same instance (and thus must be careful not to step on each other as they open workfiles, run calculations, etc). These restrictions were put in place to enforce our normal licensing agreements.
There are other special restrictions I should mention at this point when it comes to using EViews COM Automation:
1. EViews COM Automation cannot be used from a web server process.
2. EViews COM Automation is restricted to a single instance when being used by a local windows service (not a web service).
As a side note, if you have one of our Concurrent licenses, there is no restriction on how many clients can have EViews7 installed, just the number of actual running instances at the same time (based on your license). In this case, you can install EViews7 on each of your users machines and setup COM Automation to run locally on each without the single instance restriction (local COM Automation processes can run multiple instances of EViews without any issue, as long as you have enough concurrent licenses).
If you would like to get EViews DCOM working, I can send you detailed instructions on how to set it up. If you have concerns or any requests to make about our licensing, please let me know and I can forward it to our sales team.
Steve
In VBA Application I get following error message:
"Run-time error '70': Permission denied"
when I use the following code:
Set mgr = CreateObject("EViews.Manager", MyServer)
And I would like ask you also about second special restriction in using EViews COM Automation to a single instance:
Is it possible to remove this restriction? For example, if to buy corresponding license.
Sorry for my english!
Sincerely,
Dauren
