Runtime Issue db connection lost

Hi

I have an application, which has number of queries in the start up. I have built a runtime of it.

When I run the runtime the database connection is getting lost ( the icon in the tray vanishes ) and the solution stands still within a few seconds after the start up.

Clearly the number of queries is being a problem it seems.

Any ideas will be appreciated.

Thanks in advance.