Results 1 to 2 of 2

Thread: Permissions?

  1. #1
    Join Date
    Dec 1969

    Default Permissions?

    Hi,<BR>I have a test.bat file which contains the command:<BR>netsvc Browser \hostname2 /query.<BR>This test.bat file works fine when I run it manually by double-clicking it.<BR>But when I run this command from my ASP .NET application, it doesn&#039;t seem to work at all.<BR>Why is this happening..?<BR>Do I have to set some permissions?<BR><BR>Thanks,

  2. #2
    Join Date
    Dec 1969

    Default RE: Permissions?

    ASP.NET runs under, funnily enough, the ASPNET user account. this is basically a guest account, which has few privileges on the system. either : force a login, run ASP.NET under a different account, or use impersonation.<BR><BR><BR>j<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts