I am getting a JScript error When I navigate to the portal page containing the DNN Map or when I click on the "Go" button to search for an address.
The error is: Microsoft JScript compilation error: Expected ';'
When I debug in MSVS 08, I found the following:
script file = Google.Standard.js
error with function =
function Map_DataPoints(result,ID) {
var results;
eval(result); <-- line 491
return results;
}
Variable result = "400 - Overload resolution failed because no Public 'ExecuteReader' is most specific for these arguments:%0d%0a 'Public Shared Function ExecuteReader(transaction As System.Data.SqlClient.SqlTransaction, commandType As System.Data.CommandType, commandText As String) As System.Data.SqlClient.SqlDataReader':%0d%0a Not most specific.%0d%0a 'Public Shared Function ExecuteReader(connectionString As String, commandType As System.Data.CommandType, commandText As String) As System.Data.SqlClient.SqlDataReader':%0d%0a Not most specific.%0d%0a 'Public Shared Function ExecuteReader(connection As System.Data.SqlClient.SqlConnection, commandType As System.Data.CommandType, commandText As String) As System.Data.SqlClient.SqlDataReader':%0d%0a Not most specific."
Im running DNN 4.0.08 on my local dev machine. I've installed DNN Maps Module, 01.00.09. I've configured the visual provider with Google.Directory. The source provider is Google.GeoLocator. I'm using a custom query against a seperate DB table of map points.
Is this a Google problem or is the DNN Map module passing bad values to the Google API, or is it my bad configuration? I can provide more information about my configuration if needed.
Thanks!