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
67 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
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…
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…

760 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

18 Experts available now in Live!

Get 1:1 Help Now