This project is read-only.


Fails on DNN DNN 7.04.01?


This evening I upgraded to DNN 7.04.01

All seemed well with my site except the YAF DNN Module.

I was able to see the index page of my forum and all the data show there, but if try to click into a post or forum, I get a 404 file or directory not found.

Here for example is a link from the Recent POsts section of the main forum page which gives the 404 not found message:

and here is a link from the main page to a forum, which also gives a 404:

I also had some troubles as per my previous message about the yaf_Attachments table not being called including the object qualifiers in the tables.sql script but I was able to correct this and complete the upgrade by changing this line from:

update [dbo].[yaf_Attachment] SET UserID = @UserID where MessageID = @MessageID and UserID = 0


update [{databaseOwner}].[{objectQualifier}Attachment] SET UserID = @UserID where MessageID = @MessageID and UserID = 0

Unfortunately, even after completing the upgrade, I now have these 404 errors and my entire community is offline.

Any help is GREATLY appreciated!
Closed Jul 26, 2015 at 12:37 AM by tha_watcha


tha_watcha wrote Jul 7, 2015 at 10:57 AM

Try to turn off urlrewriting in the web.config under appSettings
<add key="YAF.EnableURLRewriting" value="false" />

BVILLERSJR wrote Jul 7, 2015 at 6:55 PM

That worked. Thank you VERY much!

tha_watcha wrote Jul 7, 2015 at 8:00 PM

Just curious the urls are generated using the friendly URL provider. What friendly URL provider are you using and what are the settings in the web.config.

BVILLERSJR wrote Jul 7, 2015 at 9:29 PM

<section name="friendlyUrl" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<friendlyUrl defaultProvider="DNNFriendlyUrl">
    <clear />
    <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="humanfriendly" />

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

  <remove name="UrlRoutingModule-4.0" />
  <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="" />

tha_watcha wrote Jul 26, 2015 at 12:37 AM

Ok that issue will be fixed in YAF 2.2.3