Welcome Jake,

As you are a new user of Castle, I'd advise against going with the 2007
Castle RC3 binaries. They are very old, and have bugs that have already been
fixed on the trunk and don't include all the new features created in the
last 2 years.

You would be better off downloading a prebuilt snapshot of the trunk (and
uninstalling the MSI) until MonoRail has another official release:
http://builds.castleproject.org/

On Mon, Jul 20, 2009 at 2:02 AM, JakeS <[email protected]> wrote:

>
> I'm pretty new to using Castle Project and have run into some sort of
> versioning/dependency issue.  I hope someone can help me sort it out.
>
> I'd started this monorail project linked to the binaries installed
> from CastleProject-1.0-RC3.msi under "C:\Program Files\Castle\bin
> \net-2.0.  But when I found I needed to share my project with another
> developer I created a "Libraries" folder and placed the files from
> Castle-net-2.0-release-2007-9-20.zip into it, then changed my
> references to point there.  But now when I debug the project it fails
> with the following error:
>
> Method 'CalculateParamPoints' in type
> 'Castle.MonoRail.ActiveRecordSupport.ARFetchAttribute' from assembly
> 'Castle.MonoRail.ActiveRecordSupport, Version=1.0.3.0,
> Culture=neutral, PublicKeyToken=407dd0808d44fbdc' does not have an
> implementation.
>
> [TypeLoadException: Method 'CalculateParamPoints' in type
> 'Castle.MonoRail.ActiveRecordSupport.ARFetchAttribute' from assembly
> 'Castle.MonoRail.ActiveRecordSupport, Version=1.0.3.0,
> Culture=neutral, PublicKeyToken=407dd0808d44fbdc' does not have an
> implementation.]
>   System.RuntimeTypeHandle._GetTypeByName(String name, Boolean
> throwOnError, Boolean ignoreCase, Boolean reflectionOnly,
> StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
>   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean
> throwOnError, Boolean ignoreCase, Boolean reflectionOnly,
> StackCrawlMark& stackMark) +64
>   System.RuntimeType.PrivateGetType(String typeName, Boolean
> throwOnError, Boolean ignoreCase, Boolean reflectionOnly,
> StackCrawlMark& stackMark) +58
>   System.Type.GetType(String typeName, Boolean throwOnError, Boolean
> ignoreCase) +65
>   Castle.MonoRail.Framework.Configuration.TypeLoadUtil.GetType(String
> typeName, Boolean ignoreError) +47
>
>
> Castle.MonoRail.Framework.Services.AjaxProxyGenerator.PrototypeAjaxProxyGenerator..cctor
> () +92
>
> [TypeInitializationException: The type initializer for
>
> 'Castle.MonoRail.Framework.Services.AjaxProxyGenerator.PrototypeAjaxProxyGenerator'
> threw an exception.]
>
> [TargetInvocationException: Exception has been thrown by the target of
> an invocation.]
>   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean
> publicOnly, Boolean noCheck, Boolean& canBeCached,
> RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
>   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean
> fillCache) +86
>   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean
> skipVisibilityChecks, Boolean fillCache) +230
>   System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
>   System.Activator.CreateInstance(Type type) +6
>   Castle.MonoRail.Framework.MonoRailServiceContainer.ActivateService
> (Type type) +70
>
> [ConfigurationErrorsException: Initialization Exception: Could not
> instantiate
>
> Castle.MonoRail.Framework.Services.AjaxProxyGenerator.PrototypeAjaxProxyGenerator]
>   Castle.MonoRail.Framework.MonoRailServiceContainer.ActivateService
> (Type type) +178
>
>
> Castle.MonoRail.Framework.MonoRailServiceContainer.InstantiateAndRegisterServices
> (ServiceEntryCollection services) +349
>   Castle.MonoRail.Framework.MonoRailServiceContainer.InitServices
> (MonoRailConfiguration config) +129
>   Castle.MonoRail.Framework.MonoRailServiceContainer.Start() +82
>
> Castle.MonoRail.Framework.EngineContextModule.CreateAndStartContainer
> (HttpApplication context) +166
>   Castle.MonoRail.Framework.EngineContextModule.Init(HttpApplication
> context) +193
>   System.Web.HttpApplication.InitModulesCommon() +65
>   System.Web.HttpApplication.InitModules() +43
>   System.Web.HttpApplication.InitInternal(HttpContext context,
> HttpApplicationState state, MethodInfo[] handlers) +729
>   System.Web.HttpApplicationFactory.GetNormalApplicationInstance
> (HttpContext context) +298
>   System.Web.HttpApplicationFactory.GetApplicationInstance
> (HttpContext context) +107
>   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
> +289
>
> Am I missing some dependency?  Why would things differ so much between
> these two installations?
>
> >
>


-- 
Jono

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to