I had a similar problem with safearray data binding. This is related to a
new dll that was not registered correctly when MapX was installed.
Try re-registering the new dlls that MapX is using for that type of data
binding (something like mADODataset.dll I guess!), in MapX\Programs (I did
not install MapX4 yet !)

You need to run RegSrv32.exe [Thenameofthedll.dll] from command line to do
that (Under NT anyway)

This should register the component missing and allow the object to
instanciate in asp.

SafeArray might also be a good  way to go since it is quite reliable !

Hope this helps !

----- Original Message -----
From: Robert Crossley <[EMAIL PROTECTED]>
To: 'MapInfo List' <[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 1999 5:59 PM
Subject: MI: MapX - databinding using ADO


> I have a MapX question - am unsure whether it is appropriate here, but the
> MapX discussion group is nowhere near as active as this list, and a lot of
> people on the list seem to cross over to the dark side.
>
> I am having trouble using the ADO databinding in MapX in version 4 (beta).
>  The error is:
> Run-time error '1165': Custom dataset error. Could not find a CLSID for
the
> type of custom dataset specified. Check that the custom dataset is
properly
> registered.
> I am having the same error when I try to bind a the recordset from a ADO
> data source to a map layer. The code worked when I used it when it was
> pointed at a DAO recordset using version 3.51.
> The map layer is registered, but is not in the default directory.
> BindLayerObject.LayerName = "MI_SalesMap" ' The first column in source
data
> contains location ID
> BindLayerObject.LayerType = miBindLayerTypeNormal
> Set DS = frmMainTabs.SalesMap.Datasets.Add(miDataSetADO, _
> frmMainTabs.AdodcSelSales.Recordset, "SelectedSales", "ID", , BindLayer
> Object, , False)
> The error message is fairly cryptic, can anyone shed light on where I need
> to focus.  I suspect the geodictionary.
>
>
> Robert Crossley
> Trinity Software
> 10 Trinity Street
> Parramatta Park
> CAIRNS   4870
> AUSTRALIA
>
> Phone: 61-7-40314877
> Fax:     61-7-40314810
> email: [EMAIL PROTECTED]
> web: www.trinitysoftware.com.au
>
>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to