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 ...Error missing file on install of DNN4Error missing file on install of DNN4
Previous
 
Next
New Post
1/5/2006 10:48 AM
 
 

I am getting an error saying it is missing DotNetNuke_template.mdf'.

Where can I get this file?

This is a new install of DNN 4

 

thanks

 
New Post
2/4/2006 12:12 PM
 

i have same problem equal

 
New Post
3/4/2006 9:36 AM
 

I also have this problem!... Can anyone explain this?

Thanks

 
New Post
3/10/2006 7:29 AM
 
Chalk up another one for this issue. This is my very first DNN install on my XP Pro box and so far... I'm not freaking happy!
 
New Post
3/15/2006 4:41 AM
 

Hi guys, try this:

Delete all past DNN folders. Do not try and copy an old web.config to save time either.
If you have ever encountered any wierd error messages when installing SQL, SQLE, SQL Serv. Manager, VS x, VWD and .net 2.0 framework, then please uninstall all of them and surf over to microsoft to get the latest versions of the downloadable components. This is important as many of the links from other possible solutions in forums actually point to different release versions of SQLE, .Net and VWD. They clash with each other, and with DNN 4.0.2

Having installed all of the core requirements successfully without any errors. REBOOT. I know this sounds patronising, but i've found that this step allows the OS to finalise any updates to the system. Also, never ever multitask when installing the core components. The .Net framework gets finicky if not paid full attention during birth.

Grab DNN 4.0.2 Starter Kit and follow the instructions in the InstallationGuide.pdf in DNN_Docs downloadable.

Create a new DNN website and chunk it into Visual Studio/Websites/xxxxx as shown in the .pdf . Inetpub/wwwroot is a little more fussy with inherited NTFS permissions, whereas VS/Websites/xxxxx will have fresh untainted permissions from the new VWD installation. Do choose File System instead of Http for now. This eliminates the need to worry about IIS configurations for your first successful DNN installation.

Okay, so we've encountered welcome.html. Step 1 - Configure a website database.

SQLExpress users - do not make the mistake of creating a db manually using SQL Server Management Studio. Follow the steps in SQLServerXpressConfig.html which is linked from welcome.html . I've found that this is the place most 'experienced' users fall into the trap after reading these lines :

Before you can install DotNetNuke, you need to create/configure a Database.  The default connection string provided assumes that you will be using a SQL Server 2005 Express database file called Database.mdf.

Data Source=.\SQLExpress;
Integrated Security=True;
User Instance=True;
AttachDBFilename=|DataDirectory|Database.mdf;  

If you would like instructions on creating this Database file then see SQL Server 2005 Express Configuration.

VWD creates the database file for you in the correct location if you follow the steps in the link. Suprisingly, database.mdf doesnt show up in Management Studio after a successful installation of DNN. Also keep the default name of database.mdf when installing for the first time. This removes the need to mess around with code in web.config later.

Web.Config - welcome.html tells you to edit the lines

<add name="DotNetNuke" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"

(Will someone in the development team PLEASE update these images in welcome.html!! name=DotNetNuke  is wrong and very misleading to first time installers who are following your instructions exactly.)

Leave it as name=SiteSQLServer and key=SiteSQLServer , otherwise you will get "object is not defined" errors later in web.config , when references are made to the SiteSQLServer variable. Since we left the default database name as database.mdf earlier on, we can safely leave web.config alone, totally.

SQL200x users - as mentioned in another forum post, do check the comment tags around connectionString and appSetting


<connectionStrings>

<!-- Connection String for SQL Server 2005 Express
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient"
/>
-->

<!-- Connection String for SQL Server 2000/2005 -->
<add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"providerName="System.Data.SqlClient" />

Pay close attention to where the " --> " tags are. Change Database=DotNetNuke to whatever you named it in SQL200x and fill in the uid= and pwd= variables. Theres another thread that tells you how to remove the need for uid and pwd in web.config but lets stick to basics first since we're having problems getting it installed properly.

Skip the part about configuring IIS, since we chose File System when first creating a New DNN site earlier on.

Set your NTFS permissions properly. No need to go overboard by setting all the parent folders to Full Control.
- right click your DNN folder,
- select Properties
- select the Security tab
- choose Add
- you'll find that Network Service and ASPNet accounts arent there, click on Advanced
- heres another another longer page titled Select Users and Groups, click on Find Now
- a long list of accounts should appear. Choose NETWORK SERVICE (not NETWORK) for win2003 or ASPNET for win2000
- click OK
- the account has now been added to the list of users tied to this folder. check on Full Control, making sure the account  name you just added selected.

Choose a Site Template - again, DNN Devs please update this! Its quite frustrating to be told about something that isnt included in the install package or starter kit for 4.0.2.  What makes it worse is that the link to TemplateConfig.html shows me this

---------------------------
Configuring the Install Template for DotNetNuke

This section includes more detailed information on how to configure the install template for  DotNetNuke.

1. .

Back to Welcome page.

---------------------------


Grrr.. >,.<


Install DotnetNuke by pressing ctrl-F5 but STOP! please save your web.config first before hitting the build switch. Many people would have release.config open in another tab in VWD while reading Welcome.html, and its suprising how many people forget to save their new changes in web.config.

Done all that ? ok, take a deep breath, close all your other app windows and hit ctrl-F5.
Let the computer grind for a bit (longer if you only have 256MB Ram) and wait for IE to open up with install.aspx. Let that page grind thr ua bit more and hopefully you should be presented with the Home Page of your new portal. Congratulations!

If you ever hit a 'module could not be loaded' message, then just refresh the page. Some computers choke after so much processing. Refreshing the home page will load properly with the sample text and images already in the modules.

Good luck folks!

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error missing file on install of DNN4Error missing file on install of DNN4


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