SV: [mapguide-users] Error: Failed to stylize layer: An
exception occurred in FDO component. Connect failed
hm at geograf.dk
Thu Oct 27 04:24:46 EDT 2011
I might have found the error. The file is located in a folder named "Århus" where Å is a Danish letter. I tried to rename the folder to "Aarhus" and then I can add/view the layer correctly.
Seems that the OGRProvider in FDO3.6 does not support Unicode/none ASCII characters in the path name. But FDO 3.5 and earlier worked with no problem.
The clue was the OGRInfo tool as it writes the Å character as ┼ which is a classic character conversion error.
I will rename my files/folders with to ASCII characters, setup all my layers and see if that works.
Fra: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] På vegne af Zac Spitzer
Sendt: 27. oktober 2011 10:00
Til: MapGuide Users Mail List
Emne: Re: [mapguide-users] Error: Failed to stylize layer: An exception occurred in FDO component. Connect failed
do you have dbf files there as well?
can ogrinfo read and identify the files correctly?
On Thu, Oct 27, 2011 at 6:56 PM, hm <hm at geograf.dk> wrote:
> Hi All
> I just installed Autodesk Infrastructure Studio 2012, but now some of my
> layers are not working. The layers not working are all based on
> TAB/MAP/ID/IND files. Layers from e.g. SQL Server works fine.
> I have added the ORGProvider.dll (and all dependencies) to the bin\FDO
> folder. Also ensured that it is FDO3.6 to match the existing version. The
> providers.xml also have a reference to the dll.
> When I try to preview a layer already created using the TAB/MAP/ID/IND files
> I get the following error in the Logs\error.log:
> <2011-10-27T09:00:21> 4060 Ajax Viewer ::1 Administrator
> Error: Failed to stylize layer: Adresse
> An exception occurred in FDO component.
> Connect failed:
> - MgMappingUtil.StylizeLayers() line 820 file
> When I delete the layer and add it again using Maestro, add feature and
> select OSGeo FDO provider for OGR, type the path to the TAB file in the
> datasource and push the Test Connection button I get the following error:
> <2011-10-27T09:22:52> 5108 MapGuide Maestro v188.8.131.5271 ::1 Administrator
> Error: An exception occurred in FDO component.
> Connect failed:
> - MgFeatureServiceHandler.ProcessOperation() line 83 file
> - MgOpTestFeatureSourceConnection.Execute() line 100 file
> - MgServerFeatureService.TestConnection() line 234 file
> - MgFdoConnectionManager.Open() line 313 file
> - MgFdoConnectionManager.CacheFdoConnection() line 985 file
> - MgFdoConnectionManager.Open() line 977 file
> Does anyone have a clue what I have done wrong? If you need any more
> information I will be happy to share it.
> Best Regards Hans Milling
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-Failed-to-stylize-layer-An-exception-occurred-in-FDO-component-Connect-failed-tp6935422p6935422.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
Solution Architect / Director
Ennoble Consultancy Australia
+61 405 847 168
mapguide-users mailing list
mapguide-users at lists.osgeo.org
More information about the mapguide-users