assume have asp.net websites on server1 , need move them server2, best practice , how ensure relevant files, databases, etc moved well? going have manually amend web.configs , other config files, plus find out dependencies each site has, or there way export , import new server?
i have not found else on has instructions this.
thanks
edit: similar not same other question. other question doesn't provide answer, ideas staging environments.
i'd automated possible due having 30 applications move. new server pretty identical noticed when moved 1 application using 'web deploy' test, didn't bring on dependencies , had manually find out ones missing , install them.
how ensure relevant files, databases, etc moved well?
typical asp.net sites have data, , database under 1 main directory. copy/paste full directory old new 1 server.
but have points note here.
- database files locked database, need first remove them database.
- in new site need remount database files , change web.config according new server (eg, maybe new ip address, new names on database.
and permissions on new host must correct , same, if have example directory need write permissions, must add new server
you can read: how set correct file permissions asp.net on iis
Comments
Post a Comment