i'm new with windows server and IIS stuff, and i got a question
the company i work for are trying to move old server with [windows server 2008 & IIS 7 & SQL server 2008~2019 & visual SVN server]
to new server just bought[windows server 2019]
what we need on old IIS is the whole bunch of URL rewrite rules.
How can i migrate old settigs and data properly?
I've tried the backup command
appcmd add backup [name]
and copy backup files to new server. On new server i've try appcmd restore backup [name]
.
But the new server runs an error and IIS won't start up.
Creating an instance of the COM component with CLSID FROM the IClassFactory failed due to the following error: 800700b7
The solution on MS community i found like re-install IIS and iisreset won't work.
the other solution tells me to delete 2 file under \inetsrv\config\schema
NetFx40_IIS_schema_update.xm & NetFx45_IIS_schema_update.xml
makes IIS start but in a strange way. It did transfer the rewrite rules, but that's the only thing left i can see on IIS management tools, all the other sites and apppools settings are gone and can't add a new one or restart sites.
it loooks like this
failed backup restore result photo