Sitecore - 媒体库上传文件错误
Sitecore - Upload File Error in Media Library
当我单击 Sitecore 媒体库中的 "Upload File" 按钮时,抛出异常。 "Upload Files (Adavanced)" 按钮工作正常。
这是错误信息:
Server Error in '/' Application.
Value cannot be null.
Parameter name: value
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.ArgumentNullException: Value cannot be null.
Parameter name: value
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:
[ArgumentNullException: Value cannot be null.
Parameter name: value]
Sitecore.Text.UrlString.Add(String key, String value) +149
Sitecore.Shell.Framework.Commands.Media.Upload.Run(ClientPipelineArgs args) +1801
Sitecore.Intranet.Commands.Media.Upload.RunOverridden(ClientPipelineArgs args) +421
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +1255
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +38
Sitecore.Pipelines.Processor.Invoke(PipelineArgs args) +318
Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline) +330
Sitecore.Pipelines.Pipeline.DoStart(PipelineArgs args) +208
Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic) +182
Sitecore.Web.UI.Sheer.ClientPage.RunPipelines() +280
Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +530
Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +25
System.Web.UI.Control.PreRenderRecursiveInternal() +108
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
知道如何解决这个问题吗?或者我想隐藏 "Upload File" 按钮。我该怎么做?
谢谢:)
该按钮仅在 Firefox 中无法正常工作。
你可以去核心数据库隐藏它,然后删除这个项目
/sitecore/content/Applications/Content Editor/Editors/Media/Media Folder/Buttons/Upload - 多
我测试过,它有效。
当我单击 Sitecore 媒体库中的 "Upload File" 按钮时,抛出异常。 "Upload Files (Adavanced)" 按钮工作正常。
这是错误信息:
Server Error in '/' Application.
Value cannot be null.
Parameter name: value
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.ArgumentNullException: Value cannot be null.
Parameter name: value
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:
[ArgumentNullException: Value cannot be null.
Parameter name: value]
Sitecore.Text.UrlString.Add(String key, String value) +149
Sitecore.Shell.Framework.Commands.Media.Upload.Run(ClientPipelineArgs args) +1801
Sitecore.Intranet.Commands.Media.Upload.RunOverridden(ClientPipelineArgs args) +421
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +1255
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +38
Sitecore.Pipelines.Processor.Invoke(PipelineArgs args) +318
Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline) +330
Sitecore.Pipelines.Pipeline.DoStart(PipelineArgs args) +208
Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic) +182
Sitecore.Web.UI.Sheer.ClientPage.RunPipelines() +280
Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +530
Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +25
System.Web.UI.Control.PreRenderRecursiveInternal() +108
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
知道如何解决这个问题吗?或者我想隐藏 "Upload File" 按钮。我该怎么做?
谢谢:)
该按钮仅在 Firefox 中无法正常工作。
你可以去核心数据库隐藏它,然后删除这个项目
/sitecore/content/Applications/Content Editor/Editors/Media/Media Folder/Buttons/Upload - 多
我测试过,它有效。