473,378 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

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


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.Setup UrlBashingForIisSslIfNecessary()
at
System.Runtime.Remoting.Channels.BinaryServerForma tterSink.SerializeResponse(IServerResponseChannelS inkStack
sinkStack, IMessage msg, ITransportHeaders& headers, Stream& stream)
at
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]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData&
msgData, Int32 type)
at USDA.FSIS.CCMS2.EPFC.ISimilarCasesManager.GetSimil arCases(String
caseId)
at
USDA.FSIS.CCMS2.CCMS.Server.Controllers.SimilarCas eController.RefreshEpfcSimilarCases(String
caseID)
at
USDA.FSIS.CCMS2.CCMS.Server.CaseManager.GetSimilar CaseListForCaseWithRefresh(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)

Nov 17 '05 #1
1 3301
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/de...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.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Knut Vonheim | last post by:
For some reason I cannot access this in CSharp - neither with using or directly in the code? System.Runtime.Remoting.Channels on the other hand is fine, but no Http.anything works. Any...
2
by: web1110 | last post by:
Hi y'all, I'm playing with C# again, trying to implement a remoted calculator exercise. If I include: using System.Runtime.Remoting.Channels.Http; I get the error:
4
by: marcelino | last post by:
Hi, I have c# express beta I try to write the following using clause: System.Runtime.Remoting.Channels.Http; because I want to create a http channel. HttpChannel aJobChannel = new...
0
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. ...
1
by: james.cssa | last post by:
When I try to compile the following program on Visual Studio 2005 Pro, the namespace System.Runtime.Remoting.Channels.Tcp is not recongized by the compiler. (The "Tcp" part is highlighted.) And I...
2
by: Thorsten Viel | last post by:
Hi @all, this is not my first webservice and everytime it worked that way, by now i got following exception when trying to call http://<url>?wsdl in my browser: System.NullReferenceException:...
0
by: Junoti | last post by:
I've read several posts out there that state that setting typeFilterLevel="Full" on the client and/or server will correct this issue, however I'm still unable to get around it. I can successfully...
0
by: yogeshtiwarijbp | last post by:
Dear all In .net i can include namespace using System.Runtime.Remoting.Channels. But iam not be able to include the namespace using System.Runtime.Remoting.Channels.http. .http is not coming....
2
by: =?Utf-8?B?c2FtMDFt?= | last post by:
I have a remoting application that was developed on a Windows XP SP2 machine with VS2005 SP1. I finally got everything deployed using Wix 3.0, and it works great. Problem is, when I install the msi...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.