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;