Problem in protecting

.NET obfuscator and automated error reporting

Problem in protecting

Postby amirhp » Sat Mar 29, 2014 10:59 am

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
Posts: 1
Joined: Sat Mar 29, 2014 10:45 am

Postby jessica.ramos » Mon Mar 31, 2014 5:24 pm

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.
Posts: 369
Joined: Mon Apr 23, 2012 12:13 pm

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests