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=&quot;Compression&quot; type=&quot;DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules&quot; />
Line 64: <add name=&quot;RequestFilter&quot; type=&quot;DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules&quot; />
<font color="#ff0000">Line 65: <add name=&quot;UrlRewrite&quot; type=&quot;Ventrian.FriendlyUrl.UrlRewriteModule, Ventrian.FriendlyUrl&quot;/>
</font>Line 66: <add name=&quot;Exception&quot; type=&quot;DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules&quot; />
Line 67: <add name=&quot;UsersOnline&quot; type=&quot;DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules&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 :-)
|