Strange exception (about webservices, temp directory and XML serialization)
- From: "Andrés G. Aragoneses" <knocte@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 10 Mar 2006 09:57:13 +0100
When trying to use a webservices, not very often I obtain the following exception:
Server was unable to process request. ---> Access to the temp directory is denied. Identity 'NT AUTHORITY\NETWORK SERVICE' under which XmlSerializer is running does not have sufficient permission to access the temp directory. CodeDom will use the user account the process is using to do the compilation, so if the user doesnt have access to system temp directory, you will not be able to compile. Use Path.GetTempPath() API to find out the temp directory location.
I don't find any feedback or info on the web about this. If anyone could point me to any place to find out something so as to solve the problem.
Thanks in advance.
Regards,
Andrew [ knocte ]
P.S.: Using VS2005 (.NET 2.0) with WinXP Pro SP2.
--
.
- Prev by Date: Re: newbie: GetType or typeof?
- Next by Date: Re: string dictionary and memory issue.
- Previous by thread: string dictionary and memory issue.
- Next by thread: problem with escaped characters in System.Uri
- Index(es):
Relevant Pages
|