RE: dll problem on Remoting app
- From: Fernando Moreno <ferunic@xxxxxxxxxxxxxxxx>
- Date: Thu, 8 Dec 2005 01:26:01 -0800
Hi, and Thank's for your help.
I will try to explain me.
We have a Windows Application solution (MyApp from now) with many class
libraries and one of them libraries reference to an external dll (PBdll)
(developed on PowerBuilder) running this application as a Local application
works fine, we also have a Windows Service App with all the same libraries
(including the one who use PBDll).
Finally in our config file for MyApp we have an option to decide if app will
be Local or Remoting, if remoting the application creates objects through
tcp/http channel)
Everything works fine here but the methods on PBdll class (not the object
itself, It's create without error I guess)
I don't know if is more clear for you now...
Which code do you think could help you to understand more??
Anyway properties for the PBdll reference:
Copy Local true
Culture 0
Description A description
Identity {98989898...}\1.0\0\tlbimp
Path C:\VSS\Work\Source\Varsling\obj\Interop.net_fravsjekk.dll
Runtime Version
Strong Name true
Type ActiveX
Version 1.0
"Steven Cheng[MSFT]" wrote:
> 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
> |
> |
> |
>
>
.
- Follow-Ups:
- RE: dll problem on Remoting app
- From: Steven Cheng[MSFT]
- RE: dll problem on Remoting app
- References:
- RE: dll problem on Remoting app
- From: Steven Cheng[MSFT]
- RE: dll problem on Remoting app
- Prev by Date: Re: Removing duplicate .NET Installs
- Next by Date: Re: hi
- Previous by thread: RE: dll problem on Remoting app
- Next by thread: RE: dll problem on Remoting app
- Index(es):
Relevant Pages
|