Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterUrl Master and DotNetNuke 5.1Url Master and DotNetNuke 5.1
Previous
 
Next
New Post
6/26/2009 10:12 AM
 

With the release of DotNetNuke 5.1, a lot of people are quickly updating their systems to the new version.

Url Master 1.13.x or earlier is not compatible with DNN 5.1.   You should upgrade to Url Master 1.14.x (this is available from the Url Master product page).

If you have upgraded your DNN from 4.x to 5.1, you should upgrade to Url Master 1.14 as soon as possible.

Additionally, if you upgrade to DNN 5.1, and you already have the Url Master module installed, you will find that the Icons for the Page Urls and Friendly Url Settings pages are now broken in your menu system.

To fix this problem, go to your host->sql page, and copy/paste the following script into the sql screen

update {objectQualifier}Tabs
set IconFile = '~/images/' + IconFile
   ,IconFileLarge =  '~/images/' + replace(IconFile, '16', '')
where IconFile in ('Friendly-Urls-Icon16.gif','Page-Urls-Icon16.gif')

update {objectQualifier}TabModules
set iConFile = '~/images/' + IconFile
where IconFile in ('Friendly-Urls-Icon.gif','Page-Urls-Icon.gif')

Check the 'run as script' box, and execute the sql.  This will fix up the icon paths for the Url Master specific pages.

Also, you may wish to update the regex filters to the latest recommended values (if you haven't already modified them for your own purposes).

Here are the latest default values for Url Master 1.14 - you can update them through the Host->Friendly Url Settings page

ignoreRegex : (?<!linkclick\.aspx.+)(?:\.pdf$|\.gif$|\.png($|\?)|\.css$|\.js($|\?)|\.jpg$|\.html$|\.htm$|\.axd($|\?)|\.swf$|\.flv$|\.ico$|\.xml($|\?))

doNotRewriteRegex : /DesktopModules/|/Providers/|/LinkClick\.aspx

doNotRedirectRegex : /LinkClick\.aspx|/Providers/|/DesktopModules/

triggerDictionaryRebuildRegex : &ctl=tab|/ctl/tab|/Admin/Tabs/|/ctl/Signup

If you find any other DNN 5.1 related issues, please add to this thread.

 
New Post
8/11/2009 3:50 PM
 

Hi,

I've been using Url Master for some time now and it always worked like a charm -- until I upgraded from DNN 4.9.4 to DNN 5.1.1

The site starts when the URL Rewriting is disabled; however, as soon as I enable it (either manually or when applying changes in the Host / Friendly Url Settings page), I get the following error message:

 

Server Error in '/asce' Application.

Directory 'c:\windows\system32\inetsrv\Cache' does not exist. Failed to start monitoring file changes.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Directory 'c:\windows\system32\inetsrv\Cache' does not exist. Failed to start monitoring file changes.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80070002): Directory 'c:\windows\system32\inetsrv\Cache' does not exist. Failed to start monitoring file changes.]
   DotNetNuke.Services.Cache.DNNCacheDependency.get_SystemCacheDependency() +178
   DotNetNuke.Services.Cache.CachingProvider.Insert(String CacheKey, Object Value, DNNCacheDependency objDependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration, CacheItemPriority Priority, CacheItemRemovedCallback OnRemoveCallback) +104
   DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String Key, Object Value, DNNCacheDependency Dependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration, CacheItemPriority Priority, CacheItemRemovedCallback OnRemoveCallback) +164
   DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject, DNNCacheDependency objDependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration, CacheItemPriority Priority, CacheItemRemovedCallback OnRemoveCallback) +131
   DotNetNuke.Entities.Host.Host.GetHostSettingsDictionary() +303
   DotNetNuke.Entities.Host.HostSettings.GetHostSetting(String key) +26
   iFinity.DNN.Modules.UrlMaster.UrlRewriteModule.System.Web.IHttpModule.Init(HttpApplication application) +145
   System.Web.HttpApplication.InitModulesCommon() +65
   System.Web.HttpApplication.InitModules() +43
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

 

 

I'm trying to figure out what's going wrong. Do you have any idea?

Thanks in advance!

 
New Post
8/12/2009 12:31 AM
 

Hi,

I have a DNN 5.1 installation on IIS7 and have just set up the URL Master module.  All seemed well when configuring the module.  However, after exiting the module I now get HTTP Error 404.0 for every page that I try including the DNN admin/host pages.  The only page on the entire site that will load is the default page.  Basically, apart from the default page, my entire site is down.  Furthemore, I cannot access the admin or host pages to make any further configuration changes! 

Can you please urgently contact me to assist with regaining my website.

 
New Post
8/12/2009 1:10 AM
 

Steve - the instructions on how to restore your site are as follows:
 

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.

Remove this entry:

<add name="DNNFriendlyUrl" type="iFinity.DNN.Modules.UrlMaster.DNNFriendlyUrlProvider, iFinity.UrlMaster.FriendlyUrlProvider" includePageName="true" regexMatch="[^\+a-zA-Z0-9 _-]" urlFormat="HumanFriendly" {....} />

and replace with this entry:

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

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

When you have got your site working again, please check that the rewrite is working OK with the 'test url rewrite' function in the Friendly Url Settings screen.

If you switched off page extensions, please try enabling the module without switching off the page extensions, and see if that works.

 
New Post
8/12/2009 1:36 AM
 

Please check - in your procedure : should there be two periods after HttpModules

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

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterUrl Master and DotNetNuke 5.1Url Master and DotNetNuke 5.1


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

Please note : If you are posting a new thread for the Url Master module, please include the following information where applicable:

- Url Master version

- DotNetNuke version

- Example Url where possible

- If there is an error, please post the full error text and/or stack trace (from the DotNetNuke event log).