问题标签 [sitecore9]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
34 浏览

c# - 具有匿名身份验证的 IIS 站点和具有基本身份验证的同一域中的 WCF 服务是否可能?

我在 IIS 中有一个站点,并且我有一个托管在该站点中的 WCF 服务。我希望站点具有匿名身份验证和服务具有基本身份验证。我试过了,但是当我提供用户名和密码时,它并没有重定向到任何地方并且仍然要求它。有人遇到过同样的问题吗?

0 投票
1 回答
705 浏览

sitecore - Sitecore 9 发布项目错误发布对话框未找到错误

我只是从备份中设置了一个新的 Sitecore 环境。当我导航到管理门户 -> 选择和项目 -> 选择发布项目时,我得到一个空白页面。在控制台中,我看到以下错误 (404)

https://local.url/sitecore/shell/client/Applications/Publishing/PublishingDialog.js

我检查了 C:\sitecore\myWeb\Website\sitecore\shell\Applications 文件夹,没有 Publishing 文件夹。我检查了我的另一位同事,他也没有这个文件夹,但对他来说,发布对话框工作得很好。我还下载了 SiteCore 文件并将它们复制过来,但仍然是同样的错误。

我有 3 个数据库,分别是核心数据库、主数据库和网络数据库。不知何故,我想知道这是否与此有关?

0 投票
2 回答
474 浏览

sitecore - 如何收集匿名站点核心信息

我需要获取从匿名用户那里收集的站点核心信息,以便他可以导出或选择退出 - [GDPR]

关于匿名联系人 ID 的任何想法!

0 投票
1 回答
1091 浏览

sitecore - 如何在 Sitecore 9.1 中获取匿名联系人 ID?

如何使用 Sitecore API 获取匿名联系人 ID?

我正在使用此代码,但在 xconnect DB 中找不到联系人 ID。

0 投票
1 回答
342 浏览

sitecore - Sitecore 9.0.2 访问 URL 时的 Windows 身份验证

我们希望对 sitecore 9 update 2 版本进行 Windows 身份验证。我们在 iis 中应用了 windows 身份验证但无法正常工作,相同的设置适用于 iis 中的纯 asp.net 或 html 站点。有人知道如何在 sitecore 9 update 2 中启用 Windows 身份验证吗?我们想要一些东西,比如当你点击 url 时它应该弹出凭据,然后一切都按照 sitecore 进行。

像这样。 https://support.microsoft.com/en-in/help/323176/how-to-implement-windows-authentication-and-authorization-in-asp-net

0 投票
0 回答
52 浏览

installation - 为什么我在安装 Sitecore 9 时会出现此错误?

在此处输入图像描述

我遵循官方文档 - “Sitecore Experience Platform 9.0 Update 1”,并在运行下面的 powershell 脚本后

我收到错误...我不明白我做错了什么。请帮帮我!

0 投票
1 回答
1289 浏览

sql-server - AzureSQL - 安装 Sitecore9.1 时找不到存储过程“sp_configure”

我正在使用 Azure SQL 服务器和数据库安装带有 powershell 的 Sitecore9.1。在运行脚本时,它会创建数据库,并且在创建/更新 MarketingAutomation 数据库时,它会给出有关“包含数据库身份验证”的错误

错误是-该命令以以下内容开头:“exec sp_configure 'contained database authenticationati”找不到存储过程'sp_configure'。Install-SitecoreConfiguration:命令 C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe 返回非零退出代码 - (-1)

针对此问题,我正在向 Azure SQL 服务器运行以下命令:

但是在执行时会引发有关语法的错误。

我找不到用于包含数据库身份验证的 AzureSQL 或 SQL2017 命令。

我想要用于 Azure SQL 的包含数据库身份验证的命令。请帮助。

0 投票
1 回答
377 浏览

sitecore - Sitecore 9.0 - 希望实施 Azure AD B2C

感谢您阅读我的问题。

我正在尝试在 Sitecore 9.0.2 版本中实现 Azure AD B2C,据说我使用了来自Git Hub的示例代码,该代码使用 ASP.NET MVC 实现了 ADB2C。我在 Sitecore 中创建了一个功能项目,添加了所有需要的文件,构建了解决方案并将其部署到 Sitecore Web 根目录,解决了 dll 冲突,但仍然看到一个问题:

Sitecore 有一个旧版本的“System.IdentityModel.Tokens.Jwt”dll,其类“System.IdentityModel.Tokens.JwtSecurityTokenHandler”在 Version=5.2.1.0 中不再可用

此处有任何帮助/指导来解决此问题,或者 Sitecore 中是否有任何示例实施可用于 Azure AD B2C。

注意:我不是在寻找联合身份验证 (Azure Active Directory) Azure AD

在此处输入图像描述

0 投票
1 回答
185 浏览

asp.net - Sitecore 9.1 安装 SitecoreInstallFramework

我正在尝试在我的 PC 上安装 Sitecore 9.1 进行开发。我遵循了这个简短的教程,并在 Sitecore 9.1快速安装指南中引用了它。Slor似乎安装没有问题。执行本教程最后步骤之一的XP0-SingleDeveloper.ps1脚本时会出现以下错误。这是该机器上安装的第一个 Sitecore 实例。

Powershell 错误

该错误似乎发生在SitecoreInstallFramework\2.0.0\Private\JsonConfiguration.ps1文件中。我多次使用Install-Module SitecoreInstallFramework – Force& powershell 命令来确保我的 SitecoreInstallFramework 是最新的。Update-Module SitecoreInstallFramework关于如何解决这个问题的任何想法?谢谢。

0 投票
1 回答
1336 浏览

asp.net-mvc - Sitecore 内容编辑器抛出:“/”应用程序错误中的服务器错误

当我尝试在 Sitecore 9.1 中打开内容编辑器时,它会引发以下错误。这是堆栈跟踪的链接:

堆栈跟踪

请帮我解决这个错误。

你调用的对象是空的。说明:执行当前 Web 请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。

异常详细信息:System.NullReferenceException:对象引用未设置为对象的实例。

源错误:在执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来识别有关异常起源和位置的信息。

堆栈跟踪:[NullReferenceException: 对象引用未设置为对象的实例。] Sitecore.Buckets.Commands.MakeTemplateBucketable.GetToolTip(CommandContext context, String tooltip) +167 Sitecore.Web.UI.WebControls.Ribbons.Ribbon.FillParamsFromCommand(CommandContext commandContext, RibbonCommandParams ribbonCommandParams) +186 Sitecore.Web.UI.WebControls.Ribbons.Ribbon.GetCommandParameters(Item controlItem, CommandContext commandContext) +78 Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderSmallCheckButton(HtmlTextWriter output, Item button, CommandContext commandContext) +99 Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderButton(HtmlTextWriter 输出,Item 按钮,CommandContext commandContext) +823 Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter 输出,Item 块,CommandContext commandContext) +341 Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual, String id) +243 Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk( HtmlTextWriter output, Item chunk, CommandContext commandContext, Boolean isContextual) +160 Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunks(HtmlTextWriter output, Item strip, CommandContext commandContext, Boolean isContextual) +425 Sitecore.Web.UI.WebControls。 Ribbons.Ribbon.RenderStrips(HtmlTextWriter 输出,项目功能区,布尔 isContextual,ListString visibleStripList)+1612 Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter 输出,项目 defaultRibbon,项目 contextualRibbon,ListString visibleStripList)+161 Sitecore。 Web.UI.WebControls。Ribbons.Ribbon.Render(HtmlTextWriter 输出)+733 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter 编写器,ControlAdapter 适配器)+131 Sitecore.Web.HtmlUtil.RenderControl(Control ctl)+79 Sitecore.Shell.Applications.ContentManager。 ContentEditorForm.UpdateRibbon(Item 文件夹,Boolean isCurrentItemChanged,Boolean showEditor) +559 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update() +581 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e) +204 [TargetInvocationException:调用的目标已引发异常。] System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters,Object[] arguments) +128 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfoculture) +142 Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters,对象 obj) +89 Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +143 System.Web.UI.Control.PreRenderRecursiveInternal() +200 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint ) +7479ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +143 System.Web.UI.Control.PreRenderRecursiveInternal() +200 System.Web.UI.Page.ProcessRequestMain(布尔 includeStagesBeforeAsyncPoint,布尔 includeStagesAfterAsyncPoint) +7479ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +143 System.Web.UI.Control.PreRenderRecursiveInternal() +200 System.Web.UI.Page.ProcessRequestMain(布尔 includeStagesBeforeAsyncPoint,布尔 includeStagesAfterAsyncPoint) +7479