1

我刚刚为我的公司创建了一个网站,并选择将 DotNetNuke 框架安装到该网站中。

当我尝试部署扩展时,我的问题就出现了。我刚刚购买了“Advanced Business Directory”和“Live Blog”扩展,它们都不能正确安装。

当我尝试部署“实时博客”扩展时,我收到以下错误:

"A critical error has occurred. Could not find a part of the path 'C:\DWASFiles\Sites\coworking-foundation\VirtualDirectory0\site\wwwroot\Install\Module\'."

当我尝试部署“高级业务目录”时,出现以下顶级错误:

Error loading files from temporary folder - see below

详细信息是:

StartJob    Starting Installation
Info    Starting Installation - AdvancedBusinessDirectory
Info    Starting Installation - Script
Info    Begin Sql execution
Info    Creating backup of previous version - Providers\DataProviders\SqlDataProvider\00.00.01.SqlDataProvider
Info    Created - Providers\DataProviders\SqlDataProvider\00.00.01.SqlDataProvider
Info    Executing 00.00.01.SqlDataProvider
Info    Start Sql execution: 00.00.01.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: 'NOT FOR REPLICATION' is not supported in this version of SQL Server. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) /************************************************************/ /***** SqlDataProvider *****/ /***** *****/ /***** *****/ /***** Note: To manually execute this script you must *****/ /***** perform a search and replace operation *****/ /***** for dbo. and *****/ /***** *****/ /************************************************************/ /*==============================================================*/ /* Table: dbo.ZLDNN_Business */ /*==============================================================*/ if not exists (select * from dbo.sysobjects where id = object_id(N'dbo.[ZLDNN_Business]') and OBJECTPROPERTY(id, N'IsTable') = 1) BEGIN create table dbo.ZLDNN_Business ( BusinessID int not null IDENTITY(1, 1), ModuleID int null, Name nvarchar(200) null, Address nvarchar(200) null, Description nvarchar(4000) null, Website nvarchar(200) null, Email nvarchar(100) null, Phone nvarchar(100) null, Fax nvarchar(100) null, Postal nvarchar(50) null, Logo nvarchar(200) null, Unit nvarchar(100) null, Street nvarchar(200) null, City nvarchar(100) null, Region nvarchar(100) null, Country nvarchar(100) null, Lat nvarchar(100) null, Lng nvarchar(100) null, IsApproved bit null, IsFeatured bit null, OwnerUserID int null, CreatedDate datetime null, UpdatedDate datetime null, ExpiredDate datetime null, ViewCount int null, Keywords nvarchar(200) null, ) ALTER TABLE dbo.[ZLDNN_Business] ADD CONSTRAINT [PK_ZLDNN_Business] PRIMARY KEY CLUSTERED ([BusinessID]) CREATE NONCLUSTERED INDEX [IX_ZLDNN_Business] ON dbo.[ZLDNN_Business] ([ModuleID]) ALTER TABLE dbo.[ZLDNN_Business] WITH NOCHECK ADD CONSTRAINT [FK_ZLDNN_Business_Modules] FOREIGN KEY ([ModuleID]) REFERENCES dbo.[Modules] ([ModuleID]) ON DELETE CASCADE NOT FOR REPLICATION END System.Data.SqlClient.SqlException: 'NOT FOR REPLICATION' is not supported in this version of SQL Server. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) /*==============================================================*/ /* Table: dbo.ZLDNN_BusinessCategory */ /*==============================================================*/ if not exists (select * from dbo.sysobjects where id = object_id(N'dbo.[ZLDNN_BusinessCategory]') and OBJECTPROPERTY(id, N'IsTable') = 1) BEGIN create table dbo.ZLDNN_BusinessCategory ( CategoryID int not null IDENTITY(1, 1), ModuleID int null, Title nvarchar(200) null, Description nvarchar(1000) null, ImagePath nvarchar(500) null, ParentID int null, Level int null, ViewOrder int null, ) ALTER TABLE dbo.[ZLDNN_BusinessCategory] ADD CONSTRAINT [PK_ZLDNN_BusinessCategory] PRIMARY KEY CLUSTERED ([CategoryID]) CREATE NONCLUSTERED INDEX [IX_ZLDNN_BusinessCategory] ON dbo.[ZLDNN_BusinessCategory] ([ModuleID]) ALTER TABLE dbo.[ZLDNN_BusinessCategory] WITH NOCHECK ADD CONSTRAINT [FK_ZLDNN_BusinessCategory_Modules] FOREIGN KEY ([ModuleID]) REFERENCES dbo.[Modules] ([ModuleID]) ON DELETE CASCADE NOT FOR REPLICATION END System.Data.SqlClient.SqlException: 'NOT FOR REPLICATION' is not supported in this version of SQL Server. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) /*==============================================================*/ /* Table: dbo.ZLDNN_BusinessAssignedCategory */ /*==============================================================*/ if not exists (select * from dbo.sysobjects where id = object_id(N'dbo.[ZLDNN_BusinessAssignedCategory]') and OBJECTPROPERTY(id, N'IsTable') = 1) BEGIN create table dbo.ZLDNN_BusinessAssignedCategory ( BusinessAssignedCategoryID int not null IDENTITY(1, 1), CategoryID int not null, BusinessID int not null, ) ALTER TABLE dbo.[ZLDNN_BusinessAssignedCategory] ADD CONSTRAINT [PK_ZLDNN_BusinessAssignedCategory] PRIMARY KEY CLUSTERED ([BusinessAssignedCategoryID]) CREATE NONCLUSTERED INDEX [IX_ZLDNN_BusinessAssignedCategory] ON dbo.[ZLDNN_BusinessAssignedCategory] ([BusinessAssignedCategoryID]) ALTER TABLE dbo.[ZLDNN_BusinessAssignedCategory] WITH NOCHECK ADD CONSTRAINT [FK_ZLDNN_BusinessAssignedCategory_ZLDNN_BusinessCategory] FOREIGN KEY ([CategoryID]) REFERENCES dbo.[ZLDNN_BusinessCategory] ([CategoryID]) ON DELETE NO ACTION ALTER TABLE dbo.[ZLDNN_BusinessAssignedCategory] WITH NOCHECK ADD CONSTRAINT [FK_ZLDNN_BusinessAssignedCategory_ZLDNN_Business] FOREIGN KEY ([BusinessID]) REFERENCES dbo.[ZLDNN_Business] ([BusinessID]) ON DELETE CASCADE NOT FOR REPLICATION END System.Data.SqlClient.SqlException: 'NOT FOR REPLICATION' is not supported in this version of SQL Server. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) 

SQL 错误中还有更多内容,但对于同一个包中的大约 10 个不同的模块,它几乎相同。

有没有人有这些扩展工作,或者对我如何继续安装它们有任何想法?

谢谢

标记

4

1 回答 1

1

Live Blog 与 Azure 兼容。确保您安装的是最新版本。http://www.mandeeps.com/downloads.aspx

于 2012-11-15T02:54:50.503 回答