1

Closed

Fails on DNN DNN 7.04.01?

description

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: http://simxperience.com/Community/OwnersClubForum/tabid/742/g/posts/t/1186/find/unread/AccuForce-Tuning-Feedback-Test---Phase-4

and here is a link from the main page to a forum, which also gives a 404: http://simxperience.com/Community/OwnersClubForum/tabid/742/g/topics/f/8/Owners-Club-Suggestions

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

to

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 25, 2015 at 11:37 PM by tha_watcha

comments

tha_watcha wrote Jul 7, 2015 at 9: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 5:55 PM

That worked. Thank you VERY much!

tha_watcha wrote Jul 7, 2015 at 7: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 8:29 PM

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


  <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 25, 2015 at 11:37 PM

Ok that issue will be fixed in YAF 2.2.3