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 ...Installing 4.0.2 on XP Pro, MsSQL2005ExpressInstalling 4.0.2 on XP Pro, MsSQL2005Express
Previous
 
Next
New Post
4/11/2006 8:26 AM
 
I'm having problems. I have an XP Pro box, fairly standard. No Visual Studio or development tools, just a normal machine. IIS had been on the machine previously but was uninstalled long ago.

The steps I've taken to get to where I'm at:
  1.  Re-installed IIS with default options. ASP.Net 2.0 is already installed on the machine, so...
  2. used aspnet_regiis.exe to reinstall .net it into IIS (just in case)
  3. Downloaded and installed SQL Server Express 2005 & Management Studio.
  4. Rebooted.
  5. Logged on and downloaded DotNetNuke_4.0.2_Install.zip from this web site.
  6. Unzipped into a folder outside c:\inetpub\wwwroot
  7. Downloaded DotNetNuke_template.zip (from a 3rd party site, but checked out a few to make sure there wasn't any differences) and unzipped the file to the Providers\DataProviders\SqlDataProvider folder (this contains the missing "DotNetNuke_template.mdf" that doesn't appear to be in the DotNetNuke_4.0.2_Install.zip file; documentation talks about it so I presume I need it).
  8. Put a virtual into IIS called "portal",  pointing at the place I put DNN. Gave it read, execute and browse.
  9. Went to file system security tab (explorer) and gave ASPNET modify rights on the folder (too much probably), and told the permissions to replace on subdirectories.
  10. Renamed release.config to web.config.
  11. Went to http://localhost/portal/default.aspx
  12. got this:
Error Installing DotNetNuke
Current Assembly Version: 04.00.02
ERROR: Could not connect to database specified in connectionString for SqlDataProviderSystem.Data.SqlClient.SqlException: An attempt to attach an auto-named database for file C:\Inetpub\DNN\App_Data\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at (etc)

This isn't the first time I've been through all this. The first time around I discovered about the missing DB in the zip file, and also discovered that DNN running on 2005 just didn't like not running a named instance (I don't normally run an instance) and that fiddling with the connection settings just wouldn't work. Hence trying it all on a blank machine and installing everything from scratch - still borked. Anyway: this should work because everything is fresh and windows authentication is working to the database and the default database now exists. A suitable solution should not include installing visual studio or having to recompile anything.

Suggestions?
 
New Post
4/11/2006 9:48 AM
 

You've had better luck than I have!  This is supposed to simple to install, setup and configure!  BS!  I spent over 10 hours over the last two ways, trying the zip install and the VS install.  Neither work!  The documentation goes back and forth to two different versions and I can't keep track of where I'm supposed to do what!

No matter what I do, when it's all said and done, I try browsing to the directory I installed it in and all I get is a 403 error.

I'm about ready to throw in the towel and go back to Apache and PHP. 

I'm running on a basicly standard XP pro box.

Any suggestions?

 
New Post
4/11/2006 12:08 PM
 

I already have questions about your setup, tho' you might have just omitted those steps from your post.

First -- Did you modify the web.config app and database sections to reflect your setup?
Two -- You mentioned nothing about setting up permissions - Did you give the proper permissions on the website?
Three -- Why are you creating a virtual directory for DNN?  I tried that and failed, but decided to keep things simple and install DNN in the web root (Inetpub\wwwroot) and worked perfectly there.......


Shadow
 
New Post
4/11/2006 2:49 PM
 
After a few hiccups, I ve managed to install Nuke 4.0.2 successfully on XP Pro with VS 2005 and SQL Express 2005. The steps that I followed (or rather discovered) are as below:

  1. Install IIS before .NET framework 2.0. I included Frontpage server extenstions in the installation option.
  2. If .NET framework 2.0 has been installed prior to IIS, it throws the error: "Failed to access IIS metabase" on browsing the site.
    To fix this, Reinstall .NET framework 2.0 with the Repair option. Just running aspnet_regiis does not work.
  3. Unzip DotNetNuke Source package. Open DotNetNuke.sln in Visual Studio 2005. Opening the solution automatically configures the virtual directory in IIS.
  4. Launch Control Panel - Administrative Tools - IIS Manager. Right Click on DotNetNuke_2 - Properties. In the Documents tab, add Default.aspx as Default Document. In the ASP.NET tab, ensure 2.0 is selected for ASP.NET version.
  5. To create the Database: (repeated from DotNetNuke_4.0.2\Website\Documents\Welcome.html). In Solution Explorer, right-click on App_Data and select Add New Item. Select SQL Database, and click Add.
  6. Update the connection strings (there were two) in development.config (or release.config) with the Database name that was created.
  7. Rename development.config (or release.config) to web.config
  8. Grant ASPNET account full permissions to the folder DotNetNuke_4.0.2\WebSite.
  9. If in the above step, the folder Properties does not show Security tab, go to Control Panel - Folder Options - View tab. Under Advanced Settings, uncheck Use Simple File Sharing. Now you should find the security tab displayed in the folder Properties of DotNetNuke_4.0.2\WebSite. Add ASPNET account and grant full access.
  10. Launch the browser and point it to http://localhost/DotNetNuke_2/
    It would automatically redirect to
    http://localhost/DotNetNuke_2/Install/Install.aspx?mode=Install
    and the installation completed successfully.
The above points have been pulled out from various forums, the documentation and inputs from this thread. Hope this helps. Good luck.


 
New Post
4/11/2006 5:41 PM
 
Shadowpdx wrote

First -- Did you modify the web.config app and database sections to reflect your setup?
Two -- You mentioned nothing about setting up permissions - Did you give the proper permissions on the website?
Three -- Why are you creating a virtual directory for DNN?

1. The documentation suggests that it should create a database authomatically when running sql2005 on the default instance with windows authentication. All that should be neccesary is to rename the release.config to web.config - no creating blank databases or anything.

2. Yes, I gave proper permissions to the one and only website that WP Pro lets you have. This is not a server product that lets you run multiple sites.

3. Because I'd expect to be able to house all those files outside the root, because there might be other files I want to have in the root. And it's supposed to work this way.

ar_anand wrote:

If .NET framework 2.0 has been installed prior to IIS, it throws the error: "Failed to access IIS metabase" on browsing the site.
To fix this, Reinstall .NET framework 2.0 with the Repair option. Just running aspnet_regiis does not work.

Funny, I've never had that problem in the past on other machines where I've put IIS on after .net2. If dotnet wasn't working how would I have been seeing even the initial error? I guess that something more to try - yet another step.

ar_anand wrote:

Unzip DotNetNuke source zip. Open DotNetNuke.sln in Visual Studio 2005. Opening the solution automatically configures the virtual directory in IIS.

But this means having VS on the machine in the first place. I'm aware that I can install a starter kit version (or the whole mega version from the dvd) and do the iis / database setup from within that, but that seems like a rediculous workaround when a plain install scenario "unzip and run" is said to run by the documentation.

You'd think someone would package up an installer for the damned thing.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Installing 4.0.2 on XP Pro, MsSQL2005ExpressInstalling 4.0.2 on XP Pro, MsSQL2005Express


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