Last post Aug 31, 2016 04:20 PM by Siva Krishna Macha
Aug 26, 2016 04:12 PM|sangad|LINK
I have project and i added class in app_code folder.
It work fine when i set class file build action to compile.
then i created installer.
after install the installer it gives me error of class file inaccessible.
Aug 26, 2016 04:29 PM|Siva Krishna Macha|LINK
Is it web application (instead of website)? See if you can use other folder in such case.
See this thread: http://stackoverflow.com/a/89719
Aug 26, 2016 04:32 PM|sangad|LINK
Its web application
Aug 26, 2016 04:38 PM|Siva Krishna Macha|LINK
Ok Would advice to take the generated application dll from the BIN folder and use Reflector (or any disassembler tool), and inspect if you could see your class in that dll.
That could give the clue. Also, would be good if you could post the exact error details.
Aug 29, 2016 04:38 AM|sangad|LINK
I moved class file inside App_Data and class file in xyz namespace
in web.config it not getting the class file.
<add type="test" name="test"/>
getting below error
System.Web.HttpException: Could not load type 'test'.
Aug 31, 2016 04:20 PM|Siva Krishna Macha|LINK
App_Data is special folder for content files like xml, etc.
Would advice to create some other new folder for your project and start using it. That would be better.