Your suggestion was very helpful. Thankyou very much.

Now my Draco.exe.config has the following information

      <channels>
        <channel ref="tcp" port="8086">
                        <serverProviders>
                                <provider ref="wsdl" />                 
                                <formatter ref="soap" typeFilterLevel="Full"
/>                      
                                <formatter ref="binary"
typeFilterLevel="Full" />
                        </serverProviders>
        </channel>
      </channels>

This allows me to run the DracoCli.exe in a synchronous mode.

-daya

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Erv
Walter
Sent: Wednesday, August 20, 2003 3:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [Draconet-users] dracocli.exe throws SecurityException


It might have something to do with the changes discussed in this
article:

http://www.ingorammer.com/RemotingFAQ/Changes2003.html

I haven't tried the suggested changes yet... 

-----Original Message-----
From: Mark Griffiths [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 20, 2003 11:24 AM
To: [EMAIL PROTECTED]
Subject: RE: [Draconet-users] dracocli.exe throws SecurityException

Hi

I think this is because the dracocli project does not work correctly
with
1.1 framework.  Erv previously emailed the following in response to a
similar question:

<erv>
This happens when running under the 1.1 framework.  I have not done
enough research to understand it at this point.  It seems to occur when
the "buildcompleted" delegate is assigned on the client side.  Calling
dracocli with the asynchronous option works fine.  If someone else is a
remoting security expert, please take a look :) </erv>

-MG

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daya
Sharma
Sent: 18 August 2003 16:56
To: [EMAIL PROTECTED]
Subject: [Draconet-users] dracocli.exe throws SecurityException


Hi All

I have both Draco client and server on the same machine (for testing)
and I have "ipm" as my module defined in Draco.exe.config. Draco build
starts on detecting a change in the repository, but when I use
DracoCli.exe to start the build it throws the following stack trace.

C:\Program Files\Draco.NET Client Tools\bin>dracocli.exe /start:ipm
Encountered unhandled exception: System.Security.SecurityException: Type
System. DelegateSerializationHolder and the types derived from it (such
as System.Delega
teSerializationHolder) are not permitted to be deserialized at this
security lev el.

Server stack trace:
   at
System.Runtime.Serialization.FormatterServices.CheckTypeSecurity(Type
t, T
ypeFilterLevel securityLevel)
   at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.CheckSecurit
y(
ParseRecord pr)
   at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObject(
Pa
rseRecord pr)
   at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Parse(ParseR
ec
ord pr) ........................................

Exception rethrown at [0]:
   at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
req
Msg, IMessage retMsg)
   at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgDa
ta, Int32 type)
   at
Chive.Draco.Remote.IDracoRemote.add_BuildCompleted(BuildCompletedEventHa
nd
ler value)
   at Chive.Draco.Cli.DracoRemoteClient.DoBuild()
   at Chive.Draco.Cli.Commandline.Main(String[] args)

For testing I don't want to unnecessary shoot up the revision number of
my
(subversion) repository.

Thanks in advance.

Daya Sharma
Programmer Analyst
Zak Resources Inc.




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
Draconet-users mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users



-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code4
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users


-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code4
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users

<<attachment: winmail.dat>>

Reply via email to