[mapguide-users] OBDC - testing connection

Andrew DeMerchant andrew.demerchant at gemtec.ca
Wed Jul 12 08:17:39 EDT 2006


Well, I've just tested it here too, and it works fine for me......so 
either you've got some software that's out of date, or else you're 
missing a step. Check to make sure that your .NET runtimes are up to 
date (just because everything else you listed seems to be ok). You 
followed the installation instructions for the ODBC FDO right? Assuming 
that you installed that right, then here are the steps that I just did 
to make this work:

1) copied the mdb to my c drive (where ever, so long as it's on a local 
drive - can't even be a mapped network drive - local to MapGuide Server).
2) set up an ODBC connection - for this, I made a new System DSN - 
default settings (called the DSN "testing")
3) started up Studio and then went to "Configure data connections" on 
the Getting Started page.
4) selected OSGeo FDO Provider for ODBC
5) picked my datasource from the list
6) saved the feature source (you have to do this in order to see any 
fields)
7) selected "Geometry"
8) pressed "Test Connection" and it worked fine.

Andrew

Ivan Miličević wrote:

> Is there anyone who can help me? L
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* Ivan Miličević [mailto:ivan at ineo.hr]
> *Sent:* 11. srpanj 2006 8:21
> *To:* users at mapguide.osgeo.org
> *Subject:* RE: [mapguide-users] OBDC - testing connection
>
>  
>
> Hi,
>
>  
>
> After few mail exchanges with Tom F., he suggested me that I send MDB 
> file and write down my configuration.
>
>  
>
> Tom tested mdb file in attachment and for him - it works perfectly. 
> But on my computer - impossible.
>
>  
>
> Here is my configuration:
>
>  
>
> Windows XP pro (lastest windows update patch)
>
> Country: Croatian (dot is decimal separator)
>
> Autodesk product on OS:
>
> -Map 2007
>
> -Map 2006
>
> -Mapguide Studio (preview) 1.0.0.16802
>
> -MapServer 1.0.0.16802 (i'ts strange, i just notic that is same 
> version as studio)
>
> -OSGEO ODBC provider (downloaded from mapguide.osgeo.org)
>
>  
>
> I just can't test connection in mapguide studio, there is 559 error 
> (System.Net.WebException: The remote server returned an error: (559) 
> MgFdoException.).
>
>  
>
> Please, help.
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* Ivan Miličević [mailto:ivan at ineo.hr]
> *Sent:* 10. srpanj 2006 13:12
> *To:* users at mapguide.osgeo.org
> *Subject:* [mapguide-users] OBDC - testing connection
>
>  
>
> Hi,
>
>  
>
> I'm one of those who have problem. Iv'e tested connection via 
> http://localhost/mapguide/mapagent/index.html -> Feature service API 
> ->test conncetion and i got this message.
>
>  
>
> Anybody knows something about it?
>
>  
>
> -------------
>
>
>     *An exception occurred in FDO component. Error reading spatial
>     context *XY-M* from XML, invalid pos value '1.000000 1.000000'. *
>
> An exception occurred in FDO component. Error reading spatial context 
> *XY-M* from XML, invalid pos value '1.000000 1.000000'. Exception 
> occurred in method MgFdoConnectionManager.Open at line 912 in file 
> c:\build_tux_area\mgdev\server\src\common\manager\FdoConnectionManager.cpp
>

-- 
	*Andrew DeMerchant*
*Computer Technologist*
ph.1-877-4GEMTEC x.163
fax 506-453-9470

/GEMTEC Limited <http://www.gemtec.ca>
/191 Doak Road
Fredericton, NB, Canada
E3C 2E6

-------------- next part --------------
Skipped content of type multipart/related


More information about the Mapguide-users mailing list