谁遇过这种问题

谁遇过这种问题,新装的系统,先装IIS,后装的。net framework,运行程序的时候提示类似:


@"System.IO.FileNotFoundException: 找不到文件或程序集名称“e3u0w2vi.dll”,或找不到它的一个依赖项。\r\n文件名: “e3u0w2vi.dll”\r\n   at Web.Base.LoginModule.context_AcquireRequestState(Object sender, EventArgs e) in D:\source\web\Base\LoginModule.cs:line 51\r\n   at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()\r\n   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)\r\n\r\n=== Pre-bind state information ===\r\nLOG: Where-ref bind. Location = C:\WINNT\TEMP\e3u0w2vi.dll\r\nLOG: Appbase = file:///D://source/web\r\nLOG: Initial PrivatePath = bin\r\nCalling assembly : (Unknown).\r\n===\n\r\nLOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).\r\nLOG: Attempting download of new URL file:///C:/WINNT/TEMP/e3u0w2vi.dll.\r\n"


每次提示找不到的文件名都不同


郁闷了一个上午,整不好。
最后还是老大过来帮我搞定了。

修改temp目录权限,把asp.net+为完全控制。

原因是.net在编译过程中需要一个目录存放临时文件,因为权限问题没有写入临时文件,所以每次提示的文件都不同

在用户管理里把 ASPNET 用户改成管理员权限就可以了.

或者在machine.config模拟一个管理员用户进行操作

posted on 2005-09-12 12:07  CrazyWill  阅读(483)  评论(2编辑  收藏  举报

导航