nguyenhuuanh
2010-06-15T15:21:19Z
DotNetNuke.Services.Exceptions.ModuleLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Module.GetTypes() at YAF.Modules.YafModuleManager`1.FindModules(IList assemblies, String moduleNamespace, String moduleBaseInterface) at YAF.Modules.YafModuleManager`1.AddModules(List`1 assemblies) at YAF.Modules.YafBaseModuleManager..ctor() --- 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 ASP.desktopmodules_yetanotherforumdotnet_yafdnnmodule_ascx.__BuildControlForum1() at ASP.desktopmodules_yetanotherforumdotnet_yafdnnmodule_ascx.__BuildControlpnlModuleContent() at ASP.desktopmodules_yetanotherforumdotnet_yafdnnmodule_ascx.__BuildControlTree(desktopmodules_yetanotherforumdotnet_yafdnnmodule_ascx __ctrl) at ASP.desktopmodules_yetanotherforumdotnet_yafdnnmodule_ascx.FrameworkInitialize() at System.Web.UI.UserControl.InitializeAsUserControlInternal() at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---



PLEASE HELP ME. I'M VIETNAMESE, ENGLISH BAD. hi
Sponsor
tha_watcha
2010-06-15T15:59:16Z
Try my extended dnn module version

YAF-DNN5-Module 1.9.4.0 SVN 3431
http://my-dnn.de/t6BXk 
UserPostedImage
nguyenhuuanh
2010-06-15T16:27:46Z
Thanks for tha_watcha. Very good.
nguyenhuuanh
2010-06-15T17:28:22Z
When i create forum, Error
The INSERT statement conflicted with the FOREIGN KEY SAME TABLE constraint "FK_yaf_Forum_yaf_Forum". The conflict occurred in database "frlmkhdb", table "dbo.yaf_Forum", column 'ForumID'. Cannot insert the value NULL into column 'ForumID', table 'frlmkhdb.dbo.yaf_ForumAccess'; column does not allow nulls. INSERT fails. The statement has been terminated. The statement has been terminated.


Step following
UserPostedImage

Thanks for help me.:o
tha_watcha
2010-06-16T13:34:12Z
This might look like a bug in the latest yaf svn source.

I guess this will be fixed soon.
UserPostedImage
tha_watcha
2010-06-17T10:39:31Z
Already fixed [YAF-78]

My Dnn Package has been Updated to SVN 3433

YAF-DNN5-Module 1.9.4.0 SVN 3433
my-dnn.de/t6BXk 

Dont forget to run the DB Upgrade Installer (/DesktopModules/YetAnotherForumdotNET/Install/)
UserPostedImage
nguyenhuuanh
2010-06-18T13:51:03Z
I have a problem:
I use the host account to log on to the forum, but I do not read articles by me or someone created, but if I can read that article in Active Discussions.

The forum I have setup guest: read only, administrator:admin, user regitered: member access...
Please help me
Demo here 
user admin: test pass:1234567

igrena.inc
2010-06-21T18:24:16Z
Hi,
I am having the same issue as described in the original post.

I've got the latest installation package - version YAFDNN_Complete_1.94.0_SVN-3436.

My DNN version is 5.4.2; on the Module Definition page in DNN, YAF version is specified as 1.94.8.

Here is excerpt from the Log Viewer

Method: System.Reflection.Module._GetTypesInternal
StackTrace: 
Message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Module.GetTypes() at YAF.Modules.YafModuleManager`1.FindModules(IList assemblies, String moduleNamespace, String moduleBaseInterface) at YAF.Modules.YafModuleManager`1.AddModules(List`1 assemblies) at YAF.Modules.YafBaseModuleManager..ctor() --- 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 .....[skipped]....


Thanks for your help!
tha_watcha
2010-06-21T23:43:49Z
Did you Upgrade from and previous version?
UserPostedImage
igrena.inc
2010-06-22T00:22:25Z
tha_watcha wrote:

Did you Upgrade from and previous version?



no, it was a new installation
nCdy
  •  nCdy
  • 57.2% (Neutral)
  • YAF Camper
2010-06-28T06:05:44Z
hm... installed lastest versions got same error as on first post
tha_watcha
2010-06-28T09:15:00Z
nCdy wrote:

hm... installed lastest versions got same error as on first post



Did you try the build from yesterday 3454?
UserPostedImage
nCdy
  •  nCdy
  • 57.2% (Neutral)
  • YAF Camper
2010-06-28T10:40:31Z
Made installation (http://localhost/DesktopModules/YetAnotherForumDotNet/install/) using it :

    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
      <providers>
        <clear />
        <add connectionStringName="SiteSqlServer" applicationName="DotNetNuke" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" />
      </providers>
    </roleManager>
    <profile enabled="true" defaultProvider="AspNetSqlProfileProvider" inherits="YAF.Classes.Utils.YafUserProfile">
      <providers>
        <clear />
        <add connectionStringName="SiteSqlServer" applicationName="DotNetNuke" name="YafProfileProvider" type="YAF.Providers.Profile.YafProfileProvider" />
        <add connectionStringName="SiteSqlServer" applicationName="DotNetNuke" name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" />
      </providers>
    </profile>


But anyways got this error when adding module on portal :

Quote:

DotNetNuke.Services.Exceptions.ModuleLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Module.GetTypes() at YAF.Modules.YafModuleManager`1.FindModules(IList assemblies, String moduleNamespace, String moduleBaseInterface) at YAF.Modules.YafModuleManager`1.AddModules(List`1 assemblies) at YAF.Modules.YafBaseModuleManager..ctor() --- 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 ASP.desktopmodules_yetanotherforumdotnet_yafdnnmodule_ascx.__BuildControlForum1() at ASP.desktopmodules_yetanotherforumdotnet_yafdnnmodule_ascx.__BuildControlpnlModuleContent() at ASP.desktopmodules_yetanotherforumdotnet_yafdnnmodule_ascx.__BuildControlTree(desktopmodules_yetanotherforumdotnet_yafdnnmodule_ascx __ctrl) at ASP.desktopmodules_yetanotherforumdotnet_yafdnnmodule_ascx.FrameworkInitialize() at System.Web.UI.UserControl.InitializeAsUserControlInternal() at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---



:(
nguyenhuuanh
2010-06-28T11:09:53Z
Try dnn module version

YAF-DNN5-Module 1.9.4.0 SVN 3454
http://my-dnn.de/t6BXk 

Working.
nCdy
  •  nCdy
  • 57.2% (Neutral)
  • YAF Camper
2010-06-28T11:15:44Z
I'm using this version . . .

So , I'll try to reinstall it.


Yes ! It's alive 🙂 Thank you !

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