Wednesday, November 8, 2017

Creating a staging CD environment manually



Staging server was set up for Assetmark. No continuous integration. I was to copy "everything over" and add the site to the IIS and a hosts file entry.

First, before copying over the entire codebase, stop IIS site on the source machine.

And there is no need to set up a sitecore site on the destination server. 

0. Was getting an error "The requested page cannot be accessed because the related configuration data for the page is invalid." Turned out asp.net in application development features needs to be installed (under Server Manager).

https://support.waspbarcode.com/kb/articles/windows-server-2012-enabling-net-3-5-1-and-or-asp-net

Start > Administrative Tools > Server Manager


On the right under 1 Configure this local server, click 2 Add roles and features.
Next (Role-based or feature-based installation).
Next (Select a server from the server pool. The local server is selected by default.)
On the left, Server Roles should already be selected.
On the right, in the list, expand Web Server (IIS), Web Server, Application Development.

Check .NET Extensibility 3.5, .NET Extensibility 4.5, ASP.NET 3.5, and ASP.NET 4.5.
Next, Next, Install. Wait until the installation has completed, then click Close.
Quit Server Manager.


1. Update the path to the license
2. Install SQl server on the stage server
3. Back up sql databases on local and copy them over
4. Restore the databases on the server
5. Update connection strings to point to them
6. An sql user needs to get created
7. Mix mode authentication must be enabled in sql

6 and 7 were needed because I kept getting login error for the windows user in connection strings

No comments:

Post a Comment