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 ...Cannot find DotNetNuke_template.mdfCannot find DotNetNuke_template.mdf
Previous
 
Next
New Post
1/25/2006 1:02 PM
 
Edited: Found a mistake, you also need:

<add key="SiteSqlServer" value="Server=.\SQLEXPRESS;Database=DotNetNuke;User ID=dnn;Password=dnnpassword;Connection Timeout=5" />

in appsettings


Using SQL Server Express 2005 I used the following connection string:

.\SQLEXPRESS;Database=DotNetNuke;User ID=dnn;Password=dnnpassword;Connection Timeout=5

I manually created the database DotNetNuke and user dnn with the password dnnpassword.

Here is how my web.config file looked:

  <connectionStrings>
    <add name="SiteSqlServer" connectionString="Server=.\SQLEXPRESS;Database=DotNetNuke;User ID=dnn;Password=dnnpassword;Connection Timeout=5" />
  </connectionStrings>
  <appSettings>
    <add key="SiteSqlServer" value="Server=.\SQLEXPRESS;Database=DotNetNuke;User ID=dnn;Password=dnnpassword;Connection Timeout=5" />
    <add key="InstallTemplate" value="DotNetNuke.install.config" />
    <!--  Alternative Install Templates (included in package)
    <add key="InstallTemplate" value="Club.install.config" />
    <add key="InstallTemplate" value="Personal.install.config" />
    <add key="InstallTemplate" value="SmallBusiness.install.config" />
    -->
    <add key="AutoUpgrade" value="true" />
    <add key="InstallMemberRole" value="true" />
    <add key="ShowMissingKeys" value="false" />
    <add key="EnableWebFarmSupport" value="false" />
    <add key="EnableCachePersistence" value="false" />
    <add key="InstallationDate" value="1/25/2006" />
  </appSettings>

 
New Post
1/26/2006 9:36 AM
 

I made everytinhg like you said but, I no I have this message

"ERROR: Could not connect to database specified in connectionString for SqlDataProviderSystem.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections."

In SqlServerExpress proprieties I have the Alow remote connections check box checked.

I have also set the option "SQL and windows authetication"

Any one could help me please

tks

 
New Post
1/26/2006 11:41 AM
 

OK, I found the problem

I changed the "server=.\SqlEXPRESS"  to the name of my machine and it works.

 
New Post
2/7/2006 4:16 PM
 

I'm using SQL 2005... I think I have followed the install directions correctly.  I'm still getting the following error... System.IO.FileNotFoundException: Could not find file 'C:\DotNetNuke\Website\Providers\DataProviders\SqlDataProvider\DotNetNuke_template.mdf'.

I can't find the DotNetNuke_template.mdf file on my machine.  I'm using the 4.0.2 source files.

 
New Post
2/15/2006 7:30 PM
 

You have to edit the connection string in two places in web.config:  <connectionStrings /> and <appSettings />. If you're still seeing the message about the "DotNetNuke_template.mdf" file, then you haven't edited BOTH connection strings.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Cannot find DotNetNuke_template.mdfCannot find DotNetNuke_template.mdf


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