Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 5.0 installation error on ASP.NET Development ServerDNN 5.0 installation error on ASP.NET Development Server
Previous
 
Next
New Post
12/29/2008 6:52 PM
 

Okay, I tried again and again with small small changes to the config and stuff. Finally I found that it is possibly the ASP.NET Development Server that has a problem. But I am not sure. Here is what I did when I got it working:

  1. Create an empty database in SQL Server (I use SQL Express on my machine, but NOT the attach-db command. Connecting like to SQL Server).
  2. Create a working directory for the website contents - This MUST be a directory that you have NOT used before in the ASP.NET Development Server, since it seems that it caches information about directories, virtual directories and port numbers. It is important to have a CLEAN start on this one, else the error will just pop up again.
  3. Copy the .zip contents (the website files) to the working directory and use the release.config as web.config for installation (later for development just switch it for the development.config). Remember of course your specific settings such as connection strings.

Finally it worked for me. I then integrated this website into my solution with parallel development websites with a development and staging website for each DNN version :-)

 
New Post
12/29/2008 7:46 PM
 

Sebastian Leupold wrote

do you have 2 installations in a single solution? I do not understand, usually installations should be separated.

Raymond, if you have issues with initial installation, it is easiest to drop database and restart from scatch, otherwise you might have issues with leftovers.

I install the website using a seperate, clean solution. Once the website is installed and ready, then I integrate the website into my module development solution. The solution looks like this:

-- DotNetNuke
---- 04.09.00
------ 04.09.00_Development
------ 04.09.00_Staging
---- 05.00.00
------ 05.00.00_Development
------ 05.00.00_Staging
-- Modules
---- Client-Name
------ ClientModule1
------ ClientModule2
---- MyCompany
------ MyModule1
------ MyModule2

Each website has its own database named similarly to the solution, eg. "DNN_05.00.00_Development".

One just have to remember to adjust the PortalAlias table to reflect the hostname you use for the specific test-websites. Here the hosts-file in windows comes in handy to name a website eg. 05.00.00, 04.09.00, or even 05.00.00.Development. Thereby providing a logical map between hostheaders, parallel versions in one Visual Studio solution and separate databases and thereby providing a very test-friendly development-environment.

I still need to make my build-scripts to deploy the newly built module to the different versions to test on different versions and even sometime in near future applying TDD (Test-Driven Development) to my DNN solution ;-)

 
New Post
12/31/2008 1:12 PM
 

I ran into this problem today too.  My development machine is running IIS 7, I was able to resolve the issue by switching the trust level to "Full" trust in the web.config.  It seems I can't get DNN running in this environment (including 4.9.x) without making this change. 

 
New Post
12/31/2008 1:33 PM
 

you need to create a virtual directory and enable asp.Net for each of your portals.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/8/2009 8:33 AM
 

This configuration that I use is NOT using IIS, but the ASP.NET Development Server. But like it has been said already, you need a virtual directory for each DNN installation/version.

The ASP.NET Development Server enables you to define your own Virtual Directory name and port. So you simply make sure that your ports for each DNN Version on the server are different and remember to do the same with the Virtual Directory names. Like I mentioned earlier, my Database-name and Virtual Directory correspond more or less to the name of the version. E.g. 05.00.00_Staging.... This is by default my physical directory name, my virtual directory name, and using a suffix also the main part of my DB name (eg. DNN_05.00.00_Staging).

You may even adjust your hosts-file and provide an alias for your portal like http://05.00.00/ and then remember to register that alias in your installation of course. This way you avoid having to go to eg. http://localhost:1234/05.00.00/

This environment works like a charm for me and I haven't found a problem with it (yet).

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 5.0 installation error on ASP.NET Development ServerDNN 5.0 installation error on ASP.NET Development Server


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out