[HttpException (0x80004005): The current identity (IIS APPPOOLNationalUnion.Shared) does not have write access to 'C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Files'.]
将iis里web应用对应的程序池中的起用32位程序改为false就可解决此问题 。