Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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 ForumsMapMapCustom Query -> what am I doing wrong? (fetching error)Custom Query -> what am I doing wrong? (fetching error)
Previous
 
Next
New Post
9/4/2009 11:51 AM
 

 Is there a way to test pieces of this module or get specific errors?  I'm sure I've just done something stupid, but I can't track it down...  Does anyone notice anything specifically wrong with what I've done thus far? (All I get is the pushpin in the middle of a blue screen that says "fetching."  As always, any help at all is very much appreciated.  Thanks!

Custom Query: (I've tested this Enterprise Manager, and it returns the expected DataSet)

SELECT 0 AS SourceID,'' AS GUID,'' AS Address,0 AS IconIndex,Longitude, Latitude,'' AS Description,1 AS SequenceNumber,'' AS SequenceInfo,1 AS ZoomShow,0 AS ZoomHide,1 AS SummaryCount,'' AS ActionPlot,'' AS ActionClick,'' AS ActionOpen,1 AS FailedGeo,0 AS isUser FROM Shop WHERE ShopNumber=@ShopNumber

 

Connection String: (this connection is used throughout the rest of the DNN site)

Provider=sqloledb;Data Source=[ADDRESS];Initial Catalog=[DB Name];User ID=[uid];Password=[pwd];

 

Query Variable:

Type - <QueryString>
Source - ShopNumber
Target - @ShopNumber
Left - <null>
Right - <null>
EmptyValue - 4023
Security - selected

 

URL QueryString - .../Map.aspx?ShopNumber=xxxx

Map API key appears to also be properly registered.

 
New Post
9/10/2009 10:19 AM
 

Hi,

I think you've left out a column (i.e. PointID) - your query must return a table structure that contains all of the existing columns expected from the Map_Points table. I used the PK field of the table I was selecting from (e.g. myPK AS PointID) and things worked for me. Hope this helps.

 
New Post
1/31/2011 10:29 PM
 
See www.dotnetnuke.com/Resources/Forums/tabid/795/forumid/130/threadid/301091/scope/posts/Default.aspx for a possible solution...
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMapMapCustom Query -> what am I doing wrong? (fetching error)Custom Query -> what am I doing wrong? (fetching error)


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