Risorse per professionisti IT >
Home page del forum
>
Windows HPC Server Developers - General
>
StackOverflow exception in wcf EchoClient example.
StackOverflow exception in wcf EchoClient example.
In the wcf example I'm getting a stackoverflow from the
Microsoft.Hpc.Scheduler.Store.dll. I'm running the client program from
a XP machine in the same domain as the compute cluster. I can see the
job being created in the job manager.
I've tried to run the example for the head node as well. But I'm
getting a what looks like a security exception. Does anyone have any insights?
I included the output below.> C:\TempShare\EchoClient\bin\Debug>EchoClient.exe
> Creating a session...
> Microsoft.Hpc.Scheduler.Session.SessionException: An exception
> occurred when submitting the job, see inner exception --->
> Microsoft.Hpc.Scheduler.Properties.SchedulerException: Unexpected
> exception --
> Please see the broker execution log (under the user's profile directory).
> --- End of inner exception stack trace ---
> at
> Microsoft.Hpc.Scheduler.Session.Session.EndCreateSession(IAsyncResult
> result)
> at EchoClient.Program.Main(String[] args) in C:\Program
> Files\Microsoft HPC Pack 2008
> SDK\Samples\wcfbroker\HelloWorld\EchoClient\Program.cs:line 53
>
> C:\TempShare\EchoClient\bin\Debug>EchoClient.exe
> Creating a session...
> Microsoft.Hpc.Scheduler.Session.SessionException: An exception
> occurred when submitting the job, see inner exception --->
> Microsoft.Hpc.Scheduler.Properties.SchedulerException: Unexpected
> exception --
> Please see the broker execution log (under the user's profile directory).
> --- End of inner exception stack trace ---
> at
> Microsoft.Hpc.Scheduler.Session.Session.EndCreateSession(IAsyncResult
> result)
> at EchoClient.Program.Main(String[] args) in C:\Program
> Files\Microsoft HPC Pack 2008
> SDK\Samples\wcfbroker\HelloWorld\EchoClient\Program.cs:line 53
>
> C:\TempShare\EchoClient\bin\Debug>EchoClient.exe
> Creating a session...
> Session's Endpoint Reference:net.tcp://wrphpc001:9087/broker/73
>
> Unhandled Exception:
> System.ServiceModel.Diagnostics.CallbackException: An AsyncCallback
> threw an exception. --->
> System.ServiceModel.Security.SecurityAccessDeniedException: Access is
> denied.
>
> Server stack trace:
> at
> System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message
> reply, MessageFault fault, String action, MessageVersion version,
> FaultConverter faultConverter)
> at
> System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime
> operation, ProxyRpc& rpc)
> at System.ServiceModel.Channels.ServiceChannel.EndCall(String
> action, Object[] outs, IAsyncResult result)
> at
> System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage
> methodCall, ProxyOperationRuntime operation)
> at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
> message)
>
> 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 IEchoSvc.EndEcho(IAsyncResult result)
> at EchoSvcClient.EndEcho(IAsyncResult result) in C:\Program
> Files\Microsoft HPC Pack 2008
> SDK\Samples\wcfbroker\HelloWorld\EchoClient\EchoSvcLib.cs:line 78
> at EchoClient.Program.RequestState.GetResult(IAsyncResult result)
> in C:\Program Files\Microsoft HPC Pack 2008
> SDK\Samples\wcfbroker\HelloWorld\EchoClient\Program.cs:line 105
> at EchoClient.Program.EchoCallback(IAsyncResult result) in
> C:\Program Files\Microsoft HPC Pack 2008
> SDK\Samples\wcfbroker\HelloWorld\EchoClient\Program.cs:line 113
> at System.ServiceModel.AsyncResult.Complete(Boolean
> completedSynchronously)
> --- End of inner exception stack trace ---
> at System.ServiceModel.AsyncResult.Complete(Boolean
> completedSynchronously)
> at
> System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishSend(IAsyncResult
> result, Boolean completedSynchronously)
> at
> System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult
> result)
> at System.ServiceModel.AsyncResult.Complete(Boolean
> completedSynchronously)
> at
> System.ServiceModel.Dispatcher.DuplexChannelBinder.AsyncDuplexRequest.Done(Boolean
> completedSynchronously)
> at
> System.ServiceModel.Dispatcher.DuplexChannelBinder.AsyncDuplexRequest.GotReply(Message
> reply)
> at
> System.ServiceModel.Dispatcher.DuplexChannelBinder.HandleRequestAsReply(Message
> message)
> at
> System.ServiceModel.Dispatcher.ChannelHandler.HandleRequestAsReply(RequestContext
> request)
> at
> System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext
> request, OperationContext currentOperationContext)
> at
> System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult
> result)
> at
> System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult
> result)
> at System.ServiceModel.AsyncResult.Complete(Boolean
> completedSynchronously)
> at
> System.ServiceModel.Channels.FramingDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult
> result)
> at
> System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult
> result)
> at System.ServiceModel.AsyncResult.Complete(Boolean
> completedSynchronously)
> at
> System.ServiceModel.Channels.SynchronizedMessageSource.SynchronizedAsyncResult`1.CompleteWithUnlock(Boolean
> synchronous, Exception exception)
> at
> System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object
> state)
> at
> System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object
> state)
> at
> System.ServiceModel.Channels.StreamConnection.OnRead(IAsyncResult result)
> at
> System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult
> result)
> at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
> at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object
> result, IntPtr userToken)
> at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32
> readBytes, Byte[] buffer, Int32 offset, Int32 count,
> AsyncProtocolRequest asyncRequest)
> at
> System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest
> asyncRequest)
> at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32
> bytes)
> at System.Net.FixedSizeReader.ReadCallback(IAsyncResult
> transportResult)
> at System.ServiceModel.AsyncResult.Complete(Boolean
> completedSynchronously)
> at
> System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.OnAsyncReadComplete(Object
> state)
> at System.ServiceModel.Channels.SocketConnection.FinishRead()
> at
> System.ServiceModel.Channels.SocketConnection.AsyncReadCallback(Boolean
> haveResult, Int32 error, Int32 bytesRead)
> at
> System.ServiceModel.Diagnostics.Utility.IOCompletionThunk.UnhandledExceptionFrame(UInt32
> error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
> at
> System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32
> errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
>
> C:\TempShare\EchoClient\bin\Debug>
>
>
Risposte
Am I correct in assuming that you've gotten your problem resolved at this point since there were no follow-up questions in this thread?
- Contrassegnato come rispostaDon PatteeMSFT, Moderatoresabato 25 luglio 2009 6.28
Tutte le risposte
Am I correct in assuming that you've gotten your problem resolved at this point since there were no follow-up questions in this thread?
- Contrassegnato come rispostaDon PatteeMSFT, Moderatoresabato 25 luglio 2009 6.28

