Support Forums

 
  iFinity Support Forum  DotNetNuke Modu...  Friendly Url Pr...  unhandled exception occurred
Previous Previous
 
Next Next
New Post 3/10/2008 12:49 PM
  John
15 posts
10th Level Poster


unhandled exception occurred  
I tried installing the version for 4.8 using the instructions in the zip file.
I get an error, and being really new to DNN, have no idea what is wrong. Putting the old web.config back, get's the site back up.
Is it correct that we should leave this line as is?
   <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
and only replace:
<add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />
with
<add name="UrlRewrite" type="iFinity.DNN.Modules.FriendlyUrl.UrlRewriteModule, iFinity.FriendlyUrlProvider"/>
 

and then Step 5:  Replace the existing ''DNNFriendlyUrl'' provider section with this one : (from instructions)

I would paste the error here but it won't paste from word or notepad. I can cut and paste the stack trace from notepad to word to email and back to notepad but it won't paste in this box!!!

 

 
New Post 3/11/2008 12:30 PM
  Bruce Chapman
112 posts
1st Level Poster


Re: unhandled exception occurred  

John

You should only have one entry for the Url Rewriter ,and one entry for the FriendlyUrlProvider.

I can't give much more of a diagnosis unless you type in at least what the exception text is.  The reason you may not be able to paste is if you have a pop-up blocker on this site.  It has a script that runs to check pasted code.  Enable pop-ups for ifinity.com.au and you'll be able to copy and paste.  There are no popup ads on this site.

regards

Bruce


Chief Software Hacker
 
New Post 3/11/2008 7:11 PM
  John
15 posts
10th Level Poster


Re: unhandled exception occurred  

I installed the standard dotnetnuke 4.8 about a week ago, and in web.config it has 2 references.

Under  <system.webServer>
  <modules>
<add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
and under
 <system.web>
  <httpModules>
   <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />
Both entries were done by the standard installer. As I am new to dotnetnuke, I don't know what either one does, so don't want to remove anything that your instructions didn't tell me to remove.

The error was:
I can't paste the error or submit button don't work. It is not pop up blocker as the first 2 pastes showed a pop up - perhaps because it is code? I emailed it to you, perhaps you can try to paste it here?

 
New Post 3/12/2008 11:43 AM
  Bruce Chapman
112 posts
1st Level Poster


Re: unhandled exception occurred  

For future reference, John's error was

'parsing "(\.gif)|(.\png)|(.css)|)\.js)|(\.jpg)|(\.html)|(\.htm)" - Malformed \p{X} character escape.'

This is because on older versions of the documentation (and possibly newer versions if I haven't found all instances) there was a typo with the 'ignoreRegex' web.config attribute.  The error is in the png filter - it should be (\.png) not (.\png).  Just fix this and the problem should be solved straight away.


Chief Software Hacker
 
New Post 3/22/2008 8:44 PM
  Déclic Vidéo FX
100 posts
1st Level Poster


Re: unhandled exception occurred  

Bruce, it would be great if you modify your html HELP file which is in the ZIP file in download section...
Otherwise, people like me search everywhere the error untill they see this post...

;-)

 

DV


Video editing tips & tricks, tutorials, free download (Pinnacle Studio, proDAD & Hollywood FX)
 
Previous Previous
 
Next Next
  iFinity Support Forum  DotNetNuke Modu...  Friendly Url Pr...  unhandled exception occurred
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.