Problems accessing DCOM component

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Problems accessing DCOM component

    Hi folks,

    I am stuck on a problem of creating an object via DCOM from a webservice
    component. Code:

    Dim sl As LogonSrv.SysLogon = CreateObject("LogonSrv.SysLogon", LogonServer)

    Is there some kind of security involved in accessing DCOM components? If
    yes, what kind? Is it configurable?

    Will appritiate any help.

    Cheers,
    Oleg



    Oleg Skopincevs Guest

  2. Similar Questions and Discussions

    1. Accessing an object in one component from anothercomponent
      So I have an application that contians a component that contians a VBox which it self contains a Text component. Here's the code "The...
    2. Accessing a ComboBox from the parent component
      I have a component that contains several other components and a combobox with date values. I want to be able to access the value of the combobox...
    3. Problem with accessing component
      Hi, In my application to my components I am passing the typed reference to the application . E.g I have one component as <comp:reports...
    4. Error ASP 0178 on Windows 2003 Server (IIS6) by Server.CreateObject on DCOM registred Component
      Heres is a workaround, 1. go to Administrative Tools> Component Services 2. expand COM Services and right click on My computer. 3. click...
    5. Accessing VJ++ COM Component From ASP Page
      Hi Friends, I had written a VJ++ COM DLL which uses some jar files.I tried to access the DLL from a VB Standard Exe and it worked fine.But,when i...
  3. #2

    Default Re: Problems accessing DCOM component

    If you didn't do anything special, you'll probably use the ASPNET account to
    run your web services. So you must check if this account has enough rights
    to access the DCOM object.

    To make sure it involves security (or related) problems, I usually try to
    run the service with an admin account. BUT DO NOT FORGET TO RESTORE THE
    ORIGINAL SETTINGS! :-)

    --
    Greetz

    Jan Tielens
    ________________________________
    Read my weblog: [url]http://weblogs.asp.net/jan[/url]


    "Oleg Skopincevs" <skopoleg@hotmail.com> wrote in message
    news:OXNqpzV8DHA.3348@TK2MSFTNGP09.phx.gbl...
    > Hi folks,
    >
    > I am stuck on a problem of creating an object via DCOM from a
    webservice
    > component. Code:
    >
    > Dim sl As LogonSrv.SysLogon = CreateObject("LogonSrv.SysLogon",
    LogonServer)
    >
    > Is there some kind of security involved in accessing DCOM components?
    If
    > yes, what kind? Is it configurable?
    >
    > Will appritiate any help.
    >
    > Cheers,
    > Oleg
    >
    >
    >

    Jan Tielens Guest

  4. #3

    Default Re: Problems accessing DCOM component

    Hi Jan,

    Thanks for reply. What service is it you are referring to? There is one
    called 'ASP.NET State Service' which was not running at all. And it's the
    only service set to run under ASPNET account.

    Oleg

    "Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message
    news:uuUlQ5V8DHA.2480@TK2MSFTNGP10.phx.gbl...
    > If you didn't do anything special, you'll probably use the ASPNET account
    to
    > run your web services. So you must check if this account has enough rights
    > to access the DCOM object.
    >
    > To make sure it involves security (or related) problems, I usually try to
    > run the service with an admin account. BUT DO NOT FORGET TO RESTORE THE
    > ORIGINAL SETTINGS! :-)

    Oleg Skopincevs Guest

  5. #4

    Default Re: Problems accessing DCOM component

    Yes. If you want to access DCOM object.
    You must take security into consideration.

    As i understand your DCOM object is a standalone exe.
    You need to run dcomcnfg.exe and give ASP.NET account permissions to start
    and access permissions.

    You can do it 2 ways.
    1. Per APPID just find it in the list of Applications and Click "Properties"
    then tab Security
    2. Global. Just go and change it in tab "Default Security"

    Also in Identity tab you can specify the account this DCOM object will run
    under.
    You can use "Launching user" if you do not need anything special. Then your
    EXE will run under ASP.NEt account.

    Georger.


    "Oleg Skopincevs" <skopoleg@hotmail.com> wrote in message
    news:OXNqpzV8DHA.3348@TK2MSFTNGP09.phx.gbl...
    > Hi folks,
    >
    > I am stuck on a problem of creating an object via DCOM from a
    webservice
    > component. Code:
    >
    > Dim sl As LogonSrv.SysLogon = CreateObject("LogonSrv.SysLogon",
    LogonServer)
    >
    > Is there some kind of security involved in accessing DCOM components?
    If
    > yes, what kind? Is it configurable?
    >
    > Will appritiate any help.
    >
    > Cheers,
    > Oleg
    >
    >
    >

    George Ter-Saakov Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139