RE: dll problem on Remoting app



Hello Ferunic,

Welcome to MSDN newsgroup.
>From your description, you're creating an .net class instance remotely and
when try accessing one of its method you encountred NullReferenceException
,yes?

Based on the error message, the problem seems due to the object instance
not created correctly. I'm wondering what's your actual remoting scenario,
are you creating remote object through cross process remoting(through
tcp/http channel....) or just creating remote object in other appDomain
within same process? If convenient, I'd suggest you provide some further
descrpition or code snippet on this.

Regards,

Steven Cheng
Microsoft Online Support

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



--------------------
| Thread-Topic: dll problem on Remoting app
| thread-index: AcX7ae2pIdybQCa5S1SrJFoq7y2L9w==
| X-WBNR-Posting-Host: 217.68.124.30
| From: =?Utf-8?B?RmVybmFuZG8gTW9yZW5v?= <ferunic@xxxxxxxxxxxxxxxx>
| Subject: dll problem on Remoting app
| Date: Wed, 7 Dec 2005 12:08:02 -0800
| Lines: 10
| Message-ID: <1715F53E-E072-42DF-B8CB-1E16ECF2FACB@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.framework:104936
| X-Tomcat-NG: microsoft.public.dotnet.framework
|
| Hi,
| We have an application which can both run as Local and with remoting,
this
| app use an external dll (let us call it exapp.dll) and everything is ok
when
| the app runs Local (not remoting) but in remoting mode I can declare an
exapp
| object but whe I tried to call method exapp.mymethod() an
| NullReferenceException is thrown.
| Any clues?
| Thank's
|
|
|

.



Relevant Pages

  • RE: dll problem on Remoting app
    ... the object is created as remote object, ... The communiation to the remoting server won't happen until the ... dll problem on Remoting app ...
    (microsoft.public.dotnet.framework)
  • Re: Remoting Sample
    ... you must instantiate the component by a channel (that is why you need the ... > I am stufdy remoting stuf to prepare my next exam and I have to say that I ... > notify that it i in a remote location. ... >> I successfully some msdn docs and made a sample remoting app. ...
    (microsoft.public.dotnet.framework.remoting)
  • Return argument has an invalid type - does remoting work reliably at all?
    ... > remote object, ... > remote object returns (I can debug to that point. ... "Advanced .Net Remoting" by Ingo Rammer, his website, msdn, articles on ... .Net Remoting is really a pain to work with. ...
    (microsoft.public.dotnet.framework.remoting)
  • RE: dll problem on Remoting app
    ... Steven Cheng ... Microsoft Online Support ... | object, the remote object is not actually created or referenced, in other ... The communiation to the remoting server won't happen until ...
    (microsoft.public.dotnet.framework)
  • Re: .NET Remoting?
    ... Here's the situation that I'm trying to accomplish: ... > Remoting does what you originally asked about though. ... > If you make a remote object server, ... > instances of remoted objects on that server. ...
    (microsoft.public.dotnet.framework)