【问题标题】:Difficulty running Web service in IIS - Oxygene在 IIS 中难以运行 Web 服务 - Oxygene
【发布时间】:2019-06-29 18:07:21
【问题描述】:

我通过 Delphi prism 2010 创建了一个 Web 服务,它在 Delphi prism 中正常工作。

当我想将该 Web 服务移动到 IIS 并使用它时,它会引发错误
'Oxygene' is not a supported language.

在搜索这个网站后,我找到了主题Fix Delphi Prism ASP Error的解决方案

我安装了 RemObjects Elements,但现在当我想使用 Web 服务时,它会引发另一个错误,如下所示

【问题讨论】:

    标签: asp.net delphi iis


    【解决方案1】:

    对不起,我不能评论它也不能检查它。我有一些想法:

    可能有一些版本不匹配?这是 C# 中 Newtonsoft.Json 的常见问题 https://msdn.microsoft.com/en-us/library/7wd6ex19(v=vs.71).aspx

    你可以这样修复它:

    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD4FE6B2A6AEED" culture="neutral"/>
                <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
    

    看看这个: https://talk.remobjects.com/t/upgrade-to-oxygene-net-8-2-89-1893/7584

    【讨论】:

    • 感谢您的帮助,因为是 Microsoft .net 版本
    猜你喜欢
    • 2012-10-14
    • 1970-01-01
    • 1970-01-01
    • 2011-08-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-09-07
    • 1970-01-01
    相关资源
    最近更新 更多