I have upgraded the DNN framework from 4.5 to 5.6.1
I tried to upgrade the Forum module as it was having exceptions whenever it was added to a page.
The upgrade failed at 4.5.00 on all the subqueries like:
SELECT cdefault
FROM syscolumns
WHERE name = N'ForumEmailTypeID'
which were returning 2 results (like DateAdded which seems to be a very common column name).
I replaced the equals sign in these subqueries with the keyword "IN"
The install then also failed because tables/procs/procedures/views already existed so, I dropped all tables, views, and stored procs, that started with:
Forums_
(It was scripted so I also removed the PK, FK and XI constraints)
After that, the script part of the install was successful (no errors were reported and it said "Installation Successful" at the end of running). The forums appear in the module list, I can do everything except if I click a forum name, I get dumped back to the main screen, and in the EventLog I have:
4/13/2011 12:04:31 PM General Exception USERNAME AssemblyVersion: 5.6.1; PortalID: 0; PortalName< ... |
AssemblyVersion: 5.6.1
PortalID: 0
PortalName: PortalName
UserID: 17
UserName: USERNAME
ActiveTabID: 61
ActiveTabName: Forums
RawURL: /dotnetnuke/Forums/tabid/61/forumid/1/scope/threads/Default.aspx
AbsoluteURL: /dotnetnuke/Default.aspx
AbsoluteURLReferrer: REDACTED
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 81bfc3f6-9314-4678-b68b-ce8bdca664c6
InnerException: Thread was being aborted.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Threading.Thread.AbortInternal
StackTrace:
Message: System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at Active.Modules.Forums.NTForums.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo objModule)
Source:
Server Name: NAZHQAPP21 |
|
As I said,
every other form on the forums seems to work: administration, moderation, adding forums, adding forum groups. They all appear to work.
Any ideas?