2014-10-08 85 views
0

我使用的是Orchard 1.8,我从Gallery中安装了“Vandelay Industries - Version:1.8”模块到我的开发箱(运行VS Orchard项目)和只启用了“Vandelay Meta”(这是我目前需要的)。我在“页面”内容类型中添加了“元”部分,并且所有工作都很好。我能够将“说明”和“关键字”添加到页面。果园1.8 CMS元描述和关键字(Vandelay模块1.8)安装错误

当我将模块安装到我的生产服务器(我们的服务器)时,它与Orchard的相同版本(它是在大约一个月前从dev开发设置的)生成的,我收到一条消息:“某些功能需要要升级:Vandelay.Industries“位于管理”模块“ - ”功能“屏幕的顶部,”Vandelay Meta“功能的旁边有一个红色框,功能的”禁用“旁边还有一个”升级“链接“链接。如果我点击它,页面只是刷新,没有任何变化。

该部分也不可用于添加到页面内容类型。

的也是在果园日志

2014年10月8日14的错误:10:58385 [13] Orchard.Exceptions.DefaultExceptionPolicy - 缺省 - 一个意外的异常被抓住 ...服务器名/包装/PackagingServices/InstallPackageDetails?packageId=Orchard.Module.Vandelay.Industries &版本= 1.8 &的sourceID = 1 &的redirectUrl =%2FPackaging%2FGallery%2FModules Orchard.OrchardCoreException:无法腾出文件“C:\的Inetpub \ A1_Website- “App_Data”文件夹中的OrchardCMS \ App_Data \ RecipeQueue \ 38a6aedb4c514ea1866be2138d14c99e \ 0“---> System.UnauthorizedAccessException:访问路径'C:\ inetpub \ A1_Website-Orch ardCMS \ App_Data \ RecipeQueue \ 38a6aedb4c514ea1866be2138d14c99e \ 0'被拒绝。

App_Data及其子文件夹具有读取执行写入权限IIS 7 IIS_IUSRS帐户。

也有一些错误, “在数据库中创建否认TABLE权限”,即

2014年10月8日14:12:19,332 [7] Orchard.Data.Migration.DataMigrationManager - 默认 - 错误,同时运行移动版0 for Vandelay.Industries ../Admin/Modules/Features System.Reflection.TargetInvocationException:异常已被调用的目标抛出。 ---> System.Data.SqlClient.SqlException:CREATE TABLE权限在数据库'Orchard_ProductionDB'中被拒绝。 at System.Data.SqlClient.SqlConnection.OnError(SqlException异常,Boolean breakConnection,Action1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException异常,Boolean breakConnection,Action1 wrapCloseInAction) at System.Data.SqlClient。 TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj,布尔callerHasConnectionLock,布尔asyncClose) 在System.Data.SqlClient.TdsParser.TryRun(runBehavior runBehavior,SqlCommand的cmdHandler,SqlDataReader的数据流,BulkCopySimpleResultSet bulkCopyHandler,TdsParserStateObject stateObj,布尔& dataReady) 在System.Data。 SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName,布尔异步,Int32超时,布尔asyncWrite) at System.Data.SqlClient.SqlCommand.Interna lExecuteNonQuery(TaskCompletionSource1完成,字符串方法名,布尔sendToPipe,的Int32超时,布尔asyncWrite) 在System.Data.SqlClient.SqlCommand.ExecuteNonQuery() 在Orchard.Data.Migration.Interpreters.DefaultDataMigrationInterpreter.RunPendingStatements() 在Orchard.Data .Migration.Interpreters.DefaultDataMigrationInterpreter.Visit(CreateTableCommand命令) 位于Orchard.Data.Migration.Interpreters.AbstractDataMigrationInterpreter。访问(ISchemaBuilderCommand命令) at Orchard.Data.Migration.Schema.SchemaBuilder.CreateTable(String name,Action1 table) at Vandelay.Industries.MetaMigrations.Create() ---内部异常堆栈跟踪结束--- System.Reflection.RuntimeMethodHandle.InvokeMethod(对象目标,对象[]参数,签名sig,布尔构造函数) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,Object [] parameters,Object [] arguments) System.Reflection。 RuntimeMethodInfo.Invoke(Object obj,BindingFlags invokeAttr,Binder binder,Object []参数,CultureInfo culture) at Orchard.Data.Migration.DataMigrationManager.Update(String feature)

“Vandelay_Industries_MetaRecord”“Vandelay_Industries_SettingsRecord”不在生产数据库中(它们位于开发数据库中)

我已经尝试重新安装该模块,但没有解决问题。

有什么办法解决这个问题?如果是这样如何?

在此先感谢,

K.E.

+0

看起来错误与模块无关。看起来你已经没有磁盘空间和/或缺少一些权限。这些都在堆栈跟踪中。 – 2014-10-09 01:14:53

+0

谢谢。它似乎是一个权限问题,需要将“db_ddladmin”角色添加到网站用来访问生产数据库的登录名中。然后,“升级”链接确实纠正了错误,“元”部分可用于添加到页面内容类型。 – WebDev202 2014-10-09 13:25:15

回答

0

确保在安装Vandelay_Industries_ *之前启用迁移模块,我发现这也是一个原因。