2012-05-10 125 views

回答

2

如果您對本地主機上的網站沒有做任何操作,可能最簡單的方法是讓您的主機爲您安裝一個DotNetNuke的乾淨副本。許多主機會爲您提供幫助,或者提供自動化工具來通過他們的控制面板進行安裝。

爲了幫助您移動DotNetNuke的網站,我們確實需要更多的細節,以提供一個完整的答案(您的託管公司應該能夠給你指導),但基本是:

1a. If you are just using SQL Express on the local host and plan to 
use it under SQL Express on the host as well, you'll just need to 
FTP up the DB files along with all the other files. 
1b. If you'll be 
running the DB under a full SQL Server: Backup your database on your 
localhost, copy the DB backup to your host, and restore the database 
to the database server provided by the host. 
2. Create a blank website on the host. 
3. FTP all site files from your localhost to the root directory of your new website. 
4. Make sure the Network Service account has Full Access permissions to the root directory and all sub-directories. 
5. If you're using a full SQL Server, you'll need to update connection strings in the web.config to point to the restored DB and 
ensure you're using a user/login with read/write rights to the DB. 
6. Browse to the site. 

這應該做到這一點。

+0

謝謝,我做了這個工程,我只是想知道,我應該如何改變web.config文件指向恢復數據庫?在web.config中找到 – Arash

+1

,查找SiteSqlServer並更新連接字符串。您只需要知道數據庫服務器名稱,數據庫名稱,用戶名和密碼。 – EfficionDave

相關問題