I'm just getting started with HPC and ran into a problem. I can't create a WCF session. This line throws an error.
var session = Session.CreateSession(info)
Microsoft.Hpc.Scheduler.Session.SessionException was unhandled Message="An exception occurred when submitting the job, see inner exception" Source="Microsoft.Hpc.Scheduler.Session" StackTrace: at Microsoft.Hpc.Scheduler.Session.Session.EndCreateSession(IAsyncResult result) at ClientProgram.Program.Main(String[] args) in D:\TestArea\HPC.WCF.RandomTextGeneration\ClientProgram\Program.cs:line 20 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException: Microsoft.Hpc.Scheduler.Properties.SchedulerException Message="Unexpected exception -- Please see the broker execution log (under the user's profile directory)." Code=-2147215972 InnerException:
So I looked into the event log on the Broker node and I see this:
Broker Job:90 Failed to start/stop the load balancer service. Error:Job could not be modified because jobs in the Finishing state cannot be modified.
Anyone have a suggestion on where I should start at troubleshooting this?
Nevermind, I found the problem by looking in the failed task property. Had a bad path in my service registration file.
Microsoft.Hpc.HpcServiceHosting Error: 0 : Service Host Job Id = 93, Task System Id = 255, Running on DVDHPCCOMPUTE01 [Main]: Cannot find the assembly file: D:\Services\HPC.WCF.RandomTextGeneration\bin\HPC.WCF.RandomTextGeneration.dll. Redeploy service HPC.WCF.RandomTextGeneration.dll. DateTime=2009-07-11T19:55:23.5017056Z