iFinity Blogs 

DotNetNuke 5.1.1 Released : iFinity Url Master Compatibility

Jul 29

Written by:
Wednesday, July 29, 2009 2:45 PM  RssIcon

DotNetNuke 5.1.1, Community and Professional Editions, has just been released. 

See http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2304/DotNetNuke-5-1-1-Released.aspx for more details.

With the release of DNN 5.1.1 (CE & PE), there’s a small incompatibility with the Url Master module.   This affects sites upgraded to DNN 5.1.1 from any version.  The symptom will be an inoperable website on some pages, with an associated cryptic database related error message.  The incompatibility relates to the inclusion of a new property of ‘HasChildren’ in DotNetNuke tabs.

I have developed and tested a fix for this problem, and it is available now, in the Url Master Release 1.14.09. 

You can download the latest release of the Url Master module from the Url Master Product Page.  All existing customers are requested to upgrade to the latest version prior to upgrading their DotNetNuke sites to 5.1.1 (or later versions, when they come out).

Already Upgraded to DNN 5.1.1?

If you’ve already upgraded to DNN 5.1.1 with the Url Master module in place, you’re probably looking at (and searching) an error like this:

500 Server Error

An error occured during processing : if possible, check the event log of the server

Administrators : Obtain more information by changing to debug mode and switching custom errors off in the configuration.

Error Reading DataReader Expecting - DotNetNuke.Entities.Tabs.TabInfo. Returned - TabID, TabOrder, PortalID, TabName, IsVisible, ParentId, Level, IconFile, DisableLink, Title, Description, KeyWords, IsDeleted, Url, SkinSrc, ContainerSrc, TabPath, StartDate, EndDate, RefreshInterval, PageHeadText, IsSecure, PermanentRedirect, SiteMapPriority, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate, IconFileLarge,

If that’s the case, here’s the steps to get your site back and working again:

0) Open up your web.config for editing. 

1)  Locate the 'UrlRewrite' entry in the web.config.  If you're running IIS5/6, it will be in the <system.web> section.  If you're running IIS7, it will be in the <system.webserver> section.

Remove this entry:

<add name="UrlRewrite" type="iFinity.DNN.Modules.UrlMaster.UrlRewriteModule, iFinity.UrlMaster.FriendlyUrlProvider" />

and replace it with this entry:

<add name="UrlRewrite" type="DotNetNuke.HttpModules..UrlRewriteModule, DotNetNuke.HttpModules" />

2) Locate the 'DNNFriendlyUrl' section.  This will be the same regardless of the IIS version.

Search for ‘<friendlyUrl defaultProvider="iFinity.UrlMaster">’

Change the value for defaultProvider from ‘iFinity.UrlMaster’ to ‘DNNFriendlyUrl’

Ensure that this entry remains in the web.config file.  If it isn’t present, add it back in, inside the ,<friendlyUrl></friendlyUrl> section.

<add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="HumanFriendly" />

3) Save your web.config, and your site should be running again.

4) Go to the Module Definitions page, and upload the 1.14.09 version of the Url Master module.  Check the install logs to make sure that it upgraded OK.

5) Re-Enable Url Master in the Friendly Url Settings page.

Your site should be running again.

Tags:
Categories:
Location: Blogs Parent Separator Crafty Code

5 comment(s) so far...


Gravatar

Re: DotNetNuke 5.1.1 Released : iFinity Url Master Compatibility

Your Url Master is amazing. I have really enjoyed working with it - thank you for taking such good care of your product and your customers.

By Jonathan on   Saturday, August 01, 2009 4:27 PM
Gravatar

Re: DotNetNuke 5.1.1 Released : iFinity Url Master Compatibility

I have upgraded a site from version 5.0.1 to 5.1.1 and also upgraded the URL master to version 1.14.11 but I get

"Directory 'c:\windows\system32\inetsrv\Cache' does not exist. Failed to start monitoring file changes." with the site going completely down once I enable the URL master.

This is on Win 2003 Server and I am trying to run site extensionless

By Raldo on   Thursday, August 27, 2009 9:50 AM
Gravatar

Re: DotNetNuke 5.1.1 Released : iFinity Url Master Compatibility

@raldo please see my reply on the support forums

By Bruce Chapman on   Thursday, August 27, 2009 11:20 AM
Gravatar

Re: DotNetNuke 5.1.1 Released : iFinity Url Master Compatibility

Hi,

is it possible to generate Custom url for " Advanced article module" with the article heading. i am using DNN version 4.9.0. if yes please let me know how.

Regards

By Sakib on   Friday, November 27, 2009 7:41 PM
Gravatar

Re: DotNetNuke 5.1.1 Released : iFinity Url Master Compatibility

@sakib - no, you can't generate a url from an article heading, unless you have access to the source code of the module. If you did, you could include the article heading (cleaned for url encoding) into the FriendlyUrl method overload, in the 'pagename' field.

By Bruce Chapman on   Friday, November 27, 2009 7:53 PM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment   Cancel 
Bruce Chapman
Hi, I'm Bruce Chapman, and this is my blog. You'll find lots of information here - my thoughts about business and the internet, technical information, things I'm working on and the odd strange post or two.

 

Share this
Get more!
Subscribe to the Mailing List
Email Address:
First Name:
Last Name:
You will be sent a confirmation upon subscription

 

Follow me on Twitter
Stack Exchange
profile for Bruce Chapman at Stack Overflow, Q&A for professional and enthusiast programmers
Klout Profile