NullReferenceException in System.Runtime.Remoting.Channels.CoreChannel.SetupUrlBashingForIisSslIfNec

S

Samuel R. Neff

We just started getting NullReferenceException in one of our
applications on our demo server.

This is occuring in a .NET Windows Service that is using binary
remoting over TCP to talk to another .NET Windows Service on the same
machine.

..NET 1.1 SP1

Any suggestions?

Thanks,

Sam



Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: System.Runtime.Remoting

Server stack trace:
at
System.Runtime.Remoting.Channels.CoreChannel.SetupUrlBashingForIisSslIfNecessary()
at
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.SerializeResponse(IServerResponseChannelSinkStack
sinkStack, IMessage msg, ITransportHeaders& headers, Stream& stream)
at
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack
sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders,
Stream requestStream, IMessage& responseMsg, ITransportHeaders&
responseHeaders, Stream& responseStream)

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 USDA.FSIS.CCMS2.EPFC.ISimilarCasesManager.GetSimilarCases(String
caseId)
at
USDA.FSIS.CCMS2.CCMS.Server.Controllers.SimilarCaseController.RefreshEpfcSimilarCases(String
caseID)
at
USDA.FSIS.CCMS2.CCMS.Server.CaseManager.GetSimilarCaseListForCaseWithRefresh(String
caseID)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase
mb, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext)
 
P

Peter Huang [MSFT]

Hi

So far it is hard to guess what had happened.
Based on my understanding, the program will work well before and stop
working from certian time.
If I have any misunderstanding, please feel free to post here.

If so, what change have made to your environment,(your software
configration/ new installed soft)
Also you may try a simple new remoting over TCP will work at your machine.
e.g. try the sample code.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconremotingexamples.asp

Also to detailed troubleshooting the problem, I think we need to create
dump at your machine and do dump analysis, for that service, I think you
need to contact MSPSS support via the link below.
http://support.microsoft.com

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top