Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMapMapJScript Error EncounteredJScript Error Encountered
Previous
 
Next
New Post
9/24/2008 9:57 PM
 

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!

 
New Post
4/12/2009 5:55 PM
 

<p>Hi Craig,</p> <p>Check out a new thread i posted <a href="http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/130/threadid/301091/scope/posts/Default.aspx">here</a> for the technique I&#160;think should resolve this for you. The js error happens as a result of the behaviour I describe in the other thread. Following the instructions there should make the error go away.</p> <p>Regards, Sean</p>


Regards,
Sean

www.puffettfoto.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMapMapJScript Error EncounteredJScript Error Encountered


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out