Can't copy Umbrao.sdf from webserver

自闭症网瘾萝莉.ら 提交于 2019-12-06 03:46:38

Add file named (if you like you can insert HTML that will be your maintenance page)

app_offline.html

After that IIS will release Umbraco.sdf and web.config copy and delete/rename mentioned file.

Gramson

As the Umbraco installation will be using the Umbraco.sdf database, you need to turn the application into maintenance mode, by adding a app_offline.htm to the root of the webserver. You need to make sure it is a .htm-file, i.e. not .html, cause otherwise it won't work.

Also - make a change in your web.config file, to restart the application pool, so that it may notice the change in your site.

Doing so, will release the Umbraco.sdf file, and make it possible for you to download it via simple FTP.

I just had the same issue and didn't want to stop the site to release the lock on the file, so I did the following:

  • RDP onto the server, make a copy of the file in the /app_data directory (call it something like "Umbraco-copy.sdf")

  • Download "Umbraco-copy.sdf"

  • Rename "Umbraco-copy.sdf" back to "Umbraco.sdf"

Perhaps, this error related to permission. You must login as a root (administrator)!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!