cancel
Showing results for 
Search instead for 
Did you mean: 

Error on creating a MegaApplication new instance

Solved
Highlighted
Contributor

Error on creating a MegaApplication new instance

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
MEGA

Re: Error on creating a MegaApplication new instance

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
Contributor

Re: Error on creating a MegaApplication new instance

Thanks Jerome, several days with no errors.

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