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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryremote connectionsremote connections
Previous
 
Next
New Post
11/20/2008 9:09 AM
 

I got an error when I added the Repository Module:
"A critical error has occurred.
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. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"

I'm not getting any other db conneciton errors.  I've got a user (DotNetNuke) set up on the db as db_owner.  Here's my connection string in web.config:
  <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=s31csql03;;Database=DotNetNuke;uid=DotNetNuke;pwd=DotNetNuke;" providerName="System.Data.SqlClient" />
  </connectionStrings>

(Notice the string for SQL Server 2005 Express is commented out.  I'm using SQL Server 2005.)

Here are the particulars:
DotNetNuke version 04.09.00
Repository version 03.01.15

DotNetNuke is set up on a separate web server from my SQL Server.  Both are in the same intranet domain.

Web server (s31cweb01):
Windows 2000
IIS 5.0
.NET Framework 2.0

SQL Server (s31csql03):
Windows 2003
Remote connections have been enabled for TCP/IP using the Surface Area Configuration Tool and SQL Server Browser has also been enabled.
.NET Framework 2.0

I've searched the module's forum and the general forums for any solution besides "enable remote connections" and haven't found an answer.  Hope someone can help.

Larry

 
New Post
11/20/2008 11:13 AM
Accepted Answer 

There are 2 sets of connections strings in your web.config. Make sure to also update the ones for 'Legacy' modules.

 
New Post
11/21/2008 10:11 AM
 

Yay!  You rock.  Thanks.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryremote connectionsremote connections


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