Author Topic: To access EA component from web application, one instance should be available  (Read 3771 times)

monicashishodia

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
HI All

I have a web application written in C# which is trying to access EA repository and update some content in it. But when the application tries to connect to EA component, i receive COM error if there is no instance of EA is running on the web server hosting the web application.

In component services, i have updated 'Identity' properties for EA component and given a specific user rights to execute it. I have updated access permissions, launch and activation permissions, configuration permissions in 'Security' tab too to 'customize' and given execution rights to same user defined in 'Identity' tab.

As long as i have initiated an instance of EA, after logging into machine from the same specific user, i can access the repository component from web application. If no such scenario is running on web server i.e. no prior EA instance running under specific user, i will start getting COM error in web application.

Sparx version i have tried this with are 12 and 13.

Is there any better, more simplistic way to access this EA component from web application (without initializing the instance first)?

Appreciate the help.

Regards,
Monica

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 7970
  • Karma: +113/-20
    • View Profile
Using EA to service requests from multiple users is against the license agreement.

monicashishodia

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
We are using floating license so every instance is linked with a key which we already have access to.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 7970
  • Karma: +113/-20
    • View Profile
That still only uses one license. If your web server is serving requests from multiple users then you are breaking the license agreement.