Click here to Skip to main content
15,890,947 members
Home / Discussions / C#
   

C#

 
GeneralRe: Please, need urgent help. Application wont start (clr20r3 error) Pin
Matjaz-xyz13-May-08 0:33
Matjaz-xyz13-May-08 0:33 
GeneralRe: Please, need urgent help. Application wont start (clr20r3 error) Pin
Christian Graus13-May-08 0:37
protectorChristian Graus13-May-08 0:37 
GeneralRe: Please, need urgent help. Application wont start (clr20r3 error) Pin
Matjaz-xyz13-May-08 0:39
Matjaz-xyz13-May-08 0:39 
GeneralRe: Please, need urgent help. Application wont start (clr20r3 error) Pin
darkelv13-May-08 2:26
darkelv13-May-08 2:26 
GeneralRe: Please, need urgent help. Application wont start (clr20r3 error) Pin
Matjaz-xyz13-May-08 2:52
Matjaz-xyz13-May-08 2:52 
QuestionRe: Please, need urgent help. Application wont start (clr20r3 error) Pin
Matjaz-xyz13-May-08 9:35
Matjaz-xyz13-May-08 9:35 
AnswerRe: Please, need urgent help. Application wont start (clr20r3 error) Pin
darkelv13-May-08 19:13
darkelv13-May-08 19:13 
GeneralRe: Please, need urgent help. Application wont start (clr20r3 error) Pin
Matjaz-xyz13-May-08 19:44
Matjaz-xyz13-May-08 19:44 
Hi.

I did what you suggested.

Here is the copy of the error that was given. Not sure i quite understand how to fix it, since the problem is, as reported, in security??

System.TypeInitializationException was unhandled<br />
  Message="The type initializer for 'Primoz_Trubar___Popotovanje.frmIme' threw an exception."<br />
  Source="Popotovanje Primoža Trubarja"<br />
  TypeName="Primoz_Trubar___Popotovanje.frmIme"<br />
  StackTrace:<br />
       at Primoz_Trubar___Popotovanje.frmIme..ctor()<br />
       at Primoz_Trubar___Popotovanje.Program.Main()<br />
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)<br />
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)<br />
       at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)<br />
       at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()<br />
       at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)<br />
       at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)<br />
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()<br />
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)<br />
       at System.Threading.ExecutionContext.runTryCode(Object userData)<br />
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)<br />
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)<br />
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<br />
       at System.Threading.ThreadHelper.ThreadStart()<br />
  InnerException: System.Security.SecurityException<br />
       Message="That assembly does not allow partially trusted callers."<br />
       Source="Popotovanje Primoža Trubarja"<br />
       StackTrace:<br />
            at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)<br />
            at Primoz_Trubar___Popotovanje.frmIme..cctor()<br />
       InnerException: 


What to do next?

Oh, and is there a possibility to use the DLLs from my computer? I only use the DirectX.AudioVideoPlayback.dll (i think this is it, cus VS copies this file to the debug output as asked).

Força Barça!

QuestionCASE question Pin
Harvey Saayman13-May-08 0:17
Harvey Saayman13-May-08 0:17 
AnswerRe: CASE question Pin
Giorgi Dalakishvili13-May-08 0:18
mentorGiorgi Dalakishvili13-May-08 0:18 
GeneralRe: CASE question Pin
Harvey Saayman13-May-08 0:20
Harvey Saayman13-May-08 0:20 
AnswerRe: CASE question Pin
Christian Graus13-May-08 0:23
protectorChristian Graus13-May-08 0:23 
Question[Message Deleted] Pin
murali_utr13-May-08 0:05
murali_utr13-May-08 0:05 
AnswerDouble Post - Please Ignore Pin
Giorgi Dalakishvili13-May-08 0:16
mentorGiorgi Dalakishvili13-May-08 0:16 
QuestionConvolution Kernel Pin
Abdul Rahman Hamidy12-May-08 23:58
Abdul Rahman Hamidy12-May-08 23:58 
AnswerDouble Post - Please Ignore Pin
Giorgi Dalakishvili13-May-08 0:17
mentorGiorgi Dalakishvili13-May-08 0:17 
Questioncoding for a insert data to a table Pin
oshadhi12-May-08 23:42
oshadhi12-May-08 23:42 
AnswerRe: coding for a insert data to a table Pin
Rupesh Kumar Swami13-May-08 0:06
Rupesh Kumar Swami13-May-08 0:06 
AnswerRe: coding for a insert data to a table Pin
Christian Graus13-May-08 0:06
protectorChristian Graus13-May-08 0:06 
AnswerRe: coding for a insert data to a table Pin
Abdul Rahman Hamidy13-May-08 0:09
Abdul Rahman Hamidy13-May-08 0:09 
QuestionLoad WPF TreeView items in background Pin
Lutosław12-May-08 23:17
Lutosław12-May-08 23:17 
QuestionDrawLine() does not work Pin
nilam247712-May-08 22:53
nilam247712-May-08 22:53 
AnswerRe: DrawLine() does not work Pin
Christian Graus12-May-08 23:01
protectorChristian Graus12-May-08 23:01 
QuestionRe: DrawLine() does not work Pin
nilam247712-May-08 23:07
nilam247712-May-08 23:07 
AnswerRe: DrawLine() does not work Pin
Christian Graus12-May-08 23:11
protectorChristian Graus12-May-08 23:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.