Re: [flexcoders] Launching Air application from ASP .NET

2009-03-05 Thread Sam Lai
It might be due to the fact that the ASP.NET process does not run in
an interactive account, i.e. able to display anything on screen.

Try using the runas command from the command prompt and see what it does there.

On 3/5/09, akila_ksri akila_k...@yahoo.co.in wrote:
 The app is already written in Flex and I need to reuse it. I do not want to
 duplicate the code in ASP .NET.

 To answer your first question, I want to write the file to the local disk
 (wherever the ASP .NET app is running). Although I do not think security
 should be an issue here, I have given complete access to the ASPNET user.

 --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote:

 ASP.NET executes applications as a different user with a different set
 of permissions. If you are writing to local storage, it would be in a
 different location than what you would expect if you are running the
 app as yourself. Where are you writing to?

 Can I ask why you are doing this? What does AIR offer that you can't
 do using ASP.NET on the server?

 2009/3/4 akila_ksri akila_k...@...:
  I have an AIR application that I need to run from an ASP.NET page. I use
  System.Diagonistics.Process to launch the exe file (on installing the
  .air file). My application does not seem to working though. It appears
  in the task manager but does not seem to run properly.
 
  On start of the application itself, I write a file to disk. But when I
  launch this through the Process, no file gets written.
 
  Any response is greatly appreciated.
 
  Thanks,
  Akila
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location:
  https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
  Links
 
 
 
 





 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links






Re: [flexcoders] Launching Air application from ASP .NET

2009-03-05 Thread Weyert de Boer
Why would you want to run the AIR application on the webserver where the 
ASP.NET project is deployed on?


[flexcoders] Launching Air application from ASP .NET

2009-03-04 Thread akila_ksri
I have an AIR application that I need to run from an ASP.NET page. I use 
System.Diagonistics.Process to launch the exe file (on installing the .air 
file). My application does not seem to working though. It appears in the task 
manager but does not seem to run properly. 

On start of the application itself, I write a file to disk. But when I launch 
this through the Process, no file gets written.

Any response is greatly appreciated.

Thanks,
Akila



Re: [flexcoders] Launching Air application from ASP .NET

2009-03-04 Thread Sam Lai
ASP.NET executes applications as a different user with a different set
of permissions. If you are writing to local storage, it would be in a
different location than what you would expect if you are running the
app as yourself. Where are you writing to?

Can I ask why you are doing this? What does AIR offer that you can't
do using ASP.NET on the server?

2009/3/4 akila_ksri akila_k...@yahoo.co.in:
 I have an AIR application that I need to run from an ASP.NET page. I use 
 System.Diagonistics.Process to launch the exe file (on installing the .air 
 file). My application does not seem to working though. It appears in the task 
 manager but does not seem to run properly.

 On start of the application itself, I write a file to disk. But when I launch 
 this through the Process, no file gets written.

 Any response is greatly appreciated.

 Thanks,
 Akila



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links