Hi, I'm download "Getting started with ActiveRecord" sample from link: http://www.castleproject.org/activerecord/gettingstarted/index.html
I'm create database changing connection in appconfig.xml file run it throws an exception: System.TypeInitializationException was unhandled Message="The type initializer for 'Castle.ActiveRecord.Framework.Internal.EventListener.EventListenerContributor' threw an exception." Source="Castle.ActiveRecord" TypeName="Castle.ActiveRecord.Framework.Internal.EventListener.EventListenerContributor" StackTrace: at Castle.ActiveRecord.Framework.Internal.EventListener.EventListenerContributor..ctor() at Castle.ActiveRecord.ActiveRecordStarter.RegisterEventListeners(IEnumerable`1 types) at Castle.ActiveRecord.ActiveRecordStarter.Initialize(IConfigurationSource source, Type[] types) at BlogSample.App.Main() in D:\lecong's Data\PASONA_MyFile\docs\Castle Active Record\InitializingAndConfiguring\App.cs:line 42 at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() Can you help me? P/S: please send mail to me. thanks -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
