ckoenen
January 30th, 2003, 10:04 AM
When serializing/deserializing an object for webservices, a proxy object is created in the c:\winnt\temp directory. If ASPNET_WP.exe's account permissions are not set properly an exception occurs because it cannot write the cs file to the directory and compile it. You get this exception...
[FileNotFoundException: File or assembly name uvd_gwet.dll, or one of its dependencies, was not found.]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
System.Reflection.Assembly.Load(AssemblyName assemblyRef) +22
**** rest of exception omitted ****
The simple solution, of course, is to simply assign the correct permissions to the temp folder so ASPNET_WP.exe can write to it. The question I have is...
Can you configure ASPNET_WP.exe to use a different folder than c:\winnt\temp to write the proxies to, that it does have correct permissions for? I've checked machine.config and security.config and have come up with nothing. Is there a way to do this???
Thanks for your help.
[FileNotFoundException: File or assembly name uvd_gwet.dll, or one of its dependencies, was not found.]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
System.Reflection.Assembly.Load(AssemblyName assemblyRef) +22
**** rest of exception omitted ****
The simple solution, of course, is to simply assign the correct permissions to the temp folder so ASPNET_WP.exe can write to it. The question I have is...
Can you configure ASPNET_WP.exe to use a different folder than c:\winnt\temp to write the proxies to, that it does have correct permissions for? I've checked machine.config and security.config and have come up with nothing. Is there a way to do this???
Thanks for your help.