Ciao a tutti. Ho un problema con vb.net express 2005. Non riesco a compilare in rete i progetti. Mi genera questa eccezzione:
Su questa cartella ho diritti di lettura e scrittura. Ma visual studio mi genera quest'errore di security exception. Esiste un modo per risolvere o un work around? Grazie!codice:System.InvalidOperationException was unhandled Message="Errore durante la creazione del form. Per informazioni dettagliate vedere Exception.InnerException. Errore: Richiesta di autorizzazione di tipo 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' non soddisfatta." Source="app" StackTrace: in app.My.MyProject.MyForms.Create__Instance__[T](T Instance) in app.My.MyProject.MyForms.get_frmMain() in app.My.MyApplication.OnCreateMainForm() in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() in Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine) in app.My.MyApplication.Main(String[] Args) in System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) in System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) in Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() in System.Threading.ThreadHelper.ThreadStart_Context(Object state) in System.Threading.ExecutionContext.runTryCode(Object userData) in System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Threading.ThreadHelper.ThreadStart()

Rispondi quotando