Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Dec 2001
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    COM+ (Visual Basic)

    When I set the Identity of my COM+ application to the same network username as the person logged onto the local pc, it works fine.

    When I set the Identity of my COM+ application to anything other than the network username of the person logged onto the local pc, it prompts me with "Error 70, Permission Denied".

    Does any have a solution for this problem?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: COM+ (Visual Basic)

    Don't programs generally run with the permissions of the user? I don't think there's any way to unleash a program that has universal credentials, and I hope no one comes up with a way: all network security would immediately go into the toilet.

  3. #3
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: COM+ (Visual Basic)

    I'm not sure if it's the same thing but you can certainly run services under different user accounts and (at least under Win2k - I can't remember for sure about NT etc.) you can also choose to run any program as someone else as long as you know the username and password. Quite handy if you need admin rights to run just one particular program.
    I don't know enough about COM+ to say how to set this up properly though.
    Regards,
    Rory

    Microsoft MVP - Excel

Posting Permissions

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