I checked the FastCGIAgent and I found references to MgInitializeWebTier in
it.
It uses APPL_PHYSICAL_PATH to locate the webconfig.ini and when fail the
GetModuleFileName().

I set in the webconfig.ini the address of my site server, using the key
IpAddress of SiteConnectionProperties section.
But, when I try to make a request using the mapagent.exe I get the following
error.

Cannot establish connection.
Cannot establish connection. Exception occurred in method
MgServerConnection.Open at line 98 in file
c:\build_bond_area\bond_nightly\build_41.3\ent\os\common\mapguidecommon\Services/ServerConnection.cpp

I check my server and it is up and it is reacheable from the machine running
the mapagent.exe.

Thanks,
Luiz Marcio

----- Original Message ----- From: "Luiz Marcio Viana" <[EMAIL PROTECTED]>
To: "MapGuide Users Mail List" <[email protected]>
Sent: Friday, January 11, 2008 10:43 AM
Subject: [mapguide-users] Installing MapAgent on a different server


Hi,

I'm trying to install the mapagent.exe on a different server than the site server.

But, there are not any configuration file to set the mapagent.exe to redirect the requests to a different server. The webconfig.ini file can change only the connection of the application using the API.

How can I do this job.

Thanks,
Luiz Marcio

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users



_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to