error CS2001: Source file 'C:\WINDOWS\TEMP\wctb8vqw.0.cs' could not be found error
CS2008: No inputs specified
本文共 737 字,大约阅读时间需要 2 分钟。
error CS2001: Source file 'C:\WINDOWS\TEMP\wctb8vqw.0.cs' could not be found error
CS2008: No inputs specified
转载于:https://www.cnblogs.com/lmllouk/archive/2012/03/31/2426805.html
Jun 07, 2006 12:57 PM|
Create a folder say c:\foo, give the network service account write permissions.
In web.config, add a <compilation tempDirectory="c:\foo" /> entry. Now if MS had done their jobs properly that would be it, unfortunately Web Service serialization code is parsed to the system environment TEMP folder (or maybe TMP , I haven't quite managed to convince myself), so you need to add a global.asax and add this to the Application_Start
Environment.SetEnvironmentVariable("TEMP","c:\\foo"); Environment.SetEnvironmentVariable("TMP","c:\\foo");