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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...web.config for Windows XP Pro (Newbie Questionweb.config for Windows XP Pro (Newbie Question
Previous
 
Next
New Post
5/17/2009 12:14 AM
 

I am trying to set up DNN on my home computer so I can learn about it offline. All tutorials I have found leave parts out.

What entries do I make in web.config to make DNN work on my home computer? I was using the DNN Installation Wiki and was stumped when I got to:

"We then need to enter the data for our SQL Server. Add the server name (Server=), database name (Database=), user ID (uid=), and the password (pwd=) so that our application knows how to connect to our server. This information will be based on how you have set up your SQL Server.

It is a gaping hole in the tutorial for me. I went to the websites suggested but it is above me what to do when I arrived.  I was hoping to find an example because I do not know how to add entries as the tutorial suggests.

Server=What goes here??? It might be COMPUTERNAME//MY USER NAME?

Database=DotNetNuke

uid=my user id

pwd=my password

Windows XP Home

DotNetNuke_Community_04.09.03_Install

  • Windows XP Professional Edition (Service Pack 3)
  • Visual Web Developer 2008 Express Edition (Service Pack 1)
  • Microsoft .NET Framework 3.5 Service Pack 1
  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.1 Hotfix
  • Microsoft .NET Framework 2.2 Service Pack 2
  • Microsoft .NET Framework 3.0 Service Pack 2
  • Windows Installer 4.5
  • Windows Powershell 1.0
  • SQL Server 2008 Express with Advanced Services
  • Mozilla Firefox 3.0.10

Thanks for any help

 

 

 
New Post
5/17/2009 2:52 AM
 

James,

you do not need to edit web.config any longer. this will be handled by the installation wizard now, which queries you for the values.

When spcifying Database access, I still prefer to use Full SQL Server mode after creating manually a blank database and granting permission to it, local SQL Server database is by default installed as instance ".\SQLExpress" with the name you specified. you may either use "integrated security", which means local "ASPNET" account is used to access the database (in SQL Server Management Studio - SSMS-  section security grant login permission and database owner permission for your db) or SQL server authentication using a sql server user name and password.

If you plan to create a web site to move later on a production server or use multiple web sites on your XP Pro machine, I strongly suggest to use IIS Admin, which allows you to create your web sites like http://dotnetnuke/ instead of htp://localhost/dotnetnuke.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/17/2009 1:04 PM
 

Thanks for those answers. It is good to not have to edit web.config.  I will work on the second paragraph about Database access.  Thanks for the tip about IIS Admin.  I did not know about that as I have not progressed that far yet. You saved me from another lurking headache.

Does it make a difference to anything that I downloaded and installed SQl Server 2008 Express (by default) instead of the 2005 version that is frequently referenced everywhere?

Here is the error I am currently getting:

 

Could not open new database 'C:\DOTNETNUKE\APP_DATA\DATABASE.MDF'. CREATE DATABASE is aborted.
An attempt to attach an auto-named database for file C:\DotNetNuke\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.
File activation failure. The physical file name "C:\DotNetNuke\App_Data\Database_log.ldf" may be incorrect.
The log cannot be rebuilt when the primary file is read-only.

 
New Post
5/18/2009 2:48 AM
 

Either use database attached to SQL Server or use file based access and do not touch the database with ANY tool, see here.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...web.config for Windows XP Pro (Newbie Questionweb.config for Windows XP Pro (Newbie Question


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