By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,032 Members | 1,333 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,032 IT Pros & Developers. It's quick & easy.

NullReferenceException in System.Runtime.Remoting.Channels.CoreChannel.Setup UrlBashingForIisSslIfNecessary ???

P: n/a

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

..NET 1.1 SP1

Any suggestions?



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

Server stack trace:
System.Runtime.Remoting.Channels.CoreChannel.Setup UrlBashingForIisSslIfNecessary()
System.Runtime.Remoting.Channels.BinaryServerForma tterSink.SerializeResponse(IServerResponseChannelS inkStack
sinkStack, IMessage msg, ITransportHeaders& headers, Stream& stream)
System.Runtime.Remoting.Channels.BinaryServerForma tterSink.ProcessMessage(IServerChannelSinkStack
sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders,
Stream requestStream, IMessage& responseMsg, ITransportHeaders&
responseHeaders, Stream& responseStream)

Exception rethrown at [0]:
System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage
reqMsg, IMessage retMsg)
System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData&
msgData, Int32 type)
at USDA.FSIS.CCMS2.EPFC.ISimilarCasesManager.GetSimil arCases(String
USDA.FSIS.CCMS2.CCMS.Server.Controllers.SimilarCas eController.RefreshEpfcSimilarCases(String
USDA.FSIS.CCMS2.CCMS.Server.CaseManager.GetSimilar CaseListForCaseWithRefresh(String
System.Runtime.Remoting.Messaging.StackBuilderSink .PrivateProcessMessage(MethodBase
mb, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
System.Runtime.Remoting.Messaging.StackBuilderSink .SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext)

Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

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.

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.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! -
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.