Author: naresh126 | Posted on: 6/5/2009 8:03:15 PM | Views : 664

 Hi Everyone, Recently i have posted one issue in this forum.That was about executing a C# program in a Web page.you can see that post with the below link
http://forums.asp.net/p/1428651/3197182.aspx#3197182
but i am facing a problem with windows Vista security, it is not compiling the program it is givin me an error saying "Cannot Create Temporary File 9.0\VC\CSC1EDE.tmp Access denied" .But wen i am running program manually in DOS as Administrator it is workin.My batch file looks something like this
csc c:\naresh\program.cs /reference:System.dll
program>output.txt
am runnin this batch file with the below code
System.Diagnostics.Process.Start(@"c:\vs.bat");
i tried it changing the properties of the cmd.exe to "Run as ADMIN" but still its not workin. Can someone help me fixing this problem.Is there any way to give permissions inside batch file or any other way that i can open that batc ...

Go to the complete details ...