【问题标题】:Sitecore azure re-deploymentSitecore 天蓝色重新部署
【发布时间】:2015-08-31 13:31:40
【问题描述】:

我正在使用 site-core azure 进行部署。 我使用以下链接清理了部署: https://kb.sitecore.net/articles/771717

之后,当我尝试再次部署时,它会抛出以下错误:

执行包失败 System.ApplicationException: AdvaiyaWebSiteTestScusCe01Role01SSc437Staging [S] 执行包 failed ---> System.ApplicationException: 执行包失败 ---> System.Runtime.Remoting.RemotingException:对象'/e44991be_f499_4234_a3a7_de70f8a3bcf7/6qjthylyeqgvlu+u0v4xxedj_286.rem' 已断开连接或在服务器上不存在。服务器堆栈 跟踪:在 System.IO.FileStream.get_CanRead() 处 MS.Internal.IO.Zip.ZipIOLocalFileBlock.CheckFileAccessParameter(流 流,FileAccess 访问)在

如何解决?

谢谢

【问题讨论】:

    标签: sitecore sitecore-azure


    【解决方案1】:

    我在使用了 Azure .NET SDK 2.5 的 Sitecore Azure 模块和 Visual Studio 中都看到了这个错误。不过,我还没有在 SDK 2.4 或 2.6 中看到它。

    由于您无法将其他 SDK 版本与 Sitecore Azure 模块一起使用,您唯一可以尝试的是再次运行部署。

    否则,请将最新的 Azure .NET SDK 与 Visual Studio 结合使用: https://github.com/olegburov/sitecore-azure-content/blob/master/articles/how-to-deploy-sitecore-80-solution-to-microsoft-azure-web-app-using-visual-studio.md

    【讨论】:

    • 我遵循了上面链接中提到的设置。现在我在成功发布到 Azure 后收到错误消息。 '无法解析类型名称:Sitecore.Azure.Startup.Pipelines.Loader.RebuildSearchIndex, Sitecore.Azure.Startup;
    • 这个问题的原因是因为你发布了'\App_Config\Include\Sitecore.Azure.Startup.config'文件,但是错过了\bin\Sitecore.Azure.Startup.dll'一个.您可以使用 Azure 门户中的 Visual Studio Online Extension 来查看您的 Web App 的文件系统。
    • 好的,我可以从哪里得到这个文件?
    • 它带有 Sitecore.Azure.Setup NuGet 包:nuget.org/packages/Sitecore.Azure.Setup
    • 好的,我明白了。现在出现以下错误:服务器上发生应用程序错误......“'/'应用程序中的服务器错误”,,,,,,此应用程序的当前自定义错误设置阻止了应用程序错误的详细信息远程查看(出于安全原因)。但是,本地服务器计算机上运行的浏览器可以查看它。
    【解决方案2】:

    要将 Sitecore Session 数据库导出为 *.bacpac 文件,请参考以下文章:https://github.com/olegburov/sitecore-azure-content/blob/master/articles/how-to-deploy-sitecore-databases-to-azure-sql-database.md

    【讨论】:

    • 我尝试了同样的错误“导出数据库失败”,提取模式失败,在导出数据层应用程序中。前任。详细错误消息是:[information_schema].[tables].[table_schema]。从该平台创建包时不支持外部引用。错误 SQL71562:验证元素 [dbo].[CreateTables] 时出错:过程:[dbo].[CreateTables] 对对象 [tempdb] 有未解析的引用。有多个这样的错误。
    • 它在执行会话数据库的GetApplicationId SProc时给出错误“同义词'Applications'指的是无效对象。
    • 所有这些配置问题现在都解决了,它抛出的 SQL 服务器异常 'System.Data.SqlClient.SqlException: Invalid object name 'Items'。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-18
    • 2016-04-18
    相关资源
    最近更新 更多