|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Actually it is partially working. I can upload a document for linking and if I navigate to my folder, I can upload files from there and from there add them to my post. However, if I click on the image icon and try to do it from the Upload tab, I get the following:
Server Error in '/' Application.
Cannot insert duplicate key row in object 'dbo.FolderPermission' with unique index 'IX_FolderPermission_Roles'. The duplicate key value is (-1, 2122, 8).
The statement has been terminated.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.FolderPermission' with unique index 'IX_FolderPermission_Roles'. The duplicate key value is (-1, 2122, 8).
The statement has been terminated.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.FolderPermission' with unique index 'IX_FolderPermission_Roles'. The duplicate key value is (-1, 2122, 8).
The statement has been terminated.]
System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +2442126
System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5736904
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +628
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +3731
System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +58
System.Data.SqlClient.SqlDataReader.get_MetaData() +89
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +379
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest) +2026
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +375
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +53
System.Data.SqlClient.SqlCommand.ExecuteScalar() +271
PetaPoco.Database.ExecuteScalar(String sql, Object[] args) +599
DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteScalar(String connectionString, CommandType type, Int32 timeout, String sql, Object[] args) +95
DotNetNuke.Data.SqlDataProvider.ExecuteScalar(String procedureName, Object[] commandParameters) +77
DotNetNuke.Data.DataProvider.AddFolderPermission(Int32 folderId, Int32 permissionId, Int32 roleID, Boolean allowAccess, Int32 userId, Int32 createdByUserID) +237
DotNetNuke.Security.Permissions.PermissionProvider.SaveFolderPermissions(IFolderInfo folder) +1035
DotNetNuke.Security.Permissions.FolderPermissionController.SaveFolderPermissions(IFolderInfo folder) +21
DNNConnect.CKEditorProvider.Browser.Browser.SetUserFolderPermission(IFolderInfo folderInfo, UserInfo currentUserInfo) +439
DNNConnect.CKEditorProvider.Browser.Browser.GetUserFolderInfo(String startingDir) +436
DNNConnect.CKEditorProvider.Browser.Browser.StartingDir() +160
DNNConnect.CKEditorProvider.Browser.Browser.UploadFile(HttpPostedFile file, String command) +804
DNNConnect.CKEditorProvider.Browser.Browser.Page_Load(Object sender, EventArgs e) +2870
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control. (EventArgs e) +95
System.Web.UI.Control.LoadRecursive() +59
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2952
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1085.0
|
|
|
|
| |
|
|
|
www.juvander.fi/ilpo Joined: 10/29/2007
Posts: 187
|
|
|
Similar errors have been reported when upgrading older versions to 7+. Is this new or upgraded installation?
Solution appears to be that these entries have been manually deleted.
|
|
|
|
| |
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
It is a new installation of DNN 8.0.3 with Forums 5.0.0.6.
I am at work right now (this site is a volunteer project I work on nights and weekends), so I can't do anything right now, but I will check the table, FolderPermission when I get home to see if something jumps out at me. Thanks.
|
|
|
|
| |
|
|
|
it is a known bug in DNN 8.0.x, you will encounter it as well, when browsing host > Extensions. I submitted a fix for it, but am not sure, whether it has been accepted by DNN Corp. already. The fix is also included in my TurboScripts.
|
|
|
|
| |
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
You come to my rescue again!
I knew I should have stayed at 7.
I will look at this when I get home. Thanks!
|
|
|
|
| |