Support Forums

 
  iFinity Support Forum  DotNetNuke Modu...  Friendly Url Pr...  FriendlyUrlProvider_04.06.11_Install on DNN 4.8.4
Previous Previous
 
Next Next
New Post 6/13/2008 10:25 AM
  amdweb82
1 posts
No Ranking


FriendlyUrlProvider_04.06.11_Install on DNN 4.8.4 
Modified By amdweb82  on 6/13/2008 11:26:36 AM)

Bruce,

We were wondering if have had a chance to test out FriendlyUrlProvider_04.06.11_Install on the latest version of DNN 4.8.4?

We gave it a try this morning and come up with this error:

[NullReferenceException: Object reference not set to an instance of an object.]
   iFinity.DNN.Modules.FriendlyUrl.UrlRewriteModule.IdentifyByRegEx(HttpRequest Request, HttpContext Context) +169
   iFinity.DNN.Modules.FriendlyUrl.UrlRewriteModule.ProcessRequest(HttpContext Context, HttpRequest Request, HttpServerUtility Server, HttpResponse Response) +335
   iFinity.DNN.Modules.FriendlyUrl.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +104
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Was also wondering if you would be able to post the source for FriendlyUrlProvider_04.06.11_Install?

 
New Post 6/13/2008 10:55 AM
  Bruce Chapman
565 posts
1st Level Poster


Re: FriendlyUrlProvider_04.06.11_Install on DNN 4.8.4 

I haven't tried it as yet, but 4.84. is a minor security fix - so I doubt much has changed in the Url handling arena.  I will try it out. 

Have you looked at your web.config file?  Did you use an automatic merge tool?  It's possible that some of the regex attributes of the DNNFriendlyUrl are incorrect - or possibly the friendly url provider is set to the standard, while the Url Rewriter is set to the iFinity one.  Either way would probably give you a null reference on the ignore Regex field.

 

 
New Post 8/3/2008 5:47 AM
  Yuliya
1 posts
No Ranking


Re: FriendlyUrlProvider_04.06.11_Install on DNN 4.8.4 

Bruce,

Did you get a chance to test it out? I am getting the same error. I am not sure what I am doing wrong.
Thanks.

 
New Post 8/4/2008 2:43 PM
  Bruce Chapman
565 posts
1st Level Poster


Re: FriendlyUrlProvider_04.06.11_Install on DNN 4.8.4 

I haven't looked at it yet.  The source code is available on the http://www.ifinity.com.au/Products/Friendly_Url_Provider_For_DNN/ page.

What you'll be looking for is (probably) the reason why the code that creates a portalSettings object and puts it into the context.items collection isn't being run.  Normally this is from the request bypassing the code due to regex fitlers or similar.

 
New Post 8/19/2008 11:47 AM
  AZ
3 posts
No Ranking


Re: FriendlyUrlProvider_04.06.11_Install on DNN 4.8.4 

Hi Bruce,

I just tested DNN 4.8.4 and iFinity.FriendlyUrlProvider_04.06.11_Install, with some problems:

1. with your default configration:

<add name="DNNFriendlyUrl" type="iFinity.DNN.Modules.FriendlyUrl.DNNFriendlyUrlProvider, iFinity.FriendlyUrlProvider" includePageName="true" regexMatch="[^\+a-zA-Z0-9 _-]" urlFormat="HumanFriendly" redirectUnfriendly="true" doNotRewriteRegex="(\.axd)|(/DesktopModules/)" doNotRedirect="SearchResults;" doNotRedirectRegex="[.]*(/logoff.aspx)" pageExtensionUsage="always" parameterHandling="ordered" ignoreFileTypesRegex="(\.gif)|(\.png)|(\.css)|(\.js)|(\.jpg)|(\.html)|(\.htm)" checkForDupUrls="true" forceLowerCase="false" redirectWrongCase="false" replaceSpaceWith="_" />

the rewrite works fine like: http://localhost/dnn/Products.aspx, it also works as http://localhost/dnn/Products if changed IIS and  pageExtensionUsage to "never".

2. Does not work with parameters, for example: http://localhost/dnn/forum/forumid/1/scope/threads.aspx will be redirected to homepage.

3. Does not work in edit mode. for example, in edit mode, press the "Edit text" button of a html/text module will be redirect to homepage.

Can you help what's wrong I did? or the FriendlyUrlProvider does not support DNN 4.8.4 at the moment yet?

Thanks.

 

 

 

 

 
Previous Previous
 
Next Next
  iFinity Support Forum  DotNetNuke Modu...  Friendly Url Pr...  FriendlyUrlProvider_04.06.11_Install on DNN 4.8.4
Can't find the answer?
 

If you can't find the answer and don't have time...try out the Premium Support service.  Get personal attention and get the problem fixed by an expert.

 

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.

If you wish, you can use the Premium Support Service for one-on-one support.