Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. My app won't run: "unverifiable assembly"

My app won't run: "unverifiable assembly"

Scheduled Pinned Locked Moved C#
helpdotnetsysadmincsharpsecurity
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    navvara the infantryman
    wrote on last edited by
    #1

    So the basics of my app are completed, everything i'll need is complete (except directplay server) and it works, perfectly i might add. but it only works on MY computer whenever i try to run it on another it exits with a error code and a text saying: "Failed security policy check". if i try to run the app from my comp but from another computer's drive (via lan) the debbuger kick in and i get the above message+ "Unverifiable assembly". google had ssomething to say about the problem but i don't know how to implement the solution found there: "A temporary method of solving this issue is to simply give the LocalIntranet zone more trust. This can be done in the .NET Framework Configuration control panel applet. A permanent solution is to modify your security policy to give FullTrust to all assemblies signed with your key." to the problem as stated there (which i think is my problem): "If you're running (and remote debugging) your app from a local network share, then I suspect that you're running into a permissions issue. Programs that run on the CLR use something called code access security (CAS), which assigns trust based upon evidence it can gather from the code itself. This evidence is then compared against the security policy, and a permission grant is generated." anyway i'll be including the debug output when i run the app on another conputer, i hope that my post isn't too long and boring. "'forms.exe': Loaded '\\Homepc\2games (d)\forms\Debug\forms.exe', Symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\mscoree.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\msvcr71.dll', Symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded

    M L 2 Replies Last reply
    0
    • N navvara the infantryman

      So the basics of my app are completed, everything i'll need is complete (except directplay server) and it works, perfectly i might add. but it only works on MY computer whenever i try to run it on another it exits with a error code and a text saying: "Failed security policy check". if i try to run the app from my comp but from another computer's drive (via lan) the debbuger kick in and i get the above message+ "Unverifiable assembly". google had ssomething to say about the problem but i don't know how to implement the solution found there: "A temporary method of solving this issue is to simply give the LocalIntranet zone more trust. This can be done in the .NET Framework Configuration control panel applet. A permanent solution is to modify your security policy to give FullTrust to all assemblies signed with your key." to the problem as stated there (which i think is my problem): "If you're running (and remote debugging) your app from a local network share, then I suspect that you're running into a permissions issue. Programs that run on the CLR use something called code access security (CAS), which assigns trust based upon evidence it can gather from the code itself. This evidence is then compared against the security policy, and a permission grant is generated." anyway i'll be including the debug output when i run the app on another conputer, i hope that my post isn't too long and boring. "'forms.exe': Loaded '\\Homepc\2games (d)\forms\Debug\forms.exe', Symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\mscoree.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\msvcr71.dll', Symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded

      M Offline
      M Offline
      mav northwind
      wrote on last edited by
      #2

      You should start reading about CAS (code access security). MSDN has some articles on the topic that will help you learn how your application behaves differently when run from an untrusted source (for example, a mapped network drive). Regards, mav

      N 1 Reply Last reply
      0
      • M mav northwind

        You should start reading about CAS (code access security). MSDN has some articles on the topic that will help you learn how your application behaves differently when run from an untrusted source (for example, a mapped network drive). Regards, mav

        N Offline
        N Offline
        navvara the infantryman
        wrote on last edited by
        #3

        i don't really want to know how the app behaves i just want it to run, how can you make an untrusted source trusted so my program can run properly, i really need this program to run on just a couple of computers so modifying stuff would be posible but what do i need to modify? i've read something realted to my problem but i have no ideea as to how i could generate the certificates required or integrate them inot my code m$: It is normal for your screen to go blank and for your computer to restart itself several times -- modified at 7:36 Tuesday 3rd January, 2006

        J 1 Reply Last reply
        0
        • N navvara the infantryman

          i don't really want to know how the app behaves i just want it to run, how can you make an untrusted source trusted so my program can run properly, i really need this program to run on just a couple of computers so modifying stuff would be posible but what do i need to modify? i've read something realted to my problem but i have no ideea as to how i could generate the certificates required or integrate them inot my code m$: It is normal for your screen to go blank and for your computer to restart itself several times -- modified at 7:36 Tuesday 3rd January, 2006

          J Offline
          J Offline
          J4amieC
          wrote on last edited by
          #4

          navvara the infantryman wrote:

          don't really want to know how the app behaves i just want it to run,

          This is a heavily misguided response to a perfectly reasonable answer to your question. Your problem is related to Code Access Security - a feature of the .NET framework - if you dont care to understand for yourself an important feature you are working with then don't expect any more help from the kind people here.

          N 1 Reply Last reply
          0
          • J J4amieC

            navvara the infantryman wrote:

            don't really want to know how the app behaves i just want it to run,

            This is a heavily misguided response to a perfectly reasonable answer to your question. Your problem is related to Code Access Security - a feature of the .NET framework - if you dont care to understand for yourself an important feature you are working with then don't expect any more help from the kind people here.

            N Offline
            N Offline
            navvara the infantryman
            wrote on last edited by
            #5

            if my reply was abusive then i am sorry it's just the result of seing my work waste away when i thought it was completed and running perfectly + not having time to read all that documentation as my project is due on monday what i should have wrote is "i'm a dummy and don't know what all that means have you got a straightforward solution? (magic bullet, something simple?)" PS: from what i have read my app's assembly is checked when run but i don't know even if my app has one or how to make one or check it m$: It is normal for your screen to go blank and for your computer to restart itself several times -- modified at 8:00 Tuesday 3rd January, 2006

            J 1 Reply Last reply
            0
            • N navvara the infantryman

              if my reply was abusive then i am sorry it's just the result of seing my work waste away when i thought it was completed and running perfectly + not having time to read all that documentation as my project is due on monday what i should have wrote is "i'm a dummy and don't know what all that means have you got a straightforward solution? (magic bullet, something simple?)" PS: from what i have read my app's assembly is checked when run but i don't know even if my app has one or how to make one or check it m$: It is normal for your screen to go blank and for your computer to restart itself several times -- modified at 8:00 Tuesday 3rd January, 2006

              J Offline
              J Offline
              J4amieC
              wrote on last edited by
              #6

              I didnt say it was abusive, I said it was misguided.

              1 Reply Last reply
              0
              • N navvara the infantryman

                So the basics of my app are completed, everything i'll need is complete (except directplay server) and it works, perfectly i might add. but it only works on MY computer whenever i try to run it on another it exits with a error code and a text saying: "Failed security policy check". if i try to run the app from my comp but from another computer's drive (via lan) the debbuger kick in and i get the above message+ "Unverifiable assembly". google had ssomething to say about the problem but i don't know how to implement the solution found there: "A temporary method of solving this issue is to simply give the LocalIntranet zone more trust. This can be done in the .NET Framework Configuration control panel applet. A permanent solution is to modify your security policy to give FullTrust to all assemblies signed with your key." to the problem as stated there (which i think is my problem): "If you're running (and remote debugging) your app from a local network share, then I suspect that you're running into a permissions issue. Programs that run on the CLR use something called code access security (CAS), which assigns trust based upon evidence it can gather from the code itself. This evidence is then compared against the security policy, and a permission grant is generated." anyway i'll be including the debug output when i run the app on another conputer, i hope that my post isn't too long and boring. "'forms.exe': Loaded '\\Homepc\2games (d)\forms\Debug\forms.exe', Symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\mscoree.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\msvcr71.dll', Symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll', No symbols loaded. 'forms.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded

                L Offline
                L Offline
                leppie
                wrote on last edited by
                #7

                You need to either set your Intranet or that PC to full trust on the pc your running it from. xacc.ide-0.1.1 released! :) Download and screenshots

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups