gmitchell7 wrote
OK, I only get the error on a site I upgraded using the source code zip file. If I create a completely new site using that same source code zip file there is no compile errors. Any suggestions?
Thanks,
G.M.
When I first started developing I was plauged with errors like this... specifically when I was using third party modules, it ussually had to do with one third party module looking for a specific version of the dnn dll, or ONE old version somewhere in one of your bin directories.
After 3 months of struggling with this all the time, moving back and forth from production to test, upgrading dnn versions, etc.. I finally figured it out:
Don't use the source version of DNN. If you HAVE to use the source version of DNN, use it without any modules but the one you're developing... everything seems to work if you have the source of EVERY module loaded in your solution.
These days I just have a second solution setup with the source that i use as read-only reference only when needed. I never modify the source - any time i need to do something tricky that seems like it would require change the source, i can ussually create and HTTP module to intercept some aspect of whats happening and change it.... You don't want to change the source anyhow - it makes upgrading versions a 4 day project instead of a 4 hour project.
I hope this advice saves you some time, I wasted weeks of time to being stuck on the idea that I wanted to do my development with the source project - just in case i needed to do some debugging... that 'just in case' doesn't actually happen now that I develop with the install distributable.