View previous topic :: View next topic |
Author |
Message |
vhaxha
Joined: 24 Jan 2017 Posts: 3
|
Posted: Tue Jan 24, 2017 3:37 pm Post subject: Bootstrap Error |
|
|
I have downloaded trial version NET Encryptor. The test example is working fine but if I try to apply to my project application than I am ending up with this error message:
"[b]an unhandled exception (error loading assembly projectName.enc. Check that the assembly was encrypted using the same strong name parameters used to sign the Entry Assembly) occurred while bootstrapping the application[/b]" :?
Also, it is worth mentioning that your test example under "C:\Program Files (x86)\Infralution\.NET Encryptor\Samples" does work only on Debug mode. However once changed to Release mode I am ending up with the this error message:
"[b]An unhandled exception (Debugging this process is not permitted)occurred while bootstrapping the application[/b]" :?
Please, can you help me in this issue |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Jan 30, 2017 8:02 am Post subject: |
|
|
Quote: | an unhandled exception (error loading assembly projectName.enc. Check that the assembly was encrypted using the same strong name parameters used to sign the Entry Assembly) occurred while bootstrapping the application |
Is that the full error message (no other exception information)? Is your original application exe signed with a strong name? Have you changed the bootstrap exe project to use the same strong name? Both your application and the bootstrap must be signed with the same strong name. The error seems to indicate that this is the issue.
Quote: | An unhandled exception (Debugging this process is not permitted)occurred while bootstrapping the application |
You cannot debug release versions of the protected application - this means you can't start the release version from Visual Studio - because it tries to attach a debugger. _________________ Infralution Support |
|
Back to top |
|
|
vhaxha
Joined: 24 Jan 2017 Posts: 3
|
Posted: Mon Jan 30, 2017 7:20 pm Post subject: Now everything is working |
|
|
Infralution wrote: | Quote: | an unhandled exception (error loading assembly projectName.enc. Check that the assembly was encrypted using the same strong name parameters used to sign the Entry Assembly) occurred while bootstrapping the application |
Is that the full error message (no other exception information)? Is your original application exe signed with a strong name? Have you changed the bootstrap exe project to use the same strong name? Both your application and the bootstrap must be signed with the same strong name. The error seems to indicate that this is the issue.
Quote: | An unhandled exception (Debugging this process is not permitted)occurred while bootstrapping the application |
You cannot debug release versions of the protected application - this means you can't start the release version from Visual Studio - because it tries to attach a debugger. |
Now everything is working.
Thank you very much for your time and help
Vesel |
|
Back to top |
|
|
|