ASPNET permissions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davez
    New Member
    • Dec 2007
    • 3

    ASPNET permissions

    Hello there

    I'm trying to launch a simple C++ application from my website (on the server side). It even runs, imagine that. However, when it tries to open a simple text file (for either read or write) it fails.
    (BTW, I used in order to run it:

    "WshShell = Server.CreateOb ject("WScript.S hell")
    ...
    oExec = WshShell.Exec(C ommandLine)"

    but it didn't open a shell window but ran the application in the background instead. how do I change this?)

    When I run the application manually it works fine with the files.

    The user under which the application fails is, of course, ASPNET.

    I've added this user to the administrators group, but it didn't help.

    The server runs on a Windows XP professional, with IIS.

    I'll appreciate your ideas.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Originally posted by davez
    Hello there

    I'm trying to launch a simple C++ application from my website (on the server side). It even runs, imagine that. However, when it tries to open a simple text file (for either read or write) it fails.
    (BTW, I used in order to run it:

    "WshShell = Server.CreateOb ject("WScript.S hell")
    ...
    oExec = WshShell.Exec(C ommandLine)"

    but it didn't open a shell window but ran the application in the background instead. how do I change this?)

    When I run the application manually it works fine with the files.

    The user under which the application fails is, of course, ASPNET.

    I've added this user to the administrators group, but it didn't help.

    The server runs on a Windows XP professional, with IIS.

    I'll appreciate your ideas.
    I don't believe that aspnet will work from the admin account. Try adding it to the folder permissions if you think this will help.

    Comment

    Working...