YAFLogo

zura82
  • zura82
  • 57.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
Hello. My website uses DNN ver 4.9.3 , and an year ago i succesfully installed Yaf module version YAF-v1.9.1-DNNv4.5-MODULE . Ok , that's the problem : there is NO WAY to get the new version working. I trying in different manner : i tried uninstall from DNN the old module and installing the new module, but it doesn't work. I tried to replace the folder /desktopmodule/yafanotherforumdotnet with files extracted from the new module, and i tried to merge my web.config with custom configs included in the zip file : nothing work !! I always get Server error applications in \. I haven't find a real complete guide on how to upgrade older module to a new version. I really hope someone can help me. :roll:
Sponsor

Boskone
14 years ago
See my site . I have posted some instructions that should help.
Boskone - A DotNetNuke user.
RDSCC 
zura82
  • zura82
  • 57.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
😞

Server Error in '/' Application.
The files '/App_Code/Global.asax.vb' and '/App_Code/YAF/Forum.cs' use a different language, which is not allowed since they need to be compiled together.

Happens when inserting Yaf directory in App_code root
zura82
  • zura82
  • 57.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
CANCELED
zura82
  • zura82
  • 57.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
During the installation, when it tries to migrate users and roles, i got this error :

Server Error in '/' Application.
Cannot insert the value NULL into column 'UserID', table 'MSSqlx.MSSqlX.yaf_prov_RoleMembership'; column does not allow nulls. INSERT fails.
The statement has been terminated.
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.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'UserID', table 'MSSqlx.MSSqlx.yaf_prov_RoleMembership'; column does not allow nulls. INSERT fails.
The statement has been terminated.

Source Error:

Line 215: {
Line 216: RoleMembershipHelper.SyncRoles( PageBoardID );
Line 217: RoleMembershipHelper.SyncUsers( PageBoardID );
Line 218: }
Line 219: e.Cancel = false;


Source File: d:\inetpub\webs\reame-informaticocom\DesktopModules\YetAnotherForumDotNet\install\default.aspx.cs Line: 217

I was obliged to make nullable the field UserId in yaf_prov_RoleMembership because if this was a not null field there was an error COLUMN DOesn't permit "NULL". Now i have a lot of records in this table, all of them has "NULL" in the User id field , like this :


1b8e34dd-7e8b-494e-b7cd-74be16ca089d NULL
1b8e34dd-7e8b-494e-b7cd-74be16ca089d NULL
cfd24555-bcb3-4732-9763-a6e56ad88b9f NULL
cfd24555-bcb3-4732-9763-a6e56ad88b9f NULL
cfd24555-bcb3-4732-9763-a6e56ad88b9f NULL
cfd24555-bcb3-4732-9763-a6e56ad88b9f NULL
cfd24555-bcb3-4732-9763-a6e56ad88b9f NULL
cfd24555-bcb3-4732-9763-a6e56ad88b9f NULL
cfd24555-bcb3-4732-9763-a6e56ad88b9f NULL
...
zura82
  • zura82
  • 57.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
After completing the setup offered by /desktopmodules/yetanotherforumdotnet/install/default.aspx. I activated debug , and i got , for the last error ( that appear when completing installation) :

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex

Source Error:

Line 99: //Redirect back to the portal main page.
Line 100: string rPath = YafForumInfo.ForumRoot;
Line 101: int pos = rPath.IndexOf( "/", 2 );
Line 102: rPath = rPath.Substring( 0, pos );
Line 103: Response.Redirect( rPath );


Source File: d:\inetpub\webs\reame-informaticocom\DesktopModules\YetAnotherForumDotNet\install\default.aspx.cs Line: 101

Stack Trace:

[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex]
System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options) +7531045
System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex) +39
System.String.IndexOf(String value, Int32 startIndex) +59
YAF.Install._default.Wizard_FinishButtonClick(Object sender, WizardNavigationEventArgs e) in d:\inetpub\webs\reame-informaticocom\DesktopModules\YetAnotherForumDotNet\install\default.aspx.cs:101
System.Web.UI.WebControls.Wizard.OnFinishButtonClick(WizardNavigationEventArgs e) +108
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +641
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +19
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
zura82
  • zura82
  • 57.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
After all , when i put the dnn module on my website , this is the error :

Error: YAF isn't available at the moment.
DotNetNuke.Services.Exceptions.ModuleLoadException: Tag server 'YAF:Forum' unknown. ---> System.Web.HttpParseException: Tag server 'YAF:Forum' unknown. ---> System.Web.HttpParseException: Tag server 'YAF:Forum' unknown. ---> System.Web.HttpException: Tag server 'YAF:Forum' unknown. Ecc ... Ecc ...
zura82
  • zura82
  • 57.8% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
Guys i give up, i'm really risk to Hurt my website. This upgrade doesn't work ( for me ?! ) . I rolled back all to old database and old website. Thanks the same , i'll wait for a ( working) upgrade
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button