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 ...IIS & sql server on seperate serversIIS & sql server on seperate servers
Previous
 
Next
New Post
4/22/2009 11:27 PM
 

Sebastian Leupold wrote

database needs to be backed up freequently to truncate transaction log and web server needs to erease frequently site visits

thanks for those tips.

my current setup i backup nightly and keep 7 days worth. it is not a compressed backup either. one of my IBMs will be a backup IIS server so i will only need a port forward change to recover from a failure. due to that i am always looking for performance and optimization tricks. and i do clean the logs on the portals once a week. 

 
New Post
6/15/2009 5:49 PM
 

ok, so im finally trying to get this setup to function. i have been testing with a fresh install. i get all the way to the SQL connection part and it fails.

its either in the web.config file or the SQL settings.

lets start with the web.config file. what is the settings (under connection string and app settings) for connecting to sql standard 2005 and 2005 express on a seperate server?

 

i tried what was posted earlier but it seems like there is information left out, as it did not connect.

 
New Post
6/15/2009 9:16 PM
 

Josh Haggin wrote

ok, so im finally trying to get this setup to function. i have been testing with a fresh install. i get all the way to the SQL connection part and it fails.

its either in the web.config file or the SQL settings.

lets start with the web.config file. what is the settings (under connection string and app settings) for connecting to sql standard 2005 and 2005 express on a seperate server?

 

i tried what was posted earlier but it seems like there is information left out, as it did not connect.

 

- Create a new  sql server login which DNN will use. Note the username and password (if using SQL server authentication)

- Create a new database for DNN. Note the database name.

- Set up security in the new database, create a new user and map it to the new login. Assign the proper pernissions and database roles.

- Log in as the new user in SQL Server and create a test table in the new database, insert some dummy values in that table and do a select from that table. If everything works then the sql server side is set up correctly. I you get any issues in DNN, it's mostly a DNN problem.

- In web.config file of DNN, go to the connectionstring and modify the parameters to the use either the servername or ip address, username, password and database name. You have 4 parameters to change.  If you're using a different port number or SQL Server instance name from the defaults, the connection string needs to have these also.

If you have connection problems from the web server to the sql server, troubleshoot the connection outside of DNN first by using a sql client tool and test to connect and do the select query as explained above. If you can't connect, turn off the firewall if you have one and test again. Run this command from DOS as a quick test: telnet server name/ip address 1433. If you get a blank screen instead of an error message, then sql server is listening and a connection is open.

If the sql client works from the web server, the issue is most probably the web.config file. Check for spelling and verify that everything in the connectionstring looks good. Error messages from DNN should be clear enough to give you hints and there could be several reason for any issue. Good luck.

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...IIS & sql server on seperate serversIIS & sql server on seperate servers


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