【发布时间】: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