+ Post New Thread
Results 1 to 3 of 3
MIS Systems Thread, Pars .Net Framework permissions security error in Technical; Having carried out the spring updates during the holidays for Sims and Pars.net I have returned to find an error ...
  1. #1
    bondbill2k2's Avatar
    Join Date
    Jan 2011
    Location
    West Midlands
    Posts
    1,015
    Thank Post
    81
    Thanked 66 Times in 51 Posts
    Blog Entries
    2
    Rep Power
    42

    Pars .Net Framework permissions security error

    Having carried out the spring updates during the holidays for Sims and Pars.net I have returned to find an error messege on all machines attempting to run Pars.

    Sims will load up fine, Pars will show a red error bar on its loader wiht "bootstrap upgrade required" then give the following Microsoft .net framework error report:

    The application attempted to perform an operation not allowed by the security policy. The operations required the securityexception. etc....

    Request for the permission of type
    System.SEcurity.Permissions.SecurityPermissions, mcorlib, version=1.0.5000.0, Culture=neutral. PublickeyToken=b77a5c561934e089 failed


    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.Security.SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
    at Renamer.Form1.Form1_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
    at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
    at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2470
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
    ----------------------------------------
    System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2470
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
    ----------------------------------------
    Renamer
    Assembly Version: 1.115.8.0
    Win32 Version: 1.115.8.0
    CodeBase: file://it-mw/c$/Program%20Files/PARS/renamer.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
    ----------------------------------------
    Microsoft.VisualBasic
    Assembly Version: 7.0.5000.0
    Win32 Version: 7.10.6001.4
    CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just in time (JIT) debugging, the config file for this
    application or machine (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the machine
    rather than being handled by this dialog.

  2. #2

    Join Date
    Sep 2007
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi,

    It's likely to be your permissions on the local PARS folder (c:\program files\sims\PARS .net), specifically the ability of renamer.exe to rename files in that folder.

    You may find that running PARS with a /C switch on the shortcut target line will be enough to get PARS running again: right click the shortcut -> properties -> the "Target" line should read:

    "C:\Program Files\SIMS\PARS .net\Bootstrap.exe" PARS /C

    Once PARS is working, delete the /C so it doesn't update every time you run it.

    If that fails then delete the local PARS folder and reinstall. Call the helpdesk if you have any problems: 01902 824281

  3. #3
    bondbill2k2's Avatar
    Join Date
    Jan 2011
    Location
    West Midlands
    Posts
    1,015
    Thank Post
    81
    Thanked 66 Times in 51 Posts
    Blog Entries
    2
    Rep Power
    42
    Thanks, all is working now

SHARE:
+ Post New Thread

Similar Threads

  1. .NET Framework 4
    By Chuckster in forum Windows
    Replies: 13
    Last Post: 27th June 2011, 01:06 PM
  2. .NET Framework 3.5
    By cookie_monster in forum Windows
    Replies: 6
    Last Post: 29th July 2009, 09:06 AM
  3. .net Framework 3.0
    By AnnDroyd in forum Windows
    Replies: 5
    Last Post: 25th September 2007, 09:18 AM
  4. Pars and Pars .net won't work on curric domain
    By dezt in forum MIS Systems
    Replies: 5
    Last Post: 5th September 2007, 12:40 PM
  5. Net Framework 1.1 or 2.0
    By Kyle in forum Windows
    Replies: 2
    Last Post: 6th February 2006, 12:16 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •