YAFLogo

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter YAF Version: YAF 3.1.16
13 years ago
Are there any details on upgrading the DNN YAF module?

I see this in the readme, but it doesn't say what file, other than Default.aspx?

Open the file YourWebsite.com/DesktopModules/YetAnotherForumDotNet/install/ on your web site.

Should you run the install extension wizard via DNN?

Should you unpack the files an overwrite then hit Default.aspx?

I think I'm missing something obvious with this upgrade.

I'm running DNN 6.0 if that matters.

I tried doing as the ReadMe file states, and it didn't update anything. I then copied all the files and when I attempted to open a thread topic, I received the message below.

A critical error has occurred.Value was either too large or too small for an Int16.

Sponsor
Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter YAF Version: YAF 3.1.16
13 years ago
I reverted to the backup database and have

DotNetNuke: 06.00.01 (310)

YetAnotherForum: 1.95.54750

... functioning once again.

I just need help with the proper step by step process for installing please.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago
Yes you need to run the Dnn Install Extension wizzard to Update the Module, the Yaf Upgrade Wizzard should Open and needs to be executed when you visit the forum Page.

If the error still appears, please post the full error from the Event Log.

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter YAF Version: YAF 3.1.16
13 years ago
After confirming/accepting the license agreement screen. The upgrade timed out.

Server Error in '/' Application.
--------------------------------------------------------------------------------
 Request timed out. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: Request timed out.

Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 
[HttpException (0x80004005): Request timed out.]
 --------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Here's what the Event Log stated regarding the timeout.

AssemblyVersion: 6.0.1

PortalID: 0

PortalName: PackersHome

UserID: 4

UserName: Zero2Cool

ActiveTabID: 41

ActiveTabName: Home

RawURL: /

AbsoluteURL: /default.aspx

AbsoluteURLReferrer: http://packershome.com/DesktopModules/YetAnotherForumDotNet/install/default.aspx?upgrade=46

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20100101 Firefox/6.0.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 8db71e21-126b-4a29-87fa-c4cbec1e3e40

InnerException: Could not load type 'DotNetNuke.Modules.Chat.Components.DNNChatController'.

FileName: 

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Web.Compilation.BuildManager.GetType

StackTrace: 

Message: System.Web.HttpException (0x80004005): Could not load type 'DotNetNuke.Modules.Chat.Components.DNNChatController'. at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)

and when I open a topic/thread, this is the message in the EventLog

AssemblyVersion: 6.0.1

PortalID: 0

PortalName: PackersHome

UserID: 4

UserName: Zero2Cool

ActiveTabID: 63

ActiveTabName: Forum

RawURL: /tabid/63/g/posts/t/13605/Is-Tramon-Williams-a-pussy.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://packershome.com/tabid/63/g/topics/f/4/Let-s-Talk-Green-Bay-Packers.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20100101 Firefox/6.0.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 7f160b02-f1b1-499a-9a89-c760cce75352

InnerException: Value was either too large or too small for an Int16.

FileName: 

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Int16.Parse

StackTrace: 

Message: DotNetNuke.Services.Exceptions.PageLoadException: Value was either too large or too small for an Int16. ---> System.OverflowException: Value was either too large or too small for an Int16. at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info) at System.String.System.IConvertible.ToInt16(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType) at YAF.Classes.Pattern.RegistryDictionary.GetValue[T](String name, T defaultValue) at YAF.Classes.Pattern.RegistryDictionaryOverride.GetValue[T](String name, T defaultValue, Boolean allowOverride) at YAF.Classes.Pattern.RegistryDictionaryOverride.GetValue[T](String name, T defaultValue) at YAF.Classes.YafBoardSettings.get_MaxPostSize() at YAF.Controls.MessagePostData.TruncateMessage(String message) at YAF.Controls.MessagePostData.get_Message() at YAF.Controls.MessagePostData.RenderMessage(HtmlTextWriter writer) at YAF.Controls.MessagePost.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at YAF.Core.ForumPage.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at YAF.Forum.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at DotNetNuke.UI.Modules.ModuleHost.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.portals__default_containers_sf001_forestgreen_barframe_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.portals__default_skins_packershomedark_h_bordered_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source: 

Server Name: 
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago
To Resolve the Timeout Issue you need to Increase the Timeout Value in your web.config, because the Installer is very Big

<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="28192" executionTimeout="6000" requestLengthDiskThreshold="18192" />
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago

DotNetNuke.Services.Exceptions.PageLoadException: Value was either too large or too small for an Int16.

Looks Like there is a Problem with The Max Post Size Value, did you changed that Value in the Host Settings?

Try to set it to the Default Value 32767

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter YAF Version: YAF 3.1.16
13 years ago

DotNetNuke.Services.Exceptions.PageLoadException: Value was either too large or too small for an Int16.

Originally Posted by: tha_watcha 

Looks Like there is a Problem with The Max Post Size Value, did you changed that Value in the Host Settings?

Try to set it to the Default Value 32767

Yes sir, I did increase it. Doing the upgrade busted up the site, working on getting it back up again. I'll report back if changing that works, as well as the timeout suggestion. Thank you.

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter YAF Version: YAF 3.1.16
13 years ago
Those two suggestions worked. There's a few "quirks" I noticed right away, I'll make new threads unless I find it's my own fault. 🙂
Dr-Hack
  • Dr-Hack
  • 100% (Exalted)
  • YAF All-the-Time
12 years ago

DotNetNuke.Services.Exceptions.PageLoadException: Value was either too large or too small for an Int16.

Originally Posted by: tha_watcha 

Looks Like there is a Problem with The Max Post Size Value, did you changed that Value in the Host Settings?

Try to set it to the Default Value 32767

ok i did the same ..

in which table will i find this so i can change it into the default value .. saw all the tables starting with yaf .. couldnt find it .. missed it ?

thanks..

EDIT: Just ran the install again .. got it fixed .. by if we end up in trouble what is the actual way to tackle it ? and why not to have form restriction if increasing the value makes it break ?

EDIT 2: OOH no .. the forum is working cant go into host settings .. so cant change it back..i guess back to my question in the post..

Dr-Hack
  • Dr-Hack
  • 100% (Exalted)
  • YAF All-the-Time
12 years ago
still getting the error . .cant open Host settings :S .. which table which table ? :S ...

getting :

 A critical error has occurred. Exception has been thrown by the target of an invocation.

waiting .

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago
Its in the Table "yaf_Registry"

This issue is fixed in 1.96 RC 1

Dr-Hack
  • Dr-Hack
  • 100% (Exalted)
  • YAF All-the-Time
12 years ago
thanks alot man.

was sitting idle and refreshing this post again and again and again .. for like three hours ..

ouch

..

"be careful "

Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader Topic Starter YAF Version: YAF 3.1.16
12 years ago
Got your PM on my board, but you deleted your account or something? Hope you got your problem resolved.
Dr-Hack
  • Dr-Hack
  • 100% (Exalted)
  • YAF All-the-Time
12 years ago

Got your PM on my board, but you deleted your account or something? Hope you got your problem resolved.

Originally Posted by: Zero2Cool 

yeah fixed 🙂 ... didnt unregisster the reversechars not working , maybe someone fixed it on PS :)