YAFLogo

Posted by: azarbara - Tuesday, 4 February 2014 15:05:30
Hello Guys, Recently i attempt to upgrade YAF like other modules in DNN, so download YAF.net V2.1 from Github and install it from Host>Extensions; during the install accord no problem but after click Return" button" in the last install step receive an error. also i go to this url http://yourWebsite.com/DesktopModules/YetAnotherForumDotNet/install/ but module doesn't upgrade. current version in my portal is 2, and i want to upgrade to latest version Please help to upgrade YAF in DNN Thanks, Mohammad :)

Posted by: tha_watcha - Tuesday, 4 February 2014 15:08:42
Can you post the error message you get?

Posted by: azarbara - Tuesday, 4 February 2014 15:16:10
Server Error in '/' Application. Could not load file or assembly 'YAF.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8b49dc47f4701f66' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 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.IO.FileLoadException: Could not load file or assembly 'YAF.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8b49dc47f4701f66' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Posted by: Zero2Cool - Tuesday, 4 February 2014 20:17:38
Add the YAF.Core DLL assembly to your /bin directory.

Posted by: azarbara - Tuesday, 4 February 2014 20:28:42
[quote=Zero2Cool;62681]Add the YAF.Core DLL assembly to your /bin directory.[/quote] the YAF.Core dll Exist in bin directory. (this file added with YAF install in DNN)

Posted by: Zero2Cool - Tuesday, 4 February 2014 20:29:54
Does your web.config reference the same version your error is showing?

Posted by: azarbara - Tuesday, 4 February 2014 20:40:21
i have the following code in web.config [code] [/code]

Posted by: tha_watcha - Tuesday, 4 February 2014 22:27:30
I guess dnn didn't copy the dlls on installing, because the version numbers are the same as in the previous version. Try to extract all dlls from the install zip and copy them over to your bin folder.

Posted by: azarbara - Wednesday, 5 February 2014 13:57:51
[quote=tha_watcha;62694]I guess dnn didn't copy the dlls on installing, because the version numbers are the same as in the previous version. Try to extract all dlls from the install zip and copy them over to your bin folder.[/quote] i do it but nothing change. and problem don't solve

Posted by: azarbara - Wednesday, 5 February 2014 14:05:47
[quote=azarbara;62715][quote=tha_watcha;62694]I guess dnn didn't copy the dlls on installing, because the version numbers are the same as in the previous version. Try to extract all dlls from the install zip and copy them over to your bin folder.[/quote] i do it but nothing change. and problem don't solve [/quote] now i try to new install in dnn7.2.1 but the previous problem accord and module doesn't install

Posted by: azarbara - Friday, 7 February 2014 21:51:02
please fix this problem.

Posted by: Zero2Cool - Friday, 7 February 2014 22:49:51
tha watcha is the best one for this, but he's also extremely busy. I'll see if I can figure anything out if you can share two links please. A link to the version of DNN that I can download and install. A link to the version of YAF that I can download and install. Both links that you yourself used please.

Posted by: azarbara - Saturday, 8 February 2014 05:55:57
[quote=Zero2Cool;62734]tha watcha is the best one for this, but he's also extremely busy. I'll see if I can figure anything out if you can share two links please. A link to the version of DNN that I can download and install. A link to the version of YAF that I can download and install. Both links that you yourself used please. [/quote] [url=https://github.com/YAFNET/YAFNET-DNN/releases/download/v2.1/YAF_DNN_2.10.0-5504.zip]YAF[/url] [url=https://dotnetnuke.codeplex.com/downloads/get/781581]DNN[/url]

Posted by: tha_watcha - Saturday, 8 February 2014 14:49:32
sorry but i can't help you, all dlls in the Install Package are referencing the 2.1.0.0 Assembly. So there must be at least one old dll in your bin folder, or you have optimizeCompilations enabled in the web.config. and the Assemblies are not correctly updated in the runtime. You can check that by deleting all YAF.... dlls in the bin folder try to run your application then copy the new ones over to the bin folder.

Posted by: azarbara - Sunday, 9 February 2014 08:31:54
[quote=tha_watcha;62738]sorry but i can't help you, all dlls in the Install Package are referencing the 2.1.0.0 Assembly. So there must be at least one old dll in your bin folder, or you have optimizeCompilations enabled in the web.config. and the Assemblies are not correctly updated in the runtime. You can check that by deleting all YAF.... dlls in the bin folder try to run your application then copy the new ones over to the bin folder.[/quote] i do this but this version of YAF doesn't install in new installed DNN.

Posted by: tha_watcha - Sunday, 9 February 2014 10:02:08
[quote=azarbara;62744][quote=tha_watcha;62738]sorry but i can't help you, all dlls in the Install Package are referencing the 2.1.0.0 Assembly. So there must be at least one old dll in your bin folder, or you have optimizeCompilations enabled in the web.config. and the Assemblies are not correctly updated in the runtime. You can check that by deleting all YAF.... dlls in the bin folder try to run your application then copy the new ones over to the bin folder.[/quote] i do this but this version of YAF doesn't install in new installed DNN. [/quote] And what is the problem, still the same error as above? Sorry but Telling that something doesn't work or don't install will not help to solve the problem. On install there is always an install reported with error messages in case something went wrong.

Posted by: azarbara - Sunday, 9 February 2014 11:32:33
[quote=tha_watcha;62745] And what is the problem, still the same error as above? Sorry but Telling that something doesn't work or don't install will not help to solve the problem. On install there is always an install reported with error messages in case something went wrong. [/quote] Yes same error as above accord in new installed DNN.