Register   Login
     
  Latest Posts  
Private Messages 1.07 - Potential Display Name Bug
by blob150 on 12/03/2008 5:16 PM
Removal of "Actions" section...
by jlatulippe on 12/03/2008 5:08 PM
RE: MultiSelect Search on Multiple Checkbox
by smcculloch on 12/03/2008 3:46 PM
RE: Property Agent Latest Filter
by erikvb on 12/03/2008 3:45 PM
RE: Help! property type error
by smcculloch on 12/03/2008 3:44 PM
RE: Property Agent Latest Filter
by smcculloch on 12/03/2008 3:42 PM
RE: Set default value
by smcculloch on 12/03/2008 3:42 PM
RE: Can an entry belong to multiple types?
by smcculloch on 12/03/2008 3:42 PM
RE: Remove CAPTCHA when logged in?
by smcculloch on 12/03/2008 3:40 PM
RE: Display Name
by smcculloch on 12/03/2008 3:38 PM
  Forums  
Subject: Parser Error Message: The entry 'UrlRewrite' has already been added.
Prev Next
You are not authorized to post a reply.

Author Messages
trouper21User is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:2

10/09/2007 12:52 PM  

I'm trying to use the Ventrian Friendly URL dll and configure my web.config file.

I'm receiving the following message when I try to view the website after following the procedures here: http://www.ventrian.com/Resources/Projects/FriendlyUrls.aspx

 

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The entry 'UrlRewrite' has already been added.

Source Error:


<pre>Line 63:       <add name=&amp;quot;Compression&amp;quot; type=&amp;quot;DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules&amp;quot; />
Line 64:       <add name=&amp;quot;RequestFilter&amp;quot; type=&amp;quot;DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules&amp;quot; />
<font color="#ff0000">Line 65:       <add name=&amp;quot;UrlRewrite&amp;quot; type=&amp;quot;Ventrian.FriendlyUrl.UrlRewriteModule, Ventrian.FriendlyUrl&amp;quot;/>
</font>Line 66:       <add name=&amp;quot;Exception&amp;quot; type=&amp;quot;DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules&amp;quot; />
Line 67:       <add name=&amp;quot;UsersOnline&amp;quot; type=&amp;quot;DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules&amp;quot; /></pre>

Source File: C:\Inetpub\wwwroot\DotNetNuke\Website\web.config    Line: 65

I've checked the web.config file for another reference to adding UrlRewrite but there is nothing there. When I back out into the original web.config file, the website loads correctly.

I've attached the web.config file in case someone wants to take a look and tell me where I've gone wrong.

Thanks in advance for any help :-)

 

 

 


Attachment: web.zip

trouper21User is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:2

10/10/2007 5:50 AM  

I attached the wrong web.config file. Here's the one that was updated with the Ventrian Friendly URL .


Attachment: web.zip

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12577


10/10/2007 7:14 PM  
It looks OK to me, are you still receiving the error?

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Projects > Friendly Urls > Parser Error Message: The entry 'UrlRewrite' has already been added.



ActiveForums 3.7