The problem with CC.Net is all of the DLLs need to be on the same version
(or at least same major.minor.revision version) - especially within a folder
(sometimes CCTray will work with a different server, but this is not
guaranteed).

The following DLLs will need to match for the service:
> ThoughtWorks.CruiseControl.Core.dll
> ThoughtWorks.CruiseControl.Remote.dll
> ccservice.exe
> ccnet.exe

The following DLLs will need to match for the dashboard:
> ThoughtWorks.CruiseControl.WebDashboard.dll
> ThoughtWorks.CruiseControl.Core.dll
> ThoughtWorks.CruiseControl.Remote.dll

I would also advise that you use the same version of the dashboard as the
server. The best way of doing this is to back-up all your config files
(*.config) and install the newer version. Alternatively you could install to
a temporary location and just copy over the DLLs.

Hope this helps,



Craig

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Outlaw1803
Sent: Saturday, 14 February 2009 12:51 a.m.
To: ccnet-user
Subject: [ccnet-user] Re: Moving CCNet to a New Server


Hi Craig,

You are correct - the ccservice.exe version is 1.4.2.14 and
ThoughtWorks.CruiseControl.Core.dll version is 1.3.0.2918

Do i need to download the CCTray.exe v1.4.2 ?

The webpage still shows version  1.3.0.2918 - How do I update this to
show the latest version ?




On Feb 13, 10:46 am, "Craig & Sammi Sutherland"
<[email protected]> wrote:
> It sounds like you might have a version mismatch between the dashboard and
> the service - what versions are the two applications? The best way to find
> this information is to look at the assemblies (ccservice.exe and
> ThoughtWorks.CruiseControl.WebDashboard.dll).
>
> Craig
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
>
> Behalf Of Outlaw1803
> Sent: Friday, 13 February 2009 9:33 p.m.
> To: ccnet-user
> Subject: [ccnet-user] Moving CCNet to a New Server
>
> HI,
>
> I have moved the ccnet service to a new server. When running a project
> via the dashboard (Force Build), I have encountered strange errors.
> See below. I am however successful in building the project via the
> Command Line tool utility I am using. There is not much info in the
> log file though. Can someone assist by telling me what to look at?
>
> There was an exception trying to carry out your request. Details of
> the Exception are:
>
> Exception Message
> 1 arguments were passed to
> 'ThoughtWorks.CruiseControl.Remote.ICruiseManager::ForceBuild'. 2
> arguments were expected by this method.
>
> Exception Full Details
> System.Runtime.Remoting.RemotingException: 1 arguments were passed to
> 'ThoughtWorks.CruiseControl.Remote.ICruiseManager::ForceBuild'. 2
> arguments were expected by this method. Server stack trace: at
> System.Runtime.Remoting.Messaging.Message.CoerceArgs(MethodBase mb,
> Object[] args, ParameterInfo[] pi) at
> System.Runtime.Remoting.Messaging.Message.CoerceArgs(IMethodMessage m,
> ParameterInfo[] pi) at
> System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage
> (IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception
> rethrown at [0]: at
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
> reqMsg, IMessage retMsg) at
> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
> msgData, Int32 type) at
> ThoughtWorks.CruiseControl.Remote.ICruiseManager.ForceBuild(String
> projectName) at
>
ThoughtWorks.CruiseControl.WebDashboard.ServerConnection.ServerAggregatingC­
r
> uiseManagerWrapper.ForceBuild
> (IProjectSpecifier projectSpecifier) at
>
ThoughtWorks.CruiseControl.WebDashboard.Dashboard.VelocityProjectGridAction­
.
> ForceBuildIfNecessary
> (IRequest request) at
>
ThoughtWorks.CruiseControl.WebDashboard.Dashboard.VelocityProjectGridAction­
.
> GenerateView
> (ProjectStatusListAndExceptions projectStatusListAndExceptions, String
> actionName, IRequest request, IServerSpecifier serverSpecifier) at
>
ThoughtWorks.CruiseControl.WebDashboard.Dashboard.VelocityProjectGridAction­
.
> Execute
> (String actionName, IRequest request) at
>
ThoughtWorks.CruiseControl.WebDashboard.Plugins.FarmReport.FarmReportFarmPl­
u
> gin.Execute
> (ICruiseRequest request) at
>
ThoughtWorks.CruiseControl.WebDashboard.MVC.Cruise.CruiseActionProxyAction.­
E
> xecute
> (IRequest request) at
>
ThoughtWorks.CruiseControl.WebDashboard.MVC.Cruise.ExceptionCatchingActionP­
r
> oxy.Execute
> (IRequest request)- Hide quoted text -
>
> - Show quoted text -

Reply via email to