SuperKaioken / odbc2kml

Automatically exported from code.google.com/p/odbc2kml
0 stars 0 forks source link

Preview KML with no mapping set #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Edit a connection.
2. Remove the mapping, if any.
3. Click Preview KML

What is the expected output? What do you see instead?
Expected: An error message will pop up telling me I must first create a 
mapping. The Preview KML tab will not open.

Actual: No error message is generated in ConnDetails. PreviewKML opens in 
its tab with the following error message, plus a google earth preview 
without any pinpoints.

ERROR: Could not generate KML. Check database connection. Actual error: 
HCI.ODBC2KMLException: Exception of type 'HCI.ODBC2KMLException' was 
thrown. at HCI.KMLGenerator.generateKMLFromConnection(Connection 
connection) in C:\Documents and Settings\Micah\My Documents\My 
Dropbox\Documents\srdesign\hci\HCI\KMLGenerator.cs:line 336 at 
ASP.previewkml_aspx.__Render__control1(HtmlTextWriter __w, Control 
parameterContainer) in c:\Documents and Settings\Micah\My Documents\My 
Dropbox\Documents\srdesign\hci\HCI\PreviewKML.aspx:line 23

Please use labels and text to provide additional information.

Original issue reported on code.google.com by mbbowser@gmail.com on 12 Apr 2010 at 3:31

GoogleCodeExporter commented 9 years ago

Original comment by sweenr...@gmail.com on 12 Apr 2010 at 7:18

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r620.

Original comment by sweenr...@gmail.com on 12 Apr 2010 at 7:30

GoogleCodeExporter commented 9 years ago
Verified. It pops up an error message and won't let me preview. Perfect.

Original comment by mbbowser@gmail.com on 12 Apr 2010 at 9:29