Home - Forums-.NET - Spices.Net - How to obfuscate ASP.NET 2.0 Precompiled DLL's?


NET code security, tools to protect, obfuscate, tamper defense, code and data safety, recover, convert, optimize, explore, browse and analyze .Net software.

This forum related to following products: Spices.Net Suite, Spices.Net Obfuscator, Spices.Net Decompiler

How to obfuscate ASP.NET 2.0 Precompiled DLL's?
Link Posted: 14-Jun-2007 23:55
I want to protect ASP.NET 2.0 application but obfuscated precompiled DLL's does not work. I take the following error:

System.Web.HttpException: The file '/myWeb/Default.aspx' has not been pre-compiled, and cannot be requested

Any idea?
Link Posted: 17-Jun-2007 18:01
Try to use ObfuscationOptions.Members = Default mode.
Probably you've obfuscated some public or overridable members used in your .aspx page.
Link Posted: 17-Jun-2007 20:51
Are you try obfuscating ASP.NET 2.0 project?

Filehash no match with obfucated dll's in .compiled extension files in \\bin folder.
For example:
Inside default.aspx.3f587c9c.compiled file:


But obfuscated App_Web_msvtw82a.dll filehash wrong.
Link Posted: 19-Jun-2007 04:38
In that case you should refresh filehash values according to the new values of obfuscated assemblies.
Link Posted: 19-Jun-2007 20:45
Unfortunately, I dont know calculating filehash value from new DLL.
So I convert my \"Web SITE project\" to \"Web APPLICATION project\" and generate single DLL and obfuscate this DLL. This worked