none
No elements matching the key Microsoft.Hpc.LauncherNetTcpBinding were found in the configuration element collection

    Question

  • I get the following error while creating a session on HPC Pack 2016. I am trying to port HPC from 2012 to 2016 (completely different servers). Where do I need to add this LauncherNetTCPBinding element and how ? (I remember not doing anything like this for 2012 Pack)

    I have the following SDK files made available to the code/app that is trying to create the session:

    1) System.Net.Http.Formatting.dll

    2) NewtonSoft.Json.dll

    3) Microsoft.Hpc.Scheduler.dll

    4) Microsoft.Hpc.Scheduler.Session.dll

    5) Microsoft.Hpc.Scheduler.Properties.dll

    6) HpcCommon.dll

    What am I missing?

    Stack trace:

    <E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">

    <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"><EventID>131075</EventID><Type>3</Type><SubType Name="Error">0</SubType><Level>2</Level><TimeCreated SystemTime="2018-03-28T16:19:30.4359531Z" />

    <Source Name="System.ServiceModel" /><Correlation ActivityID="{fc8a9e9f-ce45-4f06-b915-85cce6720a3d}" />

    <Execution ProcessName="w3wp" ProcessID="14724" ThreadID="86" /><Channel /><Computer>NAME</Computer></System><ApplicationData><TraceData><DataItem><TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error">

    <TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing an exception.</Description><AppDomain>/LM/W3SVC/1/ROOT/ng-6-131667275515965758</AppDomain>

    <Exception><ExceptionType>System.Collections.Generic.KeyNotFoundException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>

    <Message>No elements matching the key 'Microsoft.Hpc.LauncherNetTcpBinding' were found in the configuration element collection.</Message><StackTrace>

    at System.ServiceModel.Configuration.ServiceModelConfigurationElementCollection`1.get_Item(Object key) at System.ServiceModel.NetTcpBinding.ApplyConfiguration(String configurationName) at Microsoft.Hpc.Scheduler.Session.ConnectionInfoExtension.GetSessionLauncherBinding(IConnectionInfo info) at Microsoft.Hpc.Scheduler.Session.Internal.SessionLauncherClient..ctor(SessionStartInfo startInfo, Binding binding) at Microsoft.Hpc.Scheduler.Session.Internal.ServiceJobProvider..ctor(SessionStartInfo info, Binding binding) at Microsoft.Hpc.Scheduler.Session.Internal.OnPremiseSessionFactory.BuildResourceProvider(SessionStartInfo startInfo, Boolean durable, Binding binding) at Microsoft.Hpc.Scheduler.Session.Internal.OnPremiseSessionFactory.&amp;lt;CreateSession&amp;gt;d__0.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine&amp;amp; stateMachine) at Microsoft.Hpc.Scheduler.Session.Internal.OnPremiseSessionFactory.CreateSession(SessionStartInfo startInfo, Boolean durable, Int32 timeoutMilliseconds, Binding binding) at Microsoft.Hpc.Scheduler.Session.DurableSession.&amp;lt;CreateSessionAsync&amp;gt;d__4.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine&amp;amp; stateMachine) at Microsoft.Hpc.Scheduler.Session.DurableSession.CreateSessionAsync(SessionStartInfo startInfo, Binding binding) at Microsoft.Hpc.Scheduler.Session.DurableSession.CreateSession(SessionStartInfo startInfo, Binding binding) at <CustomCode...> at <CustomCode...> at <CustomCode...> at SyncInvokeExecuteNG(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp;amp; outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc&amp;amp; rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext) at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext) at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result) at System.ServiceModel.Dispatcher.ChannelHandler.OnContinueAsyncReceive(Object state) at System.Runtime.ActionItem.DefaultActionItem.TraceAndInvoke() at System.Runtime.ActionItem.DefaultActionItem.Invoke() at System.Runtime.ActionItem.CallbackHelper.InvokeWithoutContext(Object state) at System.Runtime.IOThreadScheduler.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) at System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) </StackTrace><ExceptionString>System.Collections.Generic.KeyNotFoundException: No elements matching the key 'Microsoft.Hpc.LauncherNetTcpBinding'

    were found in the configuration element collection.</ExceptionString></Exception>

    </TraceRecord></DataItem></TraceData></ApplicationData></E2ETraceEvent>



    • Edited by SRIRAM R Wednesday, 28 March 2018 4:41 PM
    Wednesday, 28 March 2018 4:40 PM

All replies

  • Hi,

    Could you tell us what's your exact SDK version and server version? It is a version number like 5.0.5826.0.

    Thanks,
    Zihao

    Thursday, 29 March 2018 2:42 AM
  • HPC Cluster Manager -> About  - 5.1.6086

    SDK DLLs: 5.1.6092 (from Nuget)

    I had originally installed HPC Pack 2016 and installed Update 1.

    Thursday, 29 March 2018 5:43 PM
  • Hi,

    In SDK 5.1.6092, 

    System.Collections.Generic.KeyNotFoundException: No elements matching the key 'Microsoft.Hpc.LauncherNetTcpBinding'

    is a expected exception which will get caught in GetSessionLauncherBinding. Can you make sure the SDK assemblies get loaded is expected?

    Thanks,
    Zihao

    Friday, 30 March 2018 2:55 AM
  • So here is the next one. It's trying to load a 2.0 version of Scheduler.Session..

    The dev machine points to v5.0 of Hpc Dlls.(and its evident from the stack trace below)

    Tried the "assemblyredirect" to no avail:

    <E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
    <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
    <EventID>131076</EventID>
    <Type>3</Type>
    <SubType Name="Error">0</SubType>
    <Level>2</Level>
    <TimeCreated SystemTime="2018-04-03T01:35:16.3849090Z" />
    <Source Name="System.ServiceModel" />
    <Correlation ActivityID="{3b9cb3a0-9798-443e-aade-96d1a1dedc2b}" />
    <Execution ProcessName="w3wp" ProcessID="13756" ThreadID="62" />
    <Channel />
    <Computer>HEADNODE</Computer>
    </System>
    <ApplicationData>
    <TraceData>
    <DataItem>
    <TraceRecord Severity="Error" Channel="Operational" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
    <TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.TraceHandledException.aspx</TraceIdentifier>
    <Description>Handling an exception. Exception details: Microsoft.Hpc.Scheduler.Session.SessionException: Failed to connect to HPC session service. See inner exception for details. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Could not load file or assembly 'Microsoft.Hpc.Scheduler.Session, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
       at Microsoft.Hpc.Scheduler.Session.Internal.RetryHelper`1.<InvokeOperationAsync>d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Hpc.Scheduler.Session.Internal.ServiceJobProvider.<AllocateResource>d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
       at Microsoft.Hpc.Scheduler.Session.Internal.OnPremiseSessionFactory.<CreateSession>d__0.MoveNext()
       --- End of inner exception stack trace ---
       at Microsoft.Hpc.Scheduler.Session.Internal.OnPremiseSessionFactory.<CreateSession>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Hpc.Scheduler.Session.DurableSession.<CreateSessionAsync>d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Hpc.Scheduler.Session.DurableSession.CreateSession(SessionStartInfo startInfo, Binding binding)
       at <CustomCode> in <..>\ServiceWorker.svc.cs:line 108
       at <CustomCode>
       at SyncInvokeExecuteNG(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</Description>
    <AppDomain>/LM/W3SVC/1/ROOT/ng-3-131671928514022908</AppDomain>
    <Exception>
    <ExceptionType>Microsoft.Hpc.Scheduler.Session.SessionException, Microsoft.Hpc.Scheduler.Session, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</ExceptionType>
    <Message>Failed to connect to HPC session service. See inner exception for details.</Message>
    <StackTrace>
    at Microsoft.Hpc.Scheduler.Session.Internal.OnPremiseSessionFactory.&lt;CreateSession&gt;d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.Hpc.Scheduler.Session.DurableSession.&lt;CreateSessionAsync&gt;d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.Hpc.Scheduler.Session.DurableSession.CreateSession(SessionStartInfo startInfo, Binding binding)
    at <CustomCode> ServiceWorker.svc.cs:line 108
    at <CustomCode>
    at SyncInvokeExecuteNG(Object , Object[] , Object[] )
    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp; outputs)
    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
    </StackTrace>
    <ExceptionString>Microsoft.Hpc.Scheduler.Session.SessionException: Failed to connect to HPC session service. See inner exception for details. ---&gt; System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Could not load file or assembly 'Microsoft.Hpc.Scheduler.Session, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
       at Microsoft.Hpc.Scheduler.Session.Internal.RetryHelper`1.&lt;InvokeOperationAsync&gt;d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Hpc.Scheduler.Session.Internal.ServiceJobProvider.&lt;AllocateResource&gt;d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
       at Microsoft.Hpc.Scheduler.Session.Internal.OnPremiseSessionFactory.&lt;CreateSession&gt;d__0.MoveNext()
       --- End of inner exception stack trace ---
       at Microsoft.Hpc.Scheduler.Session.Internal.OnPremiseSessionFactory.&lt;CreateSession&gt;d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Hpc.Scheduler.Session.DurableSession.&lt;CreateSessionAsync&gt;d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Hpc.Scheduler.Session.DurableSession.CreateSession(SessionStartInfo startInfo, Binding binding)
       at <CustomCode> ServiceWorker.svc.cs:line 108
       at <CustomCode>
       at SyncInvokeExecuteNG(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp; outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</ExceptionString>
    <InnerException>
    <Exception>
    <ExceptionType>System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>Could not load file or assembly 'Microsoft.Hpc.Scheduler.Session, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)</Message>
    <StackTrace>
    at Microsoft.Hpc.Scheduler.Session.Internal.RetryHelper`1.&lt;InvokeOperationAsync&gt;d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.Hpc.Scheduler.Session.Internal.ServiceJobProvider.&lt;AllocateResource&gt;d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
    at Microsoft.Hpc.Scheduler.Session.Internal.OnPremiseSessionFactory.&lt;CreateSession&gt;d__0.MoveNext()
    </StackTrace>
    <ExceptionString>System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Could not load file or assembly 'Microsoft.Hpc.Scheduler.Session, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
    System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Hpc.Scheduler.Session, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
       at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
       at System.Configuration.MgmtConfigurationRecord.CreateSectionGroupFactory(FactoryRecord factoryRecord)
       at System.Configuration.MgmtConfigurationRecord.EnsureSectionGroupFactory(FactoryRecord factoryRecord)
       at System.Configuration.MgmtConfigurationRecord.GetSectionGroup(String configKey)
       at Microsoft.Hpc.Scheduler.Session.Configuration.ServiceRegistration.GetSectionGroup(Configuration config)
       at Microsoft.Hpc.Scheduler.Session.Internal.SessionLauncher.SessionLaun...).</ExceptionString>
    

    Here is what I tried for assemblydirect:

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <publisherPolicy apply="no" />
            <assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
            <bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.121.2.0" />
          </dependentAssembly>
        </assemblyBinding>
    	<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    	<dependentAssembly>
            <assemblyIdentity name="Microsoft.Hpc.Scheduler" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="2.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
          </dependentAssembly>
        </assemblyBinding>
    	<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Hpc.Scheduler.Session" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="2.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
          </dependentAssembly>
        </assemblyBinding>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Hpc.Scheduler.Store" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="2.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
          </dependentAssembly>
        </assemblyBinding>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Hpc.Scheduler.Properties" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="2.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
          </dependentAssembly>
        </assemblyBinding>	

    Tuesday, 3 April 2018 1:52 AM
  • Hi,

    It is possible that who is loading Scheduler.Session v2 is also a v2 dll. In that case there is no v5 dll can be resolved by it. So assembly redirect will not work.

    You can check which dll is loding Scheduler.Session v2 using fusion log.

    Also, if you have HPC Pack 2012 client components installed, you can uninstall it then retry.

    Thanks,
    Zihao


    Tuesday, 3 April 2018 2:45 AM
  • I do not have HPC Pack 2012 client component on the server where I am seeing this error.

    Here is the fusion log. Is there  Hpc.Scheduler.Session.resources.dll that is missing ( did not find any v2.0 failed binds in the log)

    *** Assembly Binder Log Entry  (4/2/2018 @ 10:12:05 PM) ***
    
    The operation failed.
    Bind result: hr = 0x80070002. The system cannot find the file specified.
    
    Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
    Running under executable  C:\Windows\SysWOW64\inetsrv\w3wp.exe
    --- A detailed error log follows. 
    
    === Pre-bind state information ===
    LOG: DisplayName = Microsoft.Hpc.Scheduler.Session.resources, Version=5.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35
     (Fully-specified)
    LOG: Appbase = file:///C:/inetpub/wwwroot/ng/
    LOG: Initial PrivatePath = C:\inetpub\wwwroot\ng\bin
    LOG: Dynamic Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\ng\d8f77551
    LOG: Cache Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\ng\d8f77551
    LOG: AppName = a8bb573d
    Calling assembly : Microsoft.Hpc.Scheduler.Session, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\inetpub\wwwroot\ng\web.config
    LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Post-policy reference: Microsoft.Hpc.Scheduler.Session.resources, Version=5.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35
    LOG: GAC Lookup was unsuccessful.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/ng/d8f77551/a8bb573d/en-US/Microsoft.Hpc.Scheduler.Session.resources.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/ng/d8f77551/a8bb573d/en-US/Microsoft.Hpc.Scheduler.Session.resources/Microsoft.Hpc.Scheduler.Session.resources.DLL.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/ng/bin/en-US/Microsoft.Hpc.Scheduler.Session.resources.DLL.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/ng/bin/en-US/Microsoft.Hpc.Scheduler.Session.resources/Microsoft.Hpc.Scheduler.Session.resources.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/ng/d8f77551/a8bb573d/en-US/Microsoft.Hpc.Scheduler.Session.resources.EXE.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/ng/d8f77551/a8bb573d/en-US/Microsoft.Hpc.Scheduler.Session.resources/Microsoft.Hpc.Scheduler.Session.resources.EXE.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/ng/bin/en-US/Microsoft.Hpc.Scheduler.Session.resources.EXE.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/ng/bin/en-US/Microsoft.Hpc.Scheduler.Session.resources/Microsoft.Hpc.Scheduler.Session.resources.EXE.
    LOG: All probing URLs attempted and failed.
    
    
    *** Assembly Binder Log Entry  (4/2/2018 @ 10:12:05 PM) ***
    
    The operation failed.
    Bind result: hr = 0x80070002. The system cannot find the file specified.
    
    Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
    Running under executable  C:\Windows\SysWOW64\inetsrv\w3wp.exe
    --- A detailed error log follows. 
    
    === Pre-bind state information ===
    LOG: DisplayName = Microsoft.Hpc.Scheduler.Session.resources, Version=5.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35
     (Fully-specified)
    LOG: Appbase = file:///C:/inetpub/wwwroot/ng/
    LOG: Initial PrivatePath = C:\inetpub\wwwroot\ng\bin
    LOG: Dynamic Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\ng\d8f77551
    LOG: Cache Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\ng\d8f77551
    LOG: AppName = a8bb573d
    Calling assembly : Microsoft.Hpc.Scheduler.Session, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\inetpub\wwwroot\ng\web.config
    LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Post-policy reference: Microsoft.Hpc.Scheduler.Session.resources, Version=5.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35
    LOG: GAC Lookup was unsuccessful.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/ng/d8f77551/a8bb573d/en-US/Microsoft.Hpc.Scheduler.Session.resources.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/ng/d8f77551/a8bb573d/en-US/Microsoft.Hpc.Scheduler.Session.resources/Microsoft.Hpc.Scheduler.Session.resources.DLL.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/ng/bin/en-US/Microsoft.Hpc.Scheduler.Session.resources.DLL.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/ng/bin/en-US/Microsoft.Hpc.Scheduler.Session.resources/Microsoft.Hpc.Scheduler.Session.resources.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/ng/d8f77551/a8bb573d/en-US/Microsoft.Hpc.Scheduler.Session.resources.EXE.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/ng/d8f77551/a8bb573d/en-US/Microsoft.Hpc.Scheduler.Session.resources/Microsoft.Hpc.Scheduler.Session.resources.EXE.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/ng/bin/en-US/Microsoft.Hpc.Scheduler.Session.resources.EXE.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/ng/bin/en-US/Microsoft.Hpc.Scheduler.Session.resources/Microsoft.Hpc.Scheduler.Session.resources.EXE.
    LOG: All probing URLs attempted and failed.
    
    

    Tuesday, 3 April 2018 3:36 AM
  • Hi,

    I don't think this is the log entry in question. As you can see

    Calling assembly : Microsoft.Hpc.Scheduler.Session, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

    In this log entry, Hpc.Scheduler.Session version 5.0.0.0 is already get loaded and trying to load its resource satellite assembly, which is not provided by our SDK and that's OK.

    If you are not seeing any entry regards to 'Microsoft.Hpc.Scheduler.Session, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', then it is possible that you are checking a wrong node. If you are currently checking fusion log in client machine, please check the HPC server node instead, and visa versa.

    Thanks,
    Zihao

    Tuesday, 3 April 2018 4:25 AM