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 ...Newbie: How can I directly intall it on remote host?Newbie: How can I directly intall it on remote host?
Previous
 
Next
New Post
9/18/2007 5:05 AM
 

Well, after lots of trying to publish my local db to the remote host and failing, I decided to install it remotely on my host. Here's the senario:

My host provides me:

- The IP address of a shared MS SQL 2000 database server: MYIPADR

- A Data Source Name (DSN) for my database applications: MYDSN

- A database name: MYDB

- A database user and password: MYUSER:MYPASSWD

I uploaded the whole extracted dotnetnuke folder to a subdirectory on my host. Now how should I configure the web.config file to make things work? I know I should edit the <appSettings> section, but I don't know how exatcly do it, I tried this but it didn't work, what else should I change?

 

  <appSettings>
    <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy

modules   -->
    <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User

Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
    <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer"

value="Server=MYIPADR;Database=MYDB;uid=MYUSER;pwd=MYPASSWD;"/>
    -->
    <add key="InstallTemplate" value="DotNetNuke.install.config" />
    <add key="AutoUpgrade" value="true" />
      <add key="UseInstallWizard" value="true"/>
      <add key="InstallMemberRole" value="true" />
    <add key="ShowMissingKeys" value="false" />
    <add key="EnableWebFarmSupport" value="false" />
    <add key="EnableCachePersistence" value="false"/>
    <add key="HostHeader" value="" /><!-- Host Header to remove from URL so

"www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->
    <add key="RemoveAngleBrackets" value="false" /><!--optionally strip angle brackets on public login

and registration screens-->
    <add key="PersistentCookieTimeout" value="0" /><!--use as persistent cookie expiration. Value is in

minutes, and only active if a non-zero figure-->
  </appSettings>

 
New Post
9/18/2007 4:57 PM
 

[Edit]  Duplicated content (what is up with this site today?)

 
New Post
9/18/2007 4:59 PM
 

I think you need to put your database info in two places (see the documentation).  Also, it looks like it's commented out where you have added it.

 
New Post
9/19/2007 11:12 AM
 

I have an entire installation guide talking about installing to a remote host on my website http://www.mitchelsellers.com


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Newbie: How can I directly intall it on remote host?Newbie: How can I directly intall it on remote host?


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