Last post Aug 25, 2005 05:53 PM by kevonh
Aug 25, 2005 04:27 PM|kevonh|LINK
Aug 25, 2005 05:00 PM|kevonh|LINK
I attempted to run in debug mode, but I got this error, how do I fix that?
Error while trying to run project: Unabole to start debugging on the web server. The project is not configured to be debugged.
Aug 25, 2005 05:22 PM|cjsmitty|LINK
ERROR: Could not connect to database.
SQL Server does not exist or access denied.
Aug 25, 2005 05:53 PM|kevonh|LINK
Interestingly enough, that was not the problem... I don't know what the problem was, but here's how I fixed it....
I was using the DNN with source to attempt to do the install from. I wiped that out, (copied actually) then replaced it with just the install version. I changed the connection string to what was in the other one, and it worked fine... so, there appears
to be a slight difference (perhaps only in my downloaded version) between the plain install version and the install with source version.
Then, after it installed correctly, I removed the install version, replacing it with the with-code version and I got a couple errors that indicated that there were DNN configuration issues (something about modules with the same index number ???) so I copied
everything from the install version into the install-with-code version and it worked fine.
However, this brings me to the current issue, which is different, and I'm not sure if I should place this in a different question or not, so I'll post it here and if someone says it belongs in it's own question, I'll copy/paste...
When I open the DotNetNuke.sln I get errors (all the same) which read: The project location is not fully trusted by the .net runtime. This is usually becuase it is either a network share, or mapped to a network share not on the local machine (ed. it's not)
If the output path is under the project location, your code will not execute as fully trusted and you may receive unexpected security exceptions.
Is this because I have the project installed in the c:\inetpub\wwwroot\ folder?