New Reply

I've installed the free version of BuildMaster 3.5.7 on a reinstalled Win7 Family Premium (x64) system
When I try to start the BM service I receive:
"An unhandled exception ('System.TypeInitializationException') occurred in bmservice.exe [8736]. Just-In-Time debugging this exception failed with the following error:0x80040070

The BM database was created on an existing SQL Express 2012 DBMS.

Any ideas concerning the bmservice exception?
TIA
John

This error happens with certain database access errors; we will improve the error message in 3.5.9, but you can run the service interactively to find out what's up

http://inedo.com/support/kb/1015/running-the-buildmaster-services-interactively

Thanks Alex, tried that and got:
C:\BuildMaster\Service>bmservice /r
BuildMaster Service. 3.5.7.15.
Copyright © 2008.

Interactive Mode
Press ENTER to start. Once started, press CTRL-C to quit...

Verifying server name...
Server name has changed; updating...
Verifying server and database time difference...
Initializing Extensions...
Extensions Path: C:\BuildMaster\Extensions
Initializing Extensions Manager...
Initializing Additional Assemblies...
Adding BuildMasterExtensions...
BuildMasterExtensions added.
Initializing Assemblies...
Loading extension DotNet2...
Loading extension DotNetRecipes...
Loading extension GeneralRecipes...
Loading extension Windows...
Initializing Masked Persistent Types...
Extensions Manager initializing complete.
Starting the AgentUpdater...
Starting the PlanExecuter...
Checking for currently executiong plans...
Beginning Agent Scan...
Agent status update countdown has reached 0, scanning agents...
Queuing JOHN-PC for scan...
Scanning agent for JOHN-PC...
Starting the ScheduleExecuter...
Starting the NotifierExecuter...
Starting the ExtensionUpdateExecuter...
Seeking notifiers since 22/04/2013 06:04:42...
Starting the IntegratedWebServer...
Agent for JOHN-PC reported READY.
Getting executions to execute...
No executions found
0 buildSchedules found.
0 Notifier(s) need to be run
Getting executions to execute...
No executions found
Unhandled Exception: System.Net.HttpListenerException: Accès refusé

Server stack trace:
à System.Net.HttpListener.AddAll()
à System.Net.HttpListener.Start()
à Inedo.Web.Server.HttpListenerHost.Start(WebServerConfiguration settings)
à System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(I
ntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInConte
xt, Object[]& outArgs)
à System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMess
age msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
à System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqM
sg, IMessage retMsg)
à System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgDat
a, Int32 type)
à Inedo.Web.Server.HttpListenerHost.Start(WebServerConfiguration settings)
à Inedo.Web.Server.IntegratedServer.ProcessRequests()
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, Co
ntextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Beginning Agent Scan...
Agent status update countdown is 10, decrementing and skipping status update.
Getting executions to execute...
No executions found
0 buildSchedules found.
Seeking notifiers since 22/04/2013 06:04:42...
0 Notifier(s) need to be run
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...
No executions found
Getting executions to execute...

At which point I killed it.

On a side note the web server starts then stops immediately.
If you need more info tell me
Thanks
John

In this case, it's the problem with the credentials the service is running under.

The service credentails need to have a login to the database and be granted the BuildMasterUser_Role.

Thanks Alex.
Changing the type/user credentials did the trick.
John

Answer Details

Preview:

Post Reply