Hardware Upgrade Forum

Hardware Upgrade Forum (https://www.hwupgrade.it/forum/index.php)
-   Microsoft Windows 7 e Vista (https://www.hwupgrade.it/forum/forumdisplay.php?f=127)
-   -   Problemi con NET.Framework (https://www.hwupgrade.it/forum/showthread.php?t=2361600)


StefSeb 03-06-2011 12:55

Problemi con NET.Framework
 
Lanciando un applicazione (Weather Desktop Background Changer) mi si apre una maschera di MICROSOFT .NET Framework che dice:

"L'applicazione ha tentato di eseguire un'operazione non consentita dai criteri di protezione. Per attirbuire all'applicazione l'autorizzazione necessaria, rivolgersi .... oppure utilizzare .NET Framework Confi
Codice:

Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.Security.SecurityException: Accesso al Registro di sistema non consentito.
  in System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
  in Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
  in WeatherBar2.Main.Main_Load(Object sender, EventArgs e) in D:\80GB\Desktop 15\WeatherBar2\WeatherBar2\Main.cs:riga 141
  in System.Windows.Forms.Form.OnLoad(EventArgs e)
  in System.Windows.Forms.Form.OnCreateControl()
  in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  in System.Windows.Forms.Control.CreateControl()
  in System.Windows.Forms.Control.WmShowWindow(Message& m)
  in System.Windows.Forms.Control.WndProc(Message& m)
  in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  in System.Windows.Forms.ContainerControl.WndProc(Message& m)
  in System.Windows.Forms.Form.WmShowWindow(Message& m)
  in System.Windows.Forms.Form.WndProc(Message& m)
  in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Area dell'assembly con errori:
MyComputer


************** Assembly caricati **************
mscorlib
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.4952 (win7RTMGDR.050727-4900)
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Weather Desktop Background Changer
    Versione assembly: 2.0.0.0
    Versione Win32:
    Base di codice: file:///D:/Weather%20Desktop%20Background%20Changer/Weather%20Desktop%20Background%20Changer.exe
----------------------------------------
System.Windows.Forms
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Base di codice: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Base di codice: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Base di codice: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.WindowsAPICodePack.Shell
    Versione assembly: 1.0.0.0
    Versione Win32: 1.0.0.0
    Base di codice: file:///D:/Weather%20Desktop%20Background%20Changer/Microsoft.WindowsAPICodePack.Shell.DLL
----------------------------------------
Microsoft.WindowsAPICodePack
    Versione assembly: 1.0.0.0
    Versione Win32: 1.0.0.0
    Base di codice: file:///D:/Weather%20Desktop%20Background%20Changer/Microsoft.WindowsAPICodePack.DLL
----------------------------------------
System.Configuration
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Base di codice: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Base di codice: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.4952 (win7RTMGDR.050727-4900)
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
    Base di codice: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Debug JIT **************
Per attivare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
attivato.

Ad esempio:

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

Quando il debug JIT è attivato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.

Ora dove trovo questo NET.Framework.configuration?

StefSeb 07-06-2011 19:52

UP!
Nessuno riesce ad aiutarmi!

Eress 08-06-2011 19:33

Prova a chiedere nella discussione ufficiale

http://www.hwupgrade.it/forum/showthread.php?t=1973775


Tutti gli orari sono GMT +1. Ora sono le: 11:41.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Hardware Upgrade S.r.l.