Mobile app version of vmapp.org
Login or Join
Eichhorn148

: Copy an IIS site from one server to another We have an asp.net mvc web application deployed under IIS7 on Windows Server 2008 R2. Now we need to move the web application to another server,

@Eichhorn148

Posted in: #AspNet #AspNetMvc #Iis #Migration #SiteDeployment

We have an asp.net mvc web application deployed under IIS7 on Windows Server 2008 R2. Now we need to move the web application to another server, which has IIS8 on Windows Server 2012.

Currently the asp.net mvc is deployed inside the defualt web application, and all the web application's folders and files can be found in this location :-

C:inetpubwwwroot


If i simply copy all the files and folder from the C:inetpubwwwroot and add them inside the same location on the new server, will it work?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Eichhorn148

1 Comments

Sorted by latest first Latest Oldest Best

 

@Dunderdale272

It is unlikely to "Just work" but it is possible.

Often there will be settings, frameworks and user/folder permissions that cannot be transferred and will need to be set up manually on the new server.

Best advice is to pull everything over and try it, but make a Database backup first, just in-case.
If it doesnt work (which is likely) view error logs and browser errors to find the route causes (EG setting the correct .NET framework etc)

Also IIS7 and 8 deal with application pool identities slightly differently.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme