Chris
Currently I'm just experimenting with a demo app, which really does not do a
lot, but the following info might help
Note: App is called Pluto, DLL and namespace on IIS is PlutoBO ( BO for
Business Objects) and IIS is on the box called Whistler. Just a reminder:
This app (and my other apps working on the same principle) works like a
charm on WinXP and 2000
---------------------------------------------------------------------------
'Here is the web.Config on the box called Whistler
<configuration>
<system.runtime.remoting>
<application>
<channels>
<channel ref="http">
<serverProviders>
<formatter ref="binary">
</formatter>
</serverProviders>
</channel>
</channels>
<service>
<wellknown mode="SingleCall" type="PlutoBO.clsPublisherSVR ,PlutoBO"
objectUri="PlutoBO.clsPublisherSVR.soap" />
</service>
</application>
</system.runtime.remoting>
</configuration>
------------------------------------------------------------------------
'Here is the app config. IT is configured by doing
RemotingConfiguration.Configure(lstrFile)
Then creating an instance of the remote object by using the = New
PlutoBO.clsPublisherSVR statement.
-------------------------------------------------------------------------
<configuration>
<system.runtime.remoting>
<application>
<channels>
<channel ref="http">
<clientProviders>
<formatter ref="binary">
</formatter>
</clientProviders>
</channel>
</channels>
<client>
<wellknown type="PlutoBO.clsPublisherSVR ,PlutoBO"
url="http://whistler/Pluto/PlutoBO.clsPublisherSVR.soap" />
</client>
</application>
</system.runtime.remoting>
</configuration>
---------------------------------------------------------------
Thx
JC Oberholzer
-----Original Message-----
From: Chris Day [mailto:[EMAIL PROTECTED]
Sent: 25 July 2003 12:38 AM
To: [EMAIL PROTECTED]
Can you provide a simplified version of your app + .config files?
Setting impersonate=true is okay unless you want anonymous access from
the client to the server.
> -----Original Message-----
> From: JC Oberholzer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 24 July 2003 6:49 PM
> To: [EMAIL PROTECTED]
> Subject: [ADVANCED-DOTNET] Remoting on the new Framework
>
>
> Hi All
>
> I'm strugling to get my 1.0 remoting apps running on 1.1
> Current implementation is on Windows XP and 2000 with 1.0,
> hosting the objects in IIS with HTTP as transport. I now
> need to move to 2003 Server, still hosting in IIS. The
> problems I'm experiencing most probably has to do with the
> more secure approach of 2003, and I need help sorting them out.
>
> So, what errors do I get: Well, I can't even do the basics.
> I create my virtual dir in IIS and point to the dir with
> web.confg, but the client app throws and exception "The
> operation required the securityexception"
>
> So, to get past this, I set the impersonate=true in
> Machine.config (?not a good option? What should I rather do?)
>
> It then gets past this, but get the following error
> "The underlying connection was closed : unable to connect to
> the remote server". Now, this happens after
> HttpWebRequest.GetRequestStream and then
> HttpWebRequest.CheckFinalStatus. So, it gets a connection to
> IIS, but some security setting hijacks it?
>
> MSDN is of little help, so to all the Gurus: Please help
>
> Thx
>
> JC Oberholzer
>
The views expressed in this e-mail are, unless otherwise stated, those of the author
and not of SDT or its management. The information is confidential and is intended
solely for the addressee. All reasonable steps are taken to ensure the accuracy,
integrity and confidentiality of information. No liability or responsibility is
accepted if information is corrupted or does not reach its intended destination. This
email message has been scanned for viruses and cleared.