XmlSerializer does not have sufficient permission to access temp directory

O

oritc123

Hello .

I am having the following error when I run my application under
Windows Vista ( it runs fine under Windows XP ) :

"Access to the temp directory is denied. Identity 'ORITSLAPTOP\orit'
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 doesn't have access to
system temp directory, you will not be able to compile. Use
Path.GetTempPath() API to find out the temp directory location. "


By the way , my computer doesn't have the directory 'ORITSLAPTOP
\orit' , it has 'ORITSLAPTOP\Users\orit instead . ORITDLSPTOP is the
name of my computer , orit is my user name . May it be a problem ?
How can I solve it ? Any ideas ?

Thanks in advance ,
Orit .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top