System.UnauthorizedAccessException: 拒绝访问 temp 目录。用来运行 XmlSerializer 的标识“IIS APPPOOL\customer2023_Adream_1”没有访问 temp 目录的足够权限。CodeDom 将使用进程正在使用的用户帐户进行编译,这样,如果用户没有访问系统 temp 目录的权限,将无法进行编译。使用 Path.GetTempPath() API 找到 temp 目录的位置。 在 Cenpic.Common.SerializationHelper.Load(Type type, String filename) 位置 F:\车管家\项目\sanceng.szjzw.com.cn\Common\SerializationHelper.cs:行号 34 在 Config.SetConfig.Config_ch() 位置 d:\freehost\customer2023\web\App_Code\SetConfig.cs:行号 42 在 top.webinfo() 位置 d:\freehost\customer2023\web\ch\UserCoutrol\top.ascx.cs:行号 21 在 top.Page_Load(Object sender, EventArgs e) 位置 d:\freehost\customer2023\web\ch\UserCoutrol\top.ascx.cs:行号 12System.UnauthorizedAccessException: 拒绝访问 temp 目录。用来运行 XmlSerializer 的标识“IIS APPPOOL\customer2023_Adream_1”没有访问 temp 目录的足够权限。CodeDom 将使用进程正在使用的用户帐户进行编译,这样,如果用户没有访问系统 temp 目录的权限,将无法进行编译。使用 Path.GetTempPath() API 找到 temp 目录的位置。 在 Cenpic.Common.SerializationHelper.Load(Type type, String filename) 位置 F:\车管家\项目\sanceng.szjzw.com.cn\Common\SerializationHelper.cs:行号 34 在 Config.SetConfig.Config_ch() 位置 d:\freehost\customer2023\web\App_Code\SetConfig.cs:行号 42 在 UserCoutrol_foot.webinfo() 位置 d:\freehost\customer2023\web\ch\UserCoutrol\foot.ascx.cs:行号 21 在 UserCoutrol_foot.Page_Load(Object sender, EventArgs e) 位置 d:\freehost\customer2023\web\ch\UserCoutrol\foot.ascx.cs:行号 12




