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...Upgrading DNN P...Upgrading DNN P...problem moving dnn to a new serverproblem moving dnn to a new server
Previous
 
Next
New Post
6/4/2014 8:41 AM
 

Hi all,

  I don't know if this forum is the right one, but I need some informations: I'm movind some dnn 5.6.* installations from 2003 server to 2008 r2. Several of them worked without problems changing the db connection string, but one is giving a strange problem.

  I have the same connection string (change just username and pwd), tested with management studio express, but when I try to start the site i receive the error

A+network-related+or+instance-specific+error+occurred+while+establishing+a+connection+to+SQL+Server.+The+server+was+not+found+or+was+not+accessible.+Verify+that+the+instance+name+is+correct+and+that+SQL+Server+is+configured+to+allow+remote+connections.+(provider%3a+Named+Pipes+Provider%2c+error%3a+40+-+Could+not+open+a+connection+to+SQL+Server)

checked  and both tcp and named pipes are enabled.

checking the log i found an even more strange thing:

2014-06-04 10:54:02 5.249.141.28 GET /Default.aspx - 80 - 95.226.127.199 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+5.1;+Trident/4.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729;+.NET4.0C;+.NET4.0E) 302 0 0 14726

2014-06-04 10:54:02 5.249.141.28 GET /Default.aspx tabid=40&error=A+network-related+or+instance-specific+error+occurred+while+establishing+a+connection+to+SQL+Server.+The+server+was+not+found+or+was+not+accessible.+Verify+that+the+instance+name+is+correct+and+that+SQL+Server+is+configured+to+allow+remote+connections.+(provider%3a+Named+Pipes+Provider%2c+error%3a+40+-+Could+not+open+a+connection+to+SQL+Server)&content=0 80 - 95.226.127.199 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+5.1;+Trident/4.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729;+.NET4.0C;+.NET4.0E) 200 0 0 93

 

I have a first get to default.aspx, and after a call to /Default.aspx tabid=40. Obviously tabid = 440 is the home page, but this way seems to me that at first request was able to connect to the db and find the correct tabid.

I'm quite sure I don't have any module with embedded conn strings, and beside this I think this is not the problems, because I have several sites in this installation, and no one starts, dnn have problems with all the sites.

Can you give me some suggestions?

 

Luca


 
New Post
6/4/2014 8:34 PM
 

You mention changing one connection string in the web.config, there are actually two.  One is for older modules and it is maybe 10 or 15 lines below the newer connection string.  I would suggest you take a look at that.

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
6/5/2014 1:47 AM
 
yes, I updated all the connection strings and looked for any reference of the old server.
 
New Post
6/5/2014 7:35 AM
 
Does the site load on a page without any modules?

Also, can you use the credentials in the connection string and log in to that instance of SQL Server using SSMS? Cut and paste the credentials to ensure you don't have a typo.

Mark
 
New Post
6/5/2014 8:09 AM
 
you also need to make sure, you installed TCP/IP for both SQL server and client and - if the server is on another machine - enabled remote access for SQL Server.
Next, the sql server account specified in DNN connection strings need to have a user mapping for the DNN database with dbowner permission.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...problem moving dnn to a new serverproblem moving dnn to a new server


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