安装2sic并在页面中拖动2sic应用程序后,刷新时出现错误:“值不能为空”。 包括截图和堆栈跟踪。
版本:8.7.0 Dnn:8.0.4
https://museumkaart.accept.icatt.nl/desktopmodules/2sxc/api/view/Module/GetSelectableApps
StackTrace= at DotNetNuke.Common.Requires.NotNull(String argName, Object argValue)
at DotNetNuke.Web.Api.HttpConfigurationExtensions.GetTabAndModuleInfoProviders(HttpConfiguration configuration)
at DotNetNuke.Web.Api.HttpRequestMessageExtensions.IterateTabAndModuleInfoProviders[T](HttpRequestMessage request, TryMethod`1 func, T fallback)
at DotNetNuke.Web.Api.HttpRequestMessageExtensions.FindModuleInfo(HttpRequestMessage request)
at ToSic.SexyContent.WebApi.Helpers.GetSxcOfApiRequest(HttpRequestMessage request) in C:\Projects\2SexyContent\Web\DesktopModules\ToSIC_SexyContent\WebApi\Helpers.cs:line 26
at ToSic.SexyContent.WebApi.SxcApiController.get_SxcContext() in C:\Projects\2SexyContent\Web\DesktopModules\ToSIC_SexyContent\WebApi\SxcApiController.cs:line 23
at ToSic.SexyContent.WebApi.View.ModuleController.get_ContentGroupReferenceManager() in C:\Projects\2SexyContent\Web\DesktopModules\ToSIC_SexyContent\WebApi\View\ModuleController.cs:line 28
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
答案 0 :(得分:0)
由于这是2sxc的相当旧的版本,它可能只是一个错误。您应该至少升级到8.12并再次测试。