是因为:临时目录没有把权限开放给 ASPNET 帐号最简单解决方法:把Windows目录下的Temp和TMP目录开放权限给Everyone可修改权限。

解决方案 »

  1.   

    下面是官方的解决方法:http://support.microsoft.com/default.aspx?scid=kb;en-us;322886RESOLUTION
    To avoid this problem, give read/write priviledges for the Temp folder to the ASPNET account. When ASP.NET Web Services process WebMethods, the identity that is used most frequently to gain access to the system Temp folder is the local ASPNET account, which is the default account under which ASP.NET applications run. However, if you have configured your application to use impersonation in its Web.config file, the thread can also use the identity of any caller. If this is the case, all potential calling identities must have read/write priviledges to the Temp folder. A likely calling identity is the Internet Information Services (IIS) application's anonymous account (typically the ISUR_xxx account). The thread may also use the IWAM_xxx account. 把临时目录开发给ASPNET用户读写权限。