Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bootstrap Error

 
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support
View previous topic :: View next topic  
Author Message
vhaxha



Joined: 24 Jan 2017
Posts: 3

PostPosted: Tue Jan 24, 2017 3:37 pm    Post subject: Bootstrap Error Reply with quote

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
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Jan 30, 2017 8:02 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
vhaxha



Joined: 24 Jan 2017
Posts: 3

PostPosted: Mon Jan 30, 2017 7:20 pm    Post subject: Now everything is working Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group