Solved

IIS Site Configuration Copy

Posted on 2016-07-18
2
81 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 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
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 …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

685 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