Hi Jim,
Welcome to our forums!
When you use IceGrid to manage a server (start, monitor, stop this server), IceGrid generates the Ice configuration file for this server from your description of this server.
For example:
Code:
<property name="Identity" value="AuroraServer" />
will become
Code:
Identity=AuroraServer
in the config file that IceGrid generates for this server.
When IceGrid launches the server, it passes --Ice.Config=<path to generated config file>, so it's critical that you give this argument to Ice (here the Ice.Application main method).
Code:
// when launched with IceGrid, args contains --Ice.Config=...
int status = app.main("Server", args);
You don't need to pass your own config file or worry about finding the location of the file generated by IceGrid.
I hope this is clearer now!
Best regards,
Bernard