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 ...DNN cannot find new SQL instanceDNN cannot find new SQL instance
Previous
 
Next
New Post
7/7/2010 2:41 PM
 
Hi folks

I'm attempting a side by side upgrade of SQL 2005 to SQL 2008. As you probably know, this involves a parallel install of an instance of SQL 2008 alongside the original SQL 2005 instance. All seems to be OK on the SQL side of things, and the DNN database has successfully been detached from 2005 and reattached to 2008, also the DNN account has been successfully transfered from the 2005 instance to the 2008 instance.

Unfortunately, DNN 5 still doesn't seem to be able to see the database in the new instance - the DNN admin page for example, just defaults to the 'Under Construction' message page. I have a feeling it may be an incorrect connection string syntax, this is what I have tried at the moment, which appears to be unsuccessful (names changed to protect the guilty):

connectionString=
     "Data Source=MyComputerName\MyNewSQL2008InstanceName;
     Initial Catalog=MyDNNDatabaseName;
     User ID=MyDNNDatabaseAccount;
     Password=MyDNNDatabaseAccountPassword"
     providerName="System.Data.SqlClient"/>

I think perhaps the instance syntax is wrong, but it's not the default instance that DNN should be connecting to anymore, so how should I include the new instance name in the DataSource attribute?

Thanks for any advice.

Cheers



 
New Post
7/8/2010 4:52 AM
 
Me again

Just for the record, I managed to sort this myself. The syntax for using the new instance I gave above is correct, but I was using a SQL account to authenticate to the DNN database, and SQL 2008 was set to Windows Authentication only, rather than Mixed Mode. To enable the SQL authentication, I needed to follow the instructions at

http://msdn.microsoft.com/en-us/library/ms188670.aspx

after which DNN can access the database, as you might expect.

Cheers

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN cannot find new SQL instanceDNN cannot find new SQL instance


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