在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;发布于 2012-07-06 10:31:10
我在池iis中设置了ApplicationPoolIdentity,它没有出错。
https://stackoverflow.com/questions/11338531
复制相似问题