Page 1 of 1

EViews 7.1 COM/DCOM and windows service

Posted: Fri Nov 19, 2010 8:05 am
by patrice
Hello,

I have try to make a windows service which use Eviews to make calculation.

My code works very well, but if I launch many client at the same time (using this windows service), I have this message:
‘EViews is not licensed to allow more than one instance to run as a windows service. Please contact QMS to obtain authorization’

My question, is : is-there a particular license to run more than one instance in a windows service ? (I’m a bit confused, I thought that it was impossible, but the message seems to say ‘it’s possible with certain license’ ('Please contact QMS to obtain authorization'))

My version of EViews 7.1 (with patch of 11 novembre 2010)
Here my code:

Code: Select all

float[] data = {1, 2, 3, 4, 5}; object[,] eviewsResult = null; EViews.Manager mgr = null; EViews.Application app = null; mgr = new EViews.Manager(); app = mgr.GetApplication(EViews.CreateType.ExistingOrNew); app.Hide(); app.Run("create u " + data.Length); app.PutSeries("x", data); app.Run("series y=@mean(x)"); eviewsResult = (object[,])app.Get(outputSerieName); app.Run("exit"); app = null; mgr = null; GC.Collect();

Re: EViews 7.1 COM/DCOM and windows service

Posted: Fri Nov 19, 2010 11:15 am
by EViews Steve
Hi patrice:

I just replied to your email. Please check that for my response.

Steve