Using caspol.exe to change security policy settings

From: Peter F (pfoensREMOVE_at_vjk.dk)
Date: 10/15/05

  • Next message: Deepak: "Re: Signle-Sign on web application running on IIS"
    Date: Sat, 15 Oct 2005 01:52:59 +0200
    
    

    Hello

    I hope you can help my with this...

    I have made a program in VB.Net, which is suppose to be in a shared
    directory on a server. Other people can then map the drive and run it from
    their client. The problem is just that to run the program (which is doing
    some file writing) from the clients you have to change security policy
    settings i.e. give the assembly (the program) full trust. It is working when
    I am changing it with the "Microsoft .NET Framework 1.1 Configuration"-tool
    under Administrative Tools in the Control Panel. But I want to use
    "caspol.exe" to do this, so that it can be done automatically. I have tried
    with:

    caspol -machine -addfulltrust "assembly_name (signed with a strong name)"

    but it is not working :-(. Do you have any ideas or if not, where I perhaps
    could find the information?

    Thanks in advance.
    Peter


  • Next message: Deepak: "Re: Signle-Sign on web application running on IIS"

    Relevant Pages

    • Re: id- 1030 source - Userenv
      ... check your settings on the server and client computers. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
      (microsoft.public.windows.server.sbs)
    • RE: (Very) Slow browsing server shares - Net Work Monitor shows ca
      ... If this issue happen only when browse shared folders on SBS from one XP ... client computer, this will be a client side error. ... click to check the "Hide All Microsoft Services" ... Digitally sign communications (if server ...
      (microsoft.public.windows.server.sbs)
    • Re: My Documents redirect stopped working on one user profile.
      ... Yes but this file server of ours isnt the DC that "sends" out the group ... the problem may be caused by the client computer. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
      (microsoft.public.windows.server.sbs)
    • RE: No Client or Server Desktop Access Through RWW SBS 2003 SP2
      ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... No Client or Server Desktop Access Through RWW SBS 2003 SP2 ...
      (microsoft.public.windows.server.sbs)
    • RE: sloww web browsing
      ... and ISA 2004, the internet access became slower than it used to be. ... Open the ISA Server management console, ... Click Start, point to Programs, point to Microsoft ISA server, and then ... will you be able to access the internet from the internal client ...
      (microsoft.public.windows.server.sbs)