Error: Connection between Access DB and a SHP file ...
Thomas Grosser
grosser at kom21.de
Tue May 30 11:38:04 EDT 2006
Hi to all,
I´m trying to connect a database (MS Access) to a SHP file and get the following error:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Autodesk.MapGuide.Studio.UI.FeatureSourceEditors.JoinControlTree.GetDefaultableFeatureClass(List`1 classes)
at Autodesk.MapGuide.Studio.UI.FeatureSourceEditors.JoinControlTree.ValidateFeatureSources(FeatureClass& primaryClass, String& resourceId, FeatureClass& joinClass)
at Autodesk.MapGuide.Studio.UI.FeatureSourceEditors.JoinControlTree.CreateNewExtension(String resourceId)
at Autodesk.MapGuide.Studio.UI.FeatureSourceEditors.JoinControlTree.toolBar_ButtonClick(Object sender, ToolBarButtonClickEventArgs e)
at System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs e)
at System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
at System.Windows.Forms.ToolBar.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Studio
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Studio.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Autodesk.MapGuide.Studio.Locale
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.Locale.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50608.0
Win32 Version: 8.00.50727.42
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd/msvcm80.dll
----------------------------------------
Autodesk.MapGuide.Studio.UI
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.UI.DLL
----------------------------------------
Autodesk.Gis.DwfToolkit
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.Gis.DwfToolkit.DLL
----------------------------------------
Autodesk.MapGuide.Studio.Feature
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.Feature.DLL
----------------------------------------
Autodesk.MapGuide.Studio.FdoLoader
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.FdoLoader.DLL
----------------------------------------
Autodesk.MapGuide.Forms
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Forms.DLL
----------------------------------------
Autodesk.MapGuide.Studio.Site.UI
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.Site.UI.DLL
----------------------------------------
Autodesk.MapGuide.Studio.Site
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.Site.DLL
----------------------------------------
Autodesk.MapGuide.Studio.MdfModel
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.MdfModel.DLL
----------------------------------------
Autodesk.MapGuide.Studio.ImageEngine
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.ImageEngine.DLL
----------------------------------------
Autodesk.MapGuide.Studio.Load
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.Load.DLL
----------------------------------------
Autodesk.MapGuide.Studio.Load.Serializer
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.Load.Serializer.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
_owhkl2m
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ss0urkvh
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
k1qss87w
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
9ahucjjy
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Autodesk.Gis.CoordinateSystems
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.Gis.CoordinateSystems.DLL
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Microsoft.mshtml.DLL
----------------------------------------
Autodesk.MapGuide.Studio.Fdo
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.Fdo.DLL
----------------------------------------
c2h3rqwq
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Autodesk.MapGuide.Studio.StylePreview
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Autodesk.MapGuide.Studio.StylePreview.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
kbnxf3qi
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
k6avsajb
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
adqqallr
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
qsizlgo3
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
tin5ty0e
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Ping
Assembly Version: 1.0.0.16802
Win32 Version: 1.0.0.16802
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/Ping.DLL
----------------------------------------
k-qhjrxq
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.81.0.1407
Win32 Version: 0.81.0.1407
CodeBase: file:///C:/Programme/Autodesk/MapGuideStudioPreview/ICSharpCode.SharpZipLib.DLL
----------------------------------------
yse-pkzo
Assembly Version: 1.0.0.16802
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
So my question is: What must i do to connect to an Access-DB via ODBC and than what to do to connect htis DB to an SHP file ? Can somone help me here ?
Mit freundlichen Grüßen
Thomas Grosser
- Geschäftsleitung -
Kom21 - Nürnberg
Großweidenmühlstraße 28
90419 Nürnberg
Tel.: 0911 - 378 33 85
Fax: 0911 - 378 33 86
Web: www.kom21.de
More information about the Mapguide-users
mailing list