You are hereBlogs / rahul's blog / Recompiled Map Module dll for DotNetNuke 5.x

Recompiled Map Module dll for DotNetNuke 5.x


rahul's picture

By rahul - Posted on 07 January 2010

The below issue has been existing for DotNetNuke Map module for a significantly long time.
Map Module Edit: Critical Error

I was recently surprised to see that the latest DNN 5.2.1 release still features the old Map Module 01.00.09 version, that was compiled against DNN 4.x, and throws exceptions when run in DNN 5.0. I originally posted this here and here, on the same thread that the Module just needs a recompilation against DNN 5.x, and it would work fine.

However, as most people (especially non-technical ones) would have had problems compiling a DNN module from source, I provided links to the Map module dll that I compiled against DNN 5.x, and runs successfully on it.

Now for my readers of the DotNetNuke 5.x book, of which I am a technical editor, I am again attaching the compiled dll below, and re-enumerating the steps to get the Map module going in DNN 5.x:

  1. Install the Map module normally in DNN 5.x from the Host > Extensions > Install Available Extensions
  2. Check the checkbox for the Map module, and note its version.
  3. Click "Install Selected Extension".
  4. After the module installs successfully, and if your Map module version was (01.00.09), download the file attached below.
  5. Copy the downloaded file in the bin folder of your DNN installation. If asked for replacement, make sure to replace/overwrite the existing file. Dont keep both copies, as this could cause your installation to throw errors.

That should be it. Try using the Map module, and it should work fine.

AttachmentSize
DotNetNuke.Modules.Map.dll81 KB

Hello,

Thanks for the dll file (we tried to modify and compile the patch but failed).

I've installed it on our development website but i still get my problem.

In fact, i'm using the data tab, then "find address" link. I get the lat long coordinates then click save. The popup window closes and i see a quick "fetching data" on main window but nothing more. Did I miss something (other file to patch?) ? Do i need a special firewall rule ?

Your help is welcome :)

Thanks,

Laurent.

rahul's picture

Hi Laurent, this ia a pretty old blog post, and much has changed in DNN world after that (including launch of DNN 6). I actually can't recall the changes I made for fixing the issues with the dll. I think you would be better off using the latest version of Map module (I have not tried it, but it would be a pity if the module has still not been fixed).

Thanks for your answer.

Well, we're on Dnn 5.6.3, waiting for more mature 6.x version. In fact, we got the visual studio project but we can't compile it due to unknown references (?). It's strange that the project leaders haven't delivered a compiled dll yet. I've written to dnn support (pro license) and they replied that the map isn't compatible with dnn5.5+ and should be taken out of available extensions. It's a pity because i suppose the fix isn't important but we should "just" manage to get a right dll ;) I think i'll try to use Fiddler to check if i see a problem on http requests and check on other web browsers.

Thanks,

Laurent.

rahul's picture

Hi Laurent, thanks for the details. Well I hardly see a reason for using the DNN map module now (after having played with Google Maps API so extensively).

With my work on Drupal too, I now tend to leave aside the modules available for Maps integration and all, they are too bulky (including the DNN map module), and require some time to getting used to them.

Directly hooking through the Maps API often allows more seamless and integrated experience with your overall site/portal. If all you want is some simple maps (possibly with directions), you should be able to copy-paste code from examples directly into an instance of Text/HTML module that you can drop on your DNN page. For more complex uses, creating a custom module in DNN might actually be a better way than using the DNN maps module.

rahul's picture

From what I recall, I think I made a couple of small changes for this dll. If you actually want to use this module (and not the Maps directly as advised above), please let me know and I will try to find time to compile this module for DNN 5.5+. Its a server side issue, so Fiddler won't help.

I would however again recommend using Mapi API directly instead.

Hello,

Thanks for your help. I got more informations from my customer and it looks like a simple map integration using iframe code generated by Google will be enough.

Thanks,
Laurent.

rahul's picture

Thanks for the update Laurent. This is definitely the better approach than using most Google Maps' wrappers available out there.

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.

Recent comments