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 ...DotNetNuke Connection - Keeps wanting to re-install (SQL Connection issue)DotNetNuke Connection - Keeps wanting to re-install (SQL Connection issue)
Previous
 
Next
New Post
6/23/2011 9:44 PM
 
Hi,

I've been running DotNetNuke using the SQL Express option, however yesterday I decided (not knowing the implications) to attach the database.mdf file to SQL Server 2008.

As soon as I did this, I got the installation page, which obviously indicates it isn't connecting to the database correctly.

I then detached the file, however this doesn't solve the problem - it's obviously done something which is disallowing DNN to connect to the database through either method.

So, I've reattached the database, all the data is still there (I had a look through some tables), I just need to work out how to connect the database through SQL Server 2008.

Quick Details
Root Directory:
http://localhost/
Computer Name: Doherty
Username and Password: I never gave the database any username or password when I attached it. This should be left blank then yes? Or Windows Authentication?
Database Name: Gave it the name 'ConquestWebsite' inside SQL Server 2008
Database File: App_Data/database.mdf

OK, So here are the connection strings I have:

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


And Legacy Connection:

<appSettings>
    <!-- Connection String for SQL Server 2005/2008 Express - kept for backwards compatability - legacy modules   
    <add key="SiteSqlServer" value="Data Source=.\SQLExpress;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=True;User Instance=True" />-->
    <!-- Connection String for SQL Server 2005/2008 - kept for backwards compatability - legacy modules -->
    <add key="SiteSqlServer" value="DOHERTY;Database=ConquestWebsite;Integrated Security=True"/>
</appSettings>

Can anyone please help me, or point me in the right direction with an article or something. This is really frustrating knowing that my whole website is there but I can't access it...
 
New Post
6/23/2011 10:20 PM
 
Your's is a common issue. The following blog post from Shawn Mehaffie, although a bit old, still addresses it's cause and fix nicely:

http://www.dotnetnuke.com/Resources/B...

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke Connection - Keeps wanting to re-install (SQL Connection issue)DotNetNuke Connection - Keeps wanting to re-install (SQL Connection issue)


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