Solved

IIS Site Configuration Copy

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

623 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