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 

unhandled exception

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



Joined: 18 Sep 2011
Posts: 11

PostPosted: Wed Sep 21, 2011 10:57 pm    Post subject: unhandled exception Reply with quote

Hi

I am getting the following error when I run after a build:

An unhandled exception (Unable to locate encrypted resource for assembly (XXX.Net)) occurred while bootstrapping the application.
Does this mean that it can't find the enc file?

The output window shows:

A first chance exception of type 'System.IO.FileNotFoundException' occurred in AssemblyLoaderx86.dll

Any pointers or suggestions would be greatly appreciated.

Regards....

grr
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Sep 21, 2011 11:22 pm    Post subject: Reply with quote

This error means that .NET Encryptor was unable to locate your encrypted application assembly in the Bootstrapper resources. This could be because you didn't include the encrypted assembly in the Bootstrap project or you forgot to set the build action for the encrypted assembly to Embedded Resource. See the section Adding your own Assemblies in the Getting Started section of help for more information.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
grr



Joined: 18 Sep 2011
Posts: 11

PostPosted: Thu Sep 22, 2011 10:20 pm    Post subject: Nil Exceptions Reply with quote

A Ha!

Yep setting the enc file to an embedded resource did the trick.

Thank you very much.

grr
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