dragonfly
  •  dragonfly
  • 63.2% (Friendly)
  • YAF Camper Topic Starter
2013-10-31T16:35:48Z

We are using the Telerik RadEditor provider with YAF in our DotNetNuke installation. One of the options in the RadEditor is Media Manager. In the Media Manager, there is an option to Upload new media. Currently, the max upload file size is set at
200.00 KB. We are trying to determine how to change it, but haven't been able to yet. It seems that YAF doesn't use the configuration files in the DNN providers directory, and we are not sure where we can configure this setting. We were wondering if this goes in the web.config file. We tried to add something like:

<add key="YAF.MediaManager.MaxUploadFileSize" value="4194304"/>

But that didn't work.

Any ideas on how we can configure this setting?
Sponsor
tha_watcha
2013-11-02T15:55:13Z
I guess you selected radeditor in the yaf host settings as editor? The settings should correctly work if you select Dotnetnuke Text Editor.
UserPostedImage
dragonfly
  •  dragonfly
  • 63.2% (Friendly)
  • YAF Camper Topic Starter
2013-11-02T19:23:54Z
Originally Posted by: tha_watcha 

I guess you selected radeditor in the yaf host settings as editor? The settings should correctly work if you select Dotnetnuke Text Editor.



Yes, we are using the Telerk RadEditor option. The reason is because when we select the DNN Text Editor option, the following error is thrown:

A critical error has occurred.
Exception has been thrown by the target of an invocation.

We are not able to select the DNN Texteditor option.

Any ideas what might be causing this?
tha_watcha
2013-11-03T09:43:59Z
Originally Posted by: dragonfly 

Originally Posted by: tha_watcha 

I guess you selected radeditor in the yaf host settings as editor? The settings should correctly work if you select Dotnetnuke Text Editor.



Yes, we are using the Telerk RadEditor option. The reason is because when we select the DNN Text Editor option, the following error is thrown:

A critical error has occurred.
Exception has been thrown by the target of an invocation.

We are not able to select the DNN Texteditor option.

Any ideas what might be causing this?



When exactly is the error thrown? and can you post the full error from the event log?


UserPostedImage
dragonfly
  •  dragonfly
  • 63.2% (Friendly)
  • YAF Camper Topic Starter
2013-11-08T03:54:24Z
Originally Posted by: tha_watcha 

Originally Posted by: dragonfly 

Originally Posted by: tha_watcha 

I guess you selected radeditor in the yaf host settings as editor? The settings should correctly work if you select Dotnetnuke Text Editor.



Yes, we are using the Telerk RadEditor option. The reason is because when we select the DNN Text Editor option, the following error is thrown:

A critical error has occurred.
Exception has been thrown by the target of an invocation.

We are not able to select the DNN Texteditor option.

Any ideas what might be causing this?



When exactly is the error thrown? and can you post the full error from the event log?




The error occurs when we save the settings. Here is the DNN EventLog Entry

<PropertyName>Message</PropertyName><PropertyValue>DotNetNuke.Services.Exceptions.PageLoadException: Exception has been thrown by the target of an invocation. ---&gt; System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at YAF.Classes.Pattern.RegistryDictionaryOverride.SetValue[T](String name, T value, Boolean setOverrideOnly)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct&amp; sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
at YAF.Pages.Admin.hostsettings.Save_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---</PropertyValue></LogProperty><LogProperty><PropertyName>Source</PropertyName><PropertyValue /></LogProperty></LogProperties>

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved