Hello,
I have recently moved a few console utility programs to a web program (using visual webgui). In one of these programs I index a dvdr and then eject it. This worked very well in the console application, using P/Invoke to DeviceIOControl in kernel32.dll, mciSendString in winmm.dll and also by invoking cdr.exe from here: http://www.codeguru.com/cpp/w-p/system/cd-rom/article.php/c5775/
However when running in the ASP.NET process the disc is not ejected by any of these methods, so I figure there must be some security issue. My question is if there is any workaround or do I have to have a running process (say a service) running as another User (that can eject the cd) and use remoting or is there some way to configure what the ASP.NET process can do? In IIS (I'm running IIS7 on a Vista x64) the web page has the highest security credentials.
Regards