【问题标题】:Why some or all identity references could not be translated为什么无法翻译部分或全部身份参考
【发布时间】:2012-07-06 18:31:10
【问题描述】:

在 Visual Studio 2010 中,没有错误,一切正常,但是当我发布到 IIS 时出现错误

行:

Microsoft.Expression.Encoder.Preset pres = Microsoft.Expression.Encoder.Presets.VC1IISSmoothStreamingSD480pVBR;

错误:

Server Error in '/' Application.
some or all identity references could not be translated
  Description: An unhandled exception occurred during the execution of the current web request. Examine the stack trace for more information about this error and where it originated in the code.

  Exception Details: System.Security.Principal.IdentityNotMappedException: some or all identity references could not be translated.

更新: 我从以下行收到同样的错误:

var job = new Job();

命名空间:

using System;
using System.Linq;
using System.Web.Mvc;
using Microsoft.Expression.Encoder;
using Microsoft.Expression.Encoder.Profiles;
using VideoSmooth.Domain.Abstract;
using VideoSmooth.Domain.Entities;
using VideoSmooth.Web.Models;

【问题讨论】:

  • 什么是应用程序池模式? (集成、经典?)

标签: c# iis-7 expression


【解决方案1】:

我在池 iis 中设置了 ApplicationPoolIdentity,它正常工作

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-04-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-16
    • 2012-07-11
    相关资源
    最近更新 更多