Sebastian Leupold wrote:
you may compile DNN 8 and upon first browse, the upgrade wizard should show up and update your database to match the version of the code.
I download the source code and follow the instruction on this website.
http://www.dnnsoftware.com/wiki/how-to-install-the-source-package-of-dotnetnuke
Then when I first time open browser, it asks me enter database connection information. Then error on next step:
The product is being installed. Thanks for your patience...
0:07 Minutes | 18% ERROR occured - System.Data.SqlClient.SqlException (0x80131904): 数据库中已存在名为 'FK_Folders_FolderMappings' 的对象。 无法创建约束。请参阅前面的错误消息。 at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) in D:\webs2015\Dnn.Platform-release-8.0.0\Dnn.Platform-release-8.0.0\DNN Platform\Library\Data\SqlDataProvider.cs:line 138 ClientConnectionId:a5025054-beb9-47f9-a972-101d1fb77b09 Error Number:2714,State:4,Class:16 ALTER TABLE dbo.dnn_Folders ADD CONSTRAINT FK_Folders_FolderMappings FOREIGN KEY (FolderMappingID) REFERENCES dbo.dnn_FolderMappings (FolderMappingID)
It says there is existing object 'FK_Folders_FolderMappings'. it seems trying to setup new database, not upgrade my database?