+ Post New Thread
Results 1 to 2 of 2
Windows Thread, Microsoft .NET Framework security error when running software in Technical; Morning guys! I've been asked to install some language software on the machines here, and have been having problems ever ...
  1. #1

    Join Date
    Jun 2011
    Location
    London
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Microsoft .NET Framework security error when running software

    Morning guys!

    I've been asked to install some language software on the machines here, and have been having problems ever since i put the disk in >.<

    The first being that the software would not load because it could not find the correct version on .NET framework, i had 4 installed on the machine but it seems as though it wanted .NET framwork 2. I thought this was odd because I figured that the newer releases of .NET framework came with everything that the old releases had?

    Once i installed framework 2, i tried to run the program again, only to get this (sorry for the pasting the whole thing, but i think this is way out of my league - im just a lowly apprentice) :

    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 failed.
    at System.Security.CodeAccessSecurityEngine.ThrowSecu rityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
    at System.Security.CodeAccessSecurityEngine.ThrowSecu rityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
    at System.Security.CodeAccessSecurityEngine.CheckSetH elper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)
    at System.Security.CodeAccessSecurityEngine.CheckSetH elper(CompressedStack cs, PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Assembly asm, SecurityAction action)
    at Threet.FUSE.PublishedStub.Launcher.btnStart_Click( Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    The action that failed was:
    LinkDemand
    The type of the first permission that failed was:
    System.Security.PermissionSet
    The Zone of the assembly that failed was:
    Intranet


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Launcher
    Assembly Version: 1.3.1.336
    Win32 Version: 1.3.1.336
    CodeBase: file:///O:/Modern%20Languages/AQA%20GCSE%20FRENCH%20OxBox/Assessment%20OxBox/French.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (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 computer
    rather than be handled by this dialog box.

    Any ideas as to what can be causing this? I've tried to get in contact with the manufacturers but have had no luck.

  2. #2

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    The .NET family are all slightly different, so if an application requires .NET 2.0 then you must install that.

    If you're running XP you have to install .NET 1.1, 2.0, 3.0, 3.5 and 4.0. It's a big job. On top of this, you have to worry about .NET Service Packs - again, all these are separate, which makes it an even bigger job and a good reason to use Windows 7.

    Fortunately Windows 7 has .NET 1.1, 2.0, 3.0, 3.5 as standard. You just need to worry about .NET 4.0.

    With regards to your message, I would say it looks like an issue with the application rather than .NET itself (bearing in mind you've just installed it).

SHARE:
+ Post New Thread

Similar Threads

  1. [SIMS] Pars .Net Framework permissions security error
    By bondbill2k2 in forum MIS Systems
    Replies: 2
    Last Post: 26th April 2011, 03:29 PM
  2. Replies: 10
    Last Post: 22nd November 2010, 07:15 AM
  3. Macro error when running Word where Adobe CS3 installed
    By d-taylor in forum Educational Software
    Replies: 0
    Last Post: 9th June 2010, 09:02 AM
  4. Microsoft .NET Framework 3.5 Service Pack 1 KB951847
    By cookie_monster in forum Windows
    Replies: 6
    Last Post: 21st April 2009, 03:32 PM
  5. Replies: 7
    Last Post: 12th October 2008, 08:33 PM

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
  •