cagliostro
  • Posts: 324
  • Joined: 23/08/2010
Hello guys,

Trying today to install the watcha's DNN YAF 1.9.5 rc2, i got a crash while adding it to a page. Any ideas what it could be ?

Thanks

--

AssemblyVersion: 5.5.1
PortalID: 0
PortalName: Travel Guide
UserID: 1
UserName: host
ActiveTabID: 69
ActiveTabName: YAF Page Name
RawURL: /YAFPageName.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.acs.com/YAFPageName.aspx 
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; el; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f6eb5403-86eb-4323-b2eb-7a8b8fc557cb
InnerException: Exception has been thrown by the target of an invocation.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Reflection.Assembly._GetExportedTypes
StackTrace:
Message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'CookComputing.XmlRpcV2, Version=2.4.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'CookComputing.XmlRpcV2, Version=2.4.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d' at System.Reflection.Assembly._GetExportedTypes() at System.Reflection.Assembly.GetExportedTypes() at YAF.Classes.Core.AssemblyExtensions.<>c__DisplayClass5.<FindModules>b__0(Assembly a) at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at YAF.Classes.Core.AssemblyExtensions.FindModules(IEnumerable`1 assemblies, String moduleNamespace, String moduleBaseInterface) at YAF.Modules.YafModuleManager`1.AddModules(List`1 assemblies) at YAF.Modules.YafBaseModuleManager..ctor() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at YAF.Classes.Pattern.SingleClassInstanceFactory.GetInstance[T]() at YAF.Classes.Core.YafContext.get_BaseModuleManager() at YAF.Forum..ctor() at YAF.DotNetNuke.YafDnnModule.InitializeComponent() at YAF.DotNetNuke.YafDnnModule.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Modules.ModuleHost.get_ModuleControl() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo objModule)
Source:
Server Name: SERVER32



Sponsor
bbobb
  • Posts: 1558
  • Joined: 21/10/2008
It has problems with the CookComputing.XmlRpcV2.dll correct version.
cagliostro
  • Posts: 324
  • Joined: 23/08/2010
This is rather strange.

On an empty new DNN it installs great. On a loaded system gives that error.

Some conflict maybe.
tha_watcha
  • Posts: 4081
  • Joined: 06/03/2010
Its a Problem of the DNN Installer. the Version Numbers of the DLLs are the same since RC1, dnn installer skips installing the new dlls because of that.

If you upgrade from a previous RC or beta...

Extract all dlls from the zip file manually and copy them to your dnn Bin folder.
UserPostedImage
cagliostro
  • Posts: 324
  • Joined: 23/08/2010
When should i do that ? After the DNN install or the YAF install ?


tha_watcha
  • Posts: 4081
  • Joined: 06/03/2010
Originally Posted by: cagliostro

When should i do that ? After the DNN install or the YAF install ?



After the Module Install (But only on an Update).
UserPostedImage
cagliostro
  • Posts: 324
  • Joined: 23/08/2010
Originally Posted by: tha_watcha

Its a Problem of the DNN Installer. the Version Numbers of the DLLs are the same since RC1, dnn installer skips installing the new dlls because of that.

If you upgrade from a previous RC or beta...

Extract all dlls from the zip file manually and copy them to your dnn Bin folder.



Thanks, worked very well.


cagliostro
  • Posts: 324
  • Joined: 23/08/2010

Ok, after i added the module to a page and after editing various host options, trying to Add a new post a get a crash:

--

AssemblyVersion: 5.5.1
PortalID: 0
PortalName: Travel Guide
UserID: 1
UserName: host
ActiveTabID: 69
ActiveTabName: Yaf Forums
RawURL: /tabid/69/g/postmessage/postmessage.aspx?f=1
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.whatever.com/...pics/f/1/Test-Forum.aspx 
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; el; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e314a35a-25b9-460e-b768-1f6c03de1182
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: YAF.Classes.Utils.EnumHelper.ToEnum
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at YAF.Classes.Utils.EnumHelper.ToEnum[T](Object value) at YAF.Classes.Core.CombinedUserDataHelper.get_AutoWatchTopics() at YAF.Pages.postmessage.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---


tha_watcha
  • Posts: 4081
  • Joined: 06/03/2010
I fixed that Error already, updated files in SVN

To resolve the error without updating the Source, go to your user panel -> Email Notification Preferences and Click Save. Then you can post again.
UserPostedImage
cagliostro
  • Posts: 324
  • Joined: 23/08/2010
Originally Posted by: tha_watcha

I fixed that Error already, updated files in SVN

To resolve the error without updating the Source, go to your user panel -> Email Notification Preferences and Click Save. Then you can post again.



Works great, thanks.


cagliostro
  • Posts: 324
  • Joined: 23/08/2010
Apparently this has nothing to do with DNN but not sure.

After Saving a post, i get a crash:

AssemblyVersion: 5.5.1
PortalID: 0
PortalName: Travel Guide
UserID: 1
UserName: hostadmin
ActiveTabID: 69
ActiveTabName: Yaf Forums
RawURL: /tabid/69/g/posts/m/1/This-is-a-test-post.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.whatever.com/...age/postmessage.aspx?f=1 
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; el; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 44e091f6-56fb-4534-8f06-52d9c25d5136
InnerException: c:\HostingSpaces\wwwroot\DesktopModules\YetAnotherForumDotNet\controls\DisplayPost.ascx(11): error CS1061: 'YAF.Classes.YafBoardSettings' does not contain a definition for 'ShowIrkooRepOnlyInTopics' and no extension method 'ShowIrkooRepOnlyInTopics' accepting a first argument of type 'YAF.Classes.YafBoardSettings' could be found (are you missing a using directive or an assembly reference?)
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Compilation.BuildManager.PostProcessFoundBuildResult
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: c:\HostingSpaces\wwwroot\DesktopModules\YetAnotherForumDotNet\controls\DisplayPost.ascx(11): error CS1061: 'YAF.Classes.YafBoardSettings' does not contain a definition for 'ShowIrkooRepOnlyInTopics' and no extension method 'ShowIrkooRepOnlyInTopics' accepting a first argument of type 'YAF.Classes.YafBoardSettings' could be found (are you missing a using directive or an assembly reference?) ---> System.Web.HttpParseException: c:\HostingSpaces\wwwroot\DesktopModules\YetAnotherForumDotNet\controls\DisplayPost.ascx(11): error CS1061: 'YAF.Classes.YafBoardSettings' does not contain a definition for 'ShowIrkooRepOnlyInTopics' and no extension method 'ShowIrkooRepOnlyInTopics' accepting a first argument of type 'YAF.Classes.YafBoardSettings' could be found (are you missing a using directive or an assembly reference?) ---> System.Web.HttpCompileException: c:\HostingSpaces\wwwroot\DesktopModules\YetAnotherForumDotNet\controls\DisplayPost.ascx(11): error CS1061: 'YAF.Classes.YafBoardSettings' does not contain a definition for 'ShowIrkooRepOnlyInTopics' and no extension method 'ShowIrkooRepOnlyInTopics' accepting a first argument of type 'YAF.Classes.YafBoardSettings' could be found (are you missing a using directive or an assembly reference?) at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode) at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile) at System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath) at System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath) at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at YAF.Forum.Forum_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
cagliostro
  • Posts: 324
  • Joined: 23/08/2010
Any ideas for the above crash ? I can't even enter a YAF thread .

thanks
centur
  • Posts: 14
  • Joined: 03/10/2010
Quote:

'YAF.Classes.YafBoardSettings' does not contain a definition for 'ShowIrkooRepOnlyInTopics' and no extension method 'ShowIrkooRepOnlyInTopics' accepting a first argument of type 'YAF.Classes.YafBoardSettings' could be found



Check for latest version - looks like up\down-vote system broke yaf DNN module. Or try to disable Irkoo voting system if it possible (don't know where and how to do it cause not yet checked that.)
cagliostro
  • Posts: 324
  • Joined: 23/08/2010
Originally Posted by: centur

Quote:

'YAF.Classes.YafBoardSettings' does not contain a definition for 'ShowIrkooRepOnlyInTopics' and no extension method 'ShowIrkooRepOnlyInTopics' accepting a first argument of type 'YAF.Classes.YafBoardSettings' could be found



Check for latest version - looks like up\down-vote system broke yaf DNN module. Or try to disable Irkoo voting system if it possible (don't know where and how to do it cause not yet checked that.)


I run the latest version. I have not activated any Irkoo thingy. Apparently something is missing.


tha_watcha
  • Posts: 4081
  • Joined: 06/03/2010
Try my latest Nightly Build Revision 4061

http://my-dnn.de/k7PTp 
UserPostedImage
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    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

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved