Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unable to upload imagesUnable to upload images
Previous
 
Next
New Post
7/24/2015 11:46 PM
 

Editing a page to upload an image is giving the following errors.

---
2015-07-24 22:06:14,897 [dnn][Thread:80][ERROR] DotNetNuke.Common.Utilities.FileSystemUtils - System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'ContentWorkflows'.
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.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
at PetaPoco.Database.d__2`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at PetaPoco.Database.Fetch[T](String sql, Object[] args)
at DotNetNuke.Data.PetaPoco.PetaPocoRepository`1.Find(String sqlCondition, Object[] args)
at DotNetNuke.Entities.Content.Workflow.Repositories.WorkflowRepository.GetWorkflow(Int32 workflowId)
at DotNetNuke.Entities.Content.Workflow.WorkflowManager.GetWorkflow(Int32 workflowId)
at DotNetNuke.Services.FileSystem.FileManager.AddFile(IFolderInfo folder, String fileName, Stream fileContent, Boolean overwrite, Boolean checkPermissions, String contentType, Int32 createdByUserID)
at DotNetNuke.Services.FileSystem.FileManager.AddFile(IFolderInfo folder, String fileName, Stream fileContent, Boolean overwrite, Boolean checkPermissions, String contentType)
at DotNetNuke.Common.Utilities.FileSystemUtils.CreateFile(IFolderInfo folder, String fileName, String contentType, Stream fileContent, Boolean unzip, Boolean overwrite, Boolean checkPermissions)
ClientConnectionId:49cdd94d-b83c-4846-a86f-34bef1534985
2015-07-24 22:06:38,185 [dnn][Thread:104][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.HtmlEditor.TelerikEditorProvider.FileManagerException: Unable to complete operation. An unknown error occurred. Site Root/Images/ ---> System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.Combine(String path1, String path2)
at DotNetNuke.HtmlEditor.TelerikEditorProvider.FileSystemValidation.CombineVirtualPath(String virtualPath, String folderOrFileName)
at DotNetNuke.HtmlEditor.TelerikEditorProvider.FileSystemValidation.ToVirtualPath(String path)
at DotNetNuke.HtmlEditor.TelerikEditorProvider.PortalContentProvider.get_TelerikContent()
at DotNetNuke.HtmlEditor.TelerikEditorProvider.PortalContentProvider.GetDirectoryItemWithDNNPermissions(String path, Boolean loadFiles)
at DotNetNuke.HtmlEditor.TelerikEditorProvider.PortalContentProvider.ResolveRootDirectoryAsTree(String path)
--- End of inner exception stack trace ---
2015-07-24 22:06:38,266 [dnn][Thread:104][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.HtmlEditor.TelerikEditorProvider.FileManagerException: Unable to complete operation. An unknown error occurred. Site Root/Images/ ---> System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.Combine(String path1, String path2)
at DotNetNuke.HtmlEditor.TelerikEditorProvider.FileSystemValidation.CombineVirtualPath(String virtualPath, String folderOrFileName)
at DotNetNuke.HtmlEditor.TelerikEditorProvider.FileSystemValidation.ToVirtualPath(String path)
at DotNetNuke.HtmlEditor.TelerikEditorProvider.PortalContentProvider.get_TelerikContent()
at DotNetNuke.HtmlEditor.TelerikEditorProvider.PortalContentProvider.GetDirectoryItemWithDNNPermissions(String path, Boolean loadFiles)
at DotNetNuke.HtmlEditor.TelerikEditorProvider.PortalContentProvider.ResolveDirectory(String path)
--- End of inner exception stack trace ---
---

Looked at the image path and the name of the image (bdragon.jpg) and didn't notice any problems. Any help on it is appreciated.

The dnn is the latest version.
 
New Post
7/25/2015 12:57 AM
 

I changed the editor from Telerik to RadEditor, but the following error remains.

2015-07-24 23:35:20,719 [dnn][Thread:46][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Providers.RadEditorProvider.FileManagerException: Unable to complete operation. An unknown error occurred. /Portals/0/Images/ | bdragon.jpg ---> System.Data.SqlClient.SqlException: Invalid object name 'ContentWorkflows'.
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.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
at PetaPoco.Database.d__2`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at PetaPoco.Database.Fetch[T](String sql, Object[] args)
at DotNetNuke.Data.PetaPoco.PetaPocoRepository`1.Find(String sqlCondition, Object[] args)
at DotNetNuke.Entities.Content.Workflow.Repositories.WorkflowRepository.GetWorkflow(Int32 workflowId)
at DotNetNuke.Entities.Content.Workflow.WorkflowManager.GetWorkflow(Int32 workflowId)
at DotNetNuke.Services.FileSystem.FileManager.AddFile(IFolderInfo folder, String fileName, Stream fileContent, Boolean overwrite, Boolean checkPermissions, String contentType, Int32 createdByUserID)
at DotNetNuke.Services.FileSystem.FileManager.AddFile(IFolderInfo folder, String fileName, Stream fileContent, Boolean overwrite, Boolean checkPermissions, String contentType)
at DotNetNuke.Services.FileSystem.FileManager.AddFile(IFolderInfo folder, String fileName, Stream fileContent, Boolean overwrite)
at DotNetNuke.Services.FileSystem.FileManager.AddFile(IFolderInfo folder, String fileName, Stream fileContent)
at DotNetNuke.Providers.RadEditorProvider.TelerikFileBrowserProvider.StoreFile(UploadedFile file, String path, String name, String[] arguments)
--- End of inner exception stack trace ---
 
New Post
7/25/2015 5:19 AM
 
I'd install CKEditor Provider (http://dnnckeditor.codeplex.com), which will become Default HML editor in DNN 8.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/26/2015 9:06 AM
 

Thanks Sebastian, installing CKEditor has helped to solve the problem :)
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unable to upload imagesUnable to upload images


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out