Login        
 
   
Nederlands English
 






DotNetNuke website on server install
  1. Download the newest version of DotNetNuke install.zip http://www.dotnetnuke.com/tabid/125/default.aspx .
  2. Make an SQL server 2000/2005 of 2005 Express database on your remote server.
  3. Make a new folder on a location you desire, I will use the folder Website in this example on the C: directory --> C:\Website. And unzip the DotNetNuke install.zip file to this folder.
  4. Give your domain write and read right. This is because DotNetNuke is a dynamical service which needs write/read and adding permissions.
  5. Open in the folder C:\Website the file web.config in Notepad or else Visual Web Developer Express. You can now edit the connectionstring, and I advise to use the connectionstring for SQL server 2000/2005, see 14.
  6. <connectionStrings>
        <!-- Connection String for SQL Server 2000/2005-->
        <add
          name="SiteSqlServer"
          connectionString="Data Source=[You domain without www];Initial Catalog=[Database name];User ID=[Database name];Password=[Database password]"
          providerName="System.Data.SqlClient" />
      </connectionStrings>
      <appSettings>
        <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->
        <add key="SiteSqlServer" value="
    Data Source=[You domain without www];Initial Catalog=[Database name];User ID=[Database name];Password=[Database password]"/>
  7. Change the Autoupgrade value to false and the UseInstallWizard value to false. Also change the customErrors mode to Off (Case sensitive). So you can see the real error when your installation fails. When you don't change it you can a custom page like 404.html pagina. Save the web.config and close it

Remote Host:
Be sure that your provider has given you the rights to control the read and write permissions of the online folders, where you want to install DotNetNuke in.
You can now upload all the files in the folder C:\Website with FTP to the remote folder. (please make sure you upload under active mode and upload the folders one by one to be sure they will all be uploaded correctly).
You can now open internet explorer and type the following URL: http://[my domain]/Install/Install.aspx?mode=Install . What happens now is a error in DotNetNuke and you will see http://[my domain]/Install/InstallWizard.aspx . What you have to do now is to open the URL, http://[my domain]/Install/Install.aspx?mode=Install one more time and the installation will begin. If it still does not work please retrying the URL.

 

 
Local website building using the install package
  1. Download the newest version of DotNetNuke install.zip http://www.dotnetnuke.com/tabid/125/default.aspx .
  2. Open Microsoft SQL Server Management Studio Express (if you don't have it installed on your computer you can download it at http://www.msdn.com --> downloads).
  3. Make an SQL server 2000/2005 of 2005 Express database (local or remote).
  4. Make a connection with the server by Connect to server en fill in Server name and use Authentication --> SQL server Authentication. Fill in your Login and Password --> OK.
  5. Make a new folder on a location you desire, I will use the folder Website in this example on the C: directory --> C:\Website. And unzip the DotNetNuke install.zip file to this folder.
  6. Open IIS (Internet Information Service), you can find this programm under configuration panel --> system control. If IIS is not installed on your pc, you can install it by configuration panel --> software --> windows components --> check the IIS services. When you use XP Home edition you can use the freeware program Cassini (freeware virtuele webserver, just Google it).
    In my case i use IIS7 (Windows Vista). Open IIS7 en go to websites in the left menu and then to --> Default Web Site. Right-click it and go to Add virtual folder.
  7. Fill in the alias field with Website and browse the path to C:\Website --> OK.
  8. Right-click on the folder Website en choose --> convert to application --> select Classic .NET AppPool. You can close IIS7 now.
  9. Right-click the folder C:\Website en choose properties --> security --> edit --> add, type NETWORK SERVICE and click, check names.
  10. You just added a new user with the name NETWORK SERVICE, click on the NETWORK SERVICE and give it the full control rights --> OK
  11. You just gave the DotNetNuke files all the rights they need in order to can be used. This is because DotNetNuke is a dynamical service which needs write/read and adding permissions.
  12. Open in the folder C:\Website the file web.config in Notepad or else Visual Web Developer Express. You can now edit the connectionstring, and I advise to use the connectionstring for SQL server 2000/2005, see 14.
  13. <connectionStrings>
        <!-- Connection String for SQL Server 2000/2005-->
        <add
          name="SiteSqlServer"
          connectionString="Data Source=[You domain without www];Initial Catalog=[Database name];User ID=[Database name];Password=[Database password]"
          providerName="System.Data.SqlClient" />
      </connectionStrings>
      <appSettings>
        <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->
        <add key="SiteSqlServer" value="
    Data Source=[You domain without www];Initial Catalog=[Database name];User ID=[Database name];Password=[Database password]"/>
  14. Change the Autoupgrade value to false and the UseInstallWizard value to false. Also change the customErrors mode to Off (Case sensitive). So you can see the real error when your installation fails. When you don't change it you can a custom page like 404.html pagina. Save the web.config and close it

 
Local:

Open internet explorer and type the following URL: http://localhost/Website/Install/Install.aspx?mode=Install . What happens now is a error in DotNetNuke and you will see http://localhost/Website/Install/InstallWizard.aspx . What you have to do now is to open the URL, http://localhost/Website/Install/Install.aspx?mode=Install one more time and the installation will begin. If it still does not work please retrying the URL.

It is as simple as that

 

 
Survey
Was this explanation any helpful to you


Submit Survey  View Results
 
 

Links
 

  © Sappy.nl by Frank van Rooijen
   
website statistics