I am using Visual Studio 2005, together with MS SQL 2005 AND the Source version of DNN 4.9.1. I have the following problem:
I have created a Web site with the Install (sans source) version of DNN 4.9.1 and want to replicate it with the Source version of DNN, so I can run it in Debug mode (with VSS 2005) if necessary.
I think I got everything set up correctly (using a copy of the original project's datbase to a new one, setting the Web.config to point to it, copying the skin and module directories into the new Source code version, adding the files to the Portals/0 directory).
The problem arises when I attempt to run the project now. I get the following error:
"Module Load Warning One or more of the modules on this page did not load. This may be temporary. Please refresh the page (click F5 in most browsers). If the problem persists, please let the Site Administrator know."
So I ran it in debug mode to see precisely where the error is occurring. This reveals that an exception is raised on Line 576 of the Skin.vb file, when a call to objPortalModuleBase.FindControl("") is made in the InjectModule() method for the very first module it attempts to load (which happens to be a TxtHTML module).
None of the modules load. Does this problem ring a bell with anyone? I would like to be able to run DNN in debug mode with the full source code. Is there a better way? A work-around to get the modules to load?