0

I have a dontnuke community website that was built long time ago. I have been task to migrate the website from windows server 2008 to 2012. I copied the website from 2008 server to 2012 and I create the website on IIS. I am getting an error on Configure Database Connection

Connection Error(s):
Index #: 0
Source: .Net SqlClient Data Provider
Class: 20
Number: 53
Message:

Please see screen shot

Mr.
  • 9,429
  • 13
  • 58
  • 82

2 Answers2

0

See if you can connect to the database using the data from your connection string using Sql Server Management Studio. That might give you a better clue.

Joe Craig
  • 1,244
  • 1
  • 7
  • 7
0

Model the DNN connection string based on your SSMS credentials. Did you run SSMS on the server that runs the website? Did you verify that you can open tables and edit them?

Joe Craig
  • 1,244
  • 1
  • 7
  • 7
  • Let me try to install SSMS on the server and try to connect to the database. Currently, I can connect using SSMS from my local computer to the database server using connection string credentials. – Siyabulela Gceba Sep 09 '19 at 06:30
  • Hi Joe, thank you very much. I after I installed SSMS to the server and try to connect I got a proper error message and the problem was that I was using the alias server name instead of IP address. After I changed to use IP address everything went well. Thank you again. – Siyabulela Gceba Sep 09 '19 at 08:07
  • You can use the alias name when you add it to the hosts file (C:\Windows\System32\drivers\etc\hosts) - just use a text editor to add the line... – Michael Tobisch Oct 02 '19 at 06:59