cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error on creating a MegaApplication new instance

agiovannetti
Super Contributor

I am recursively running a VB script like this:

  
On Error GoTo ErrorFound Set MEGA = New MegaApplication

 

 on the same server, with the same user and same license but,

even if no other mgwmapp.exe process is running, sometimes we get an error.

Which could be the cause? 

 

2 Replies

Thanks Jerome, several days with no errors.

I excluded mgwmapp.exe process in Data Execution Prevention and everything seems working fine.

jhorber
MEGA
MEGA

Hello agiovannetti

 

Difficult to answer precisely

 

Set XX = New MegaApplication creates a new instance of the MEGA application

This is quite a complex step.

 

Leads to investiguate:

  • A process mgwmapp.exe is already running (MEGA level)
  • The previous process mgwmapp.exe needs more this to shutdown completely
  • When running the new process mgwmapp.exe, an issue with the MEGA licence occurs (MEGA level)
  • When running the new process mgwmapp.exe, a conflict is met (Data execution prevention...)
  • Running the new process mgwmapp.exe is too slow and timeout occurs (MS Windows level)...

 

Jerome