Re: [mapguide-users] Using .NET Api to connect from a different Machine

2008-08-20 Thread Zac Spitzer
ok, the solution is that you need to change the two settings in the serverconfig.ini for this to work [SiteConnectionProperties] IpAddress = 127.0.0.1 [GeneralProperties] MachineIp = 127.0.0.1 It's all a bit redundant, as mapguide won't start if they are different and the server listens on all

Re: [mapguide-users] Using .NET Api to connect from a different Machine

2008-08-11 Thread Zac Spitzer
I have just hit this as well... using the java api with coldfusion. Johann, can you file a bug? z On Fri, Jul 18, 2008 at 12:21 AM, Kenneth Skovhede, GEOGRAF A/S [EMAIL PROTECTED] wrote: AFAIK, it should work then. Do you have both port 2812 and 2811 open on both machines? Since you are

Re: [mapguide-users] Using .NET Api to connect from a different Machine

2008-08-11 Thread Zac Spitzer
http://trac.osgeo.org/mapguide/ticket/659 On Tue, Aug 12, 2008 at 3:13 AM, Zac Spitzer [EMAIL PROTECTED] wrote: I have just hit this as well... using the java api with coldfusion. Johann, can you file a bug? z On Fri, Jul 18, 2008 at 12:21 AM, Kenneth Skovhede, GEOGRAF A/S [EMAIL

[mapguide-users] Using .NET Api to connect from a different Machine

2008-07-17 Thread Johann Nothbauer
Hi all! I'm trying to use the .NET Api to establish a connection to a Mapguide 2.0.1 Site without using a Web Viewer. My Application is a smart client and should run on a different Machine the MapGuide Server runs on. So I tried the following (in a Winforms Button_Click):

Re: [mapguide-users] Using .NET Api to connect from a different Machine

2008-07-17 Thread Kenneth Skovhede, GEOGRAF A/S
The file webconfig.ini must be changed to point to the correct server instead of 127.0.0.1. Its under the section [SiteConnectionProperties] IpAddress =127.0.0.1 Port = 2812 You might also have to copy some of the folders referenced in

Re: [mapguide-users] Using .NET Api to connect from a different Machine

2008-07-17 Thread Johann Nothbauer
Hi Kenneth! Thank you for your fast answer. I already changed the IpAdress in the webconfig.ini file. The MGSiteConnection works perfectly. It's the Resource-Service that I can't connect to (MgConnectionFailedException). Do you know which files I have to copy for to use the Resource Service?

Re: [mapguide-users] Using .NET Api to connect from a different Machine

2008-07-17 Thread Kenneth Skovhede, GEOGRAF A/S
AFAIK, it should work then. Do you have both port 2812 and 2811 open on both machines? Since you are using .Net, you could also use the Web API. I have wrapped most of the calls in the MaestroAPI, so they appear to be native .Net classes: http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI