Red Gate forums :: View topic - Problem in protecting
Return to RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Problem in protecting

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message

Joined: 29 Mar 2014
Posts: 1

PostPosted: Sat Mar 29, 2014 11:59 am    Post subject: Problem in protecting Reply with quote

I want to protect my datalayer dll which use entity framework as ORM.
in unprotected dll every thing work fine.
but when I protect file with smart assembly and sign the assembly with same key.
I got following error:
Got unexpected type of System.Data.SqlClient.SqlConnection instead of a ProfiledConnection
Back to top
View user's profile Send private message

Joined: 23 Apr 2012
Posts: 235

PostPosted: Mon Mar 31, 2014 6:24 pm    Post subject: Reply with quote

Hi Amir,

Thanks for your post!

Can I first check--what protection options do you have enabled on the assembly?

You'll likely need to exclude some code from obfuscation, pruning, and/or control flow obfuscation to avoid the error.

For any of these protection options that you have enabled, could you please try disabling them one at a time to determine the one causing this?

Please let me know how you get on!
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

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