无法从webserver复制Umbrao.sdf [英] Can't copy Umbrao.sdf from webserver

查看:197
本文介绍了无法从webserver复制Umbrao.sdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在网络服务器上运行的Umbraco应用程序,我需要将应用程序移动到另一个网络服务器。 Umbraco应用程序使用嵌入式数据库(SQL CE 4)。我可以复制应用程序中除Umbraco.sdf文件之外的所有文件。

I have an Umbraco application running on a webserver and I need to move the application to another webserver. The Umbraco application uses an embedded database (SQL CE 4). I can copy all the files in the application except the "Umbraco.sdf" file.

推荐答案

由于Umbraco安装将使用Umbraco.sdf数据库,您需要通过将一个app_offline.htm添加到Web服务器的根目录,将应用程序转换为维护模式。
你需要确保它表示.htm,而不是.html,否则将无法工作。 :)

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 says .htm, and not .html, cause otherwise it won't work. :)

同时 - 更改您的web.config文件,重新启动应用程序池,以便它可以注意到您的网站的变化。

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

这样做,将释放Umbraco.sdf文件,并使您可以通过简单的FTP下载它。

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

这篇关于无法从webserver复制Umbrao.sdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆