Posted on

Move DNN Site To Another Windows Server and To Another Domain Name

To migrate a DotNetNuke site to another windows server you need to move both the database and the site to the new server.

You need to update your web.config file so that the database connection string points to your new database.

There are two tags on database connection. You have two look on these tags :

<connectionStrings> 
<appSettings>

Migrate to another domain name

Perhaps you also want to change the name of the site: for example, your installation of DNN is made for the site www.mysite.com but you want to move everything to blog.mysite.com.

You have to go to the DNN database and edit the table PortalAlias
(right click on PortalAlias then click “Edit Rows”).
You must add a new line in the table with the value of the new site name.
Click on the last row. Leave the first column default.
Second column is your portal number (default is 0).
In the third column enter your temporary URL ( blog.mysite.com).
Set the last column value of the new row as “True” and change the other to “False”.

After this, very important, you have to go to IIS, in the Application Pool section, right click on the application pool of your site and click on “Recycle”.

Posted on

Installare Office365 su terminal server Windows 2012

Prima di tutto, per terminal server occorre avere una licenza Office 365proplus. Una per ogni utente che deve usare Office.

Create una nuova cartella. Per esempio,

c:\ODT

Scaricate lo strumento di distribuzione di Office. Eseguitelo. Chiederà una cartella in cui scompattarsi : assegnateli quella prima creata. Al termine della operazione troverete nella cartella 2 file :

setup.exe

configuration.xml

DOWNLOAD

Dovete modificare il fiel xml in questo modo (per esempio)

<Configuration>

<Add SourcePath="C:odt" OfficeClientEdition="32">


    <Product ID="O365ProPlusRetail">

      <Language ID="it-it" />

    </Product>

  </Add>

  <Updates Enabled="TRUE" />

  <Display Level="Full" AcceptEULA="True" />

  <Property Name="SharedComputerLicensing" Value="1" />

  <Logging Path="%temp%" />

  </Configuration>

Potete anche rinominare il file.

Il file indica che volete scaricare la versione a 32 bit in italiano di office365 nella cartella c:odt.

Aprite un prompt di dos con privilegi di Amministratore, spostatevi nella nostra cartella c:\odt e digitate

setup.exe /download downloadconfig.xml

Naturalmente per svolgere questa operazione dovete essere connessi ad Internet. Una volta terminato, avrete una nuova riga di prompt.

Nella cartella c:\odt trovate la sotto cartella odt, con i file.

INSTALLAZIONE

Ora dovrete modificare il file xml di prima (o crearne uno nuovo) indicando questa sotto cartella come sorgente.

<Configuration>

  <Add SourcePath="C:\ODT\odt" OfficeClientEdition="32">

    <Product ID="O365ProPlusRetail">

      <Language ID="it-it" />

    </Product>

  </Add>

  <Display Level="Full" AcceptEULA="True" />

  <Property Name="SharedComputerLicensing" Value="1" />

  <Logging Path="%temp%" />

</Configuration>

Al solito prompt di dos, digitate

setup.exe /configure installconfig.xml

e parte l’installazione.

Con questa modalità di installazione, mediante configurazione ,possono essere fatte altre operazioni per esempio installare solo alcuni componenti di Office.

 


Documenti

 

Posted on Lascia un commento

ORACLE E TERMINAL SERVER

Quando create un nuovo database Oracle potreste incappare nell’errore ORA-12560: TNS:protocol adapter error. Se avete fatto tutti i controlli del caso (per esempio il SID o il servizio di Oracle) e non avete trovato la soluzione, probabilmente è perchè state creando il database collegati in terminal server. Dovete farlo dalla console fisica (o virtuale).