English 中文(简体)
Reset Orchard 看像新安装
原标题:Reset Orchard to look like fresh install
  • 时间:2012-05-10 21:54:10
  •  标签:
  • orchardcms

Couple of custom modules were not working. I disabled/deleted them and tried to enable/install again. It did not work. I decided to start from scratch. So I deleted all the database tables (I am using SQL Server 2008). Is this not enough?

如果我管理该项目,我看看看当地/地方的名录。

What else I have to do?

感谢。

最佳回答

仅删除数据夹,简单。 然后将安装一个新装置。

问题回答

如果你重新运行标准Orchard,wi除应用数据集器就会 do。

然而,如果你重新部署“Azure”的支持者,则不会这样做。 然后,你必须从Adlob 储存库中删除PREFIX-site的“文件夹”(PREFIX是贵址的贮器),因为Blob储存中没有任何真正的文件夹,但你知道我指的是什么。

如果你重新测试“月球”,最快的完成方式是重新确定储存的圆顶储存。

在从<代码>Orchard.Web项目中删除App_Data的复印机上,您可以暂时删除一个桌子,或可以迅速删除所有表格。

USE [myorcharddb]
GO

EXEC sp_MSforeachtable @command1 = "DROP TABLE ?"

注:数据库中的所有表格都将删除。 你们不能否认这一点!

页: 1 IHostEnvironment from using Orchard. 环境;

The code will look something like this:

_hostEnvironment.RestartAppDomain();

来源代码:

PS:我使用orchard mvc版本:1.10.2.0,对我来说是好的。





相关问题
Orchard CMS - just installed via WPI, gives error 500

Pretty much what the title says really, I followed the instructions on the orchard project website to install v0.9 with the web platform installer. No error whatsoever until I tried to access it with ...

Basic comments formatting in Orchard CMS

I am playing with Orchard CMS. The problem is that comments are formatted as plain text and even <p> tags are not generated. How to make possible a basic formatting such as <p> or may be &...

Creating a module with Orchard

The create a module walkthrough for Orchard doesn t work with the code in the Orchard Mercurial repository at the head of the default or dev branches. Anyone know how I can create a new Orchard ...

Development on ASP.NET MVC Storefront Project

I see that there is no Check-Ins on ASP.NET MVC Storefront code since Feb 7th. Can anyone please make me aware about whats going on. And on this question, Orchard project link is given with the answer....

Any known Orchard CMS case studies? [closed]

We re looking into using Orchard CMS for a project. I know the CMS hasn t been around for a long time, but I was wondering if there were any known high profile and successful case studies using ...

What is the role/responsibility of a shell ? [closed]

I have been looking at the source code of the IronPython project and the Orchard CMS project. IronPython operates with a namespace called Microsoft.Scripting.Hosting.Shell (part of the DLR). The ...

热门标签