Solved

IIS Site Configuration Copy

Posted on 2016-07-18
2
87 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 42

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

734 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