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