[mapguide-users] SQL Server 2005 ODBC not working with MGOS 1.2
RC2
Ismael Cams
mapguide2007 at gmail.com
Mon Jul 9 03:13:03 EDT 2007
In meanwhile I have detected the problem myself. I used the SQL Native driver
for creating the DSN. When using the SQL Server driver it works. I have no
idea what the difference is between the two, as both allow the same
configuration.
Ismael Cams wrote:
>
> Hello,
>
> I try to set up an ODBC connection with SQL Server. Although the
> connection is indicated as succesfull, there are no tables showed. When
> looking into the MGOS server log file the following error message is
> shown:
>
> Error: An exception occurred in FDO component.
> Invalid length 0 for column type VARCHAR, must be > 0
> StackTrace:
> - MgFeatureServiceHandler.ProcessOperation line 83 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
> - MgOpDescribeSchemaAsXml.Execute line 107 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\feature\OpDescribeSchemaAsXml.cpp
> - MgServerDescribeSchema.DescribeSchema line 500 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\feature\ServerDescribeSchema.cpp
> - MgServerDescribeSchema.ExecuteDescribeSchema line 173 file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\feature\ServerDescribeSchema.cpp
> An exception occurred in FDO component.
> Invalid length 0 for column type VARCHAR, must be > 0
>
> Has anyone succeeded in getting a ODBC connection to SQL Server 2005 with
> MGOS 1.2 (I have tried both with the beta version and RC2) ?
>
> Kind regards,
> Ismaël
>
--
View this message in context: http://www.nabble.com/SQL-Server-2005-ODBC-not-working-with-MGOS-1.2-RC2-tf4045596s16610.html#a11496980
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list