I am using Visual Studio 2005, together with MS SQL 2005 AND the Source version of DNN 4.9.1 on a Windows Server 2003, Service Pack 2.
I have the following problem trying to use the source code version of DNN 4.9.1:
- I installed DNN with DotNetNuke_04.09.01_StarterKit.vsi.
- I created a DNN Web project, set the permissions, edited connection strings to point to MS SQL 2005 database I had created (adding Network Service user with permissions). Just a no-bells&whistles install, I did not add any skins or modules to the project.
- I then ran the project added a "localhost/DotNetNuke_Maintenance" port alias.
- I then made a backup of the database just configured by the above steps.
Next I wanted to set up a Source Code project, so I did the following:
- I then did a restore of the backup just made to replicate the database (adding in Network Service permissions).
- I then extracted the source version into a directory, set up the permissions, copyied release.config to web.config, edited the database connection string.
- I then created a Web (using a Virtual Directory, the solution will not load in VS), calling it "DotNetNuke_Maintenance" and pointing it to the "Webfiles" directory in the source. I set the permissions for Network Service and made sure .NET version was correct.
After doing all this, I can load the solution in VS and compile it. But, when I try to run (Ctrl+F5) the project, I always get the following:
Server Error in '/' Application.
--------------------------------------------------------------------------------
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /DotNetNuke_Maintenance/Default.aspx
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
I have been (periodically) banging my head against this issue of trying to get a source code project working for more than 2 weeks (my last question here was not responded to).
Is it perhaps something to do with pointing the Website to the Webfiles directory that I'm not catching? I've tried it various ways and put the source code directory right on the root of the drive. It seems the permissions are set.
When I get the error message shown above, the browser shows it is going to "http://localhost/DotNetNuke_Maintenance/Default.aspx".
Does this problem ring a bell for anyone? This must have come up before, but I can find it dealt with. I would like to be able to run DNN in debug mode with the full source code. Is there a better way? I would sure appreciate some help.