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 ...Could not find file .....SqlDataProvider\DotNetNuke_template.mdfCould not find file .....SqlDataProvider\DotNetNuke_template.mdf
Previous
 
Next
New Post
1/17/2006 7:43 PM
 

Is ptrusty's method of setting up the connectionstring for SQL 2000/2005 the proper/authorized way to go?  It seems that this way of connecting to SQL 2000/2005 would have been explained in the Installation Guide.

After having the Subject error, I did set my web.config up by exposing SQL 2000/2005 and commenting out SQL Express.  DNN deployed successfully, but all of my core modules show this error:  DotNetNuke.Services.Exceptions.ModuleLoadException: An error has occurred while establishing a connection to the server. 

The error message makes me wonder about my database connection, although everything else is working.

Can anybody give me a clue as to what is wrong?

Thanks,

Ken

 
New Post
1/18/2006 11:40 AM
 
Your connection string is correct - you just have to duplicate it in the AppSettings Area - which is for the legacy (v3.x) core modules.

        <add key="SiteSqlServer" ... />



Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
1/20/2006 1:40 PM
 
Thanks Charles,

This regards setting up the connection strings for SQL 2000/2005.  Setting up the connection strings requires close inspection and attention to detail.  What I found is that not only do we have to insert our specific connection string information it two places, but we also must place comments around SQL Express in two places AND remove the comments around SQL 2000/2005 in two places.  What I hadn't noticed is that I had to add and remove comments.

Ken
 
New Post
1/22/2006 2:17 PM
 

Ok, in my environment (Express) the only change I had to make was to change "Database.mdf" to "DotNetNuke.mdf" in the connection string.

Thanks,

 

Bill Ross

 
New Post
2/20/2006 5:08 AM
 
I am getting the same error and figure out where I am going wrong:

Could not find file 'C:\Sites\Single28\chrisbarber1\webroot\Providers\DataProviders\SqlDataProvider\DotNetNuke_template.mdf'.

<connectionStrings>

<!-- Connection String for SQL Server 2005 Express -->

<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=c:\sites\Single28\chrisbarber1\webroot\App_Data\Database.mdb;" providerName="System.Data.SqlClient" />


</connectionStrings>

<appSettings>

<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules -->

<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=c:\sites\Single28\chrisbarber1\webroot\App_Data\Database.mdb;" />


Can anyone help please?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Could not find file .....SqlDataProvider\DotNetNuke_template.mdfCould not find file .....SqlDataProvider\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