Solved

IIS Site Configuration Copy

Posted on 2016-07-18
  • Microsoft IIS Web Server
  • Web Servers
  • Windows Server 2008
  • .NET Programming
  • ASP.NET
  • +2
2
70 Views
Last Modified: 2016-07-20
Heyas,

I have been tasked with deploying a new site on our IIS server. This IIS site is for a bespoke application that connects to an SQL server 2008 database and is asp.net based. Fortunately, an IIS instance for the software has already been created for an existing branch site making the configuration easier. My query is what settings should I pay most attention to when copying the IIS settings from the existing branch site to the new branch site; Connection strings, Bindings, Basic Settings?

Any assistance is much appreciated.

Thank you.
0
Comment
Question by:Zack
2 Comments
 
LVL 41

Accepted Solution

by:
pcelba earned 500 total points
ID: 41721776
Ideal situation is to copy all missing configs from the existing application and update just the connection strings.

So create a new IIS Web site under Default Web site, set the Application pool to the one which fits your .NET Framework, set Physical path, set Virtual path.

Then copy your app to the Physical path, copy configs from the existing application, update connection strings and test your app in IIS. It should tell what's missing.

You may also test it under IIS on the computer where it was built.

Alternatively you could think about some automated build system, e.g. Jenkins but many more exist.

Jenkins can retrieve the latest source from repository then executes MSBUILD to build the app and copies it to the target folder (by DOS copy or xcopy command in a batch).  IIS app creation is possible by a short PowerShell script.
Jenkins supports a log creation so you may see all problems which raised during the process.
This is very useful when you are updating the source and building the app several times per day.
0
 

Author Closing Comment

by:Zack
ID: 41722040
Thank you for your advice, cheers.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now