How to use DCOM Objects in WebService?

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

  1. #1

    Default Re: How to use DCOM Objects in WebService?

    It could be , that the ASPNET account doesnot have the necessary privledge
    to call the object, do some impersonation in the config file

    <identity impersonate="true" userName="user" password="ppp" />


    --
    Erymuzuan Mustapa
    Inter Virtual Sdn. Bhd.
    See MIND at [url]http://www.MIND.com.my[/url]




    "Microsoft" <ikozen@21cn.com> wrote in message
    news:%23UHg5AXYDHA.2200@TK2MSFTNGP09.phx.gbl...
    > hi,everyone,
    >
    > I have an DCOM Server,now i want to invoke the method of the DCOM
    > Objects in WebService.
    > I have added the reference of the DCOM Object into the WebService
    > project,
    > and i can create the .Net wrapped class of the DCOM object in a WebMethod
    of
    > the WebService,and compile it without any error. But while running the
    > WebMethod in IE, it failed. why?
    > By the way, if I use the .Net wrapped class of the DCOM object in a C#
    > Windows App, all is ok.
    >
    > i need your help. thank you !
    >
    >
    > kozen 2003-8-13
    >
    >
    >
    >

    Erymuzuan Mustapa Guest

  2. Similar Questions and Discussions

    1. DCOM Errors when creating COM Objects in IIS
      Hi all, I'm having a few problems creating COM objects in IIS. The issue only seems to affect a couple of our own custom COM objects. The COM...
    2. passing objects to CFC with webService
      i have a webservice that sends objects to a CFC...the first 2 calls are fine. when i call the writeCartInfo method, i get an the 'unable to connect...
    3. A problem about WebService interop DCOM
      hi, I'm developing a WebService that uses a DCOM server at the same machine. When I call a method of the DCOM, I get an...
    4. Webservice Objects with in Object
      I have a Patient object which is inherited and instansitated from a Person Class. I also have a GP object which also inherits from Person class....
    5. HOWTO? call dcom within webservice?
      Hello NG, I have the following Problem I have: 1.WebService "TestService" 2.MFC appl with COM Interface 3.A c# froms application ...
  3. #2

    Default Re: How to use DCOM Objects in WebService?

    The problem is solved.
    It because that IIS must restart after the DCOMCnfg changed the setting.


    kozen Guest

  4. #3

    Default Re: How to use DCOM Objects in WebService?

    So, did it work without any impersonation? Is the
    component developed in VC++? What settings you have in
    DCOMCnfg to make it work?
    Krishna
    >-----Original Message-----
    >The problem is solved.
    >It because that IIS must restart after the DCOMCnfg
    changed the setting.
    >
    >
    >.
    >
    krishna 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