OLE exception while regestring exe (DCOM related)

chethanjasi

New Member
Hi

I am trying to call a server exe (ref DCOM component )on server machine from Client using local administrator account having full access permission.

the server exe which when executed register creating an entry in DCOM config.

This works absuletely fine in 2000 and XP(xp: ofcourse with slight access change in DCOM setting)

But In VISTA it throws me an OLE EXCEPTION.

I tried running the server exe directly in VISTA but the problem remains the same.
[it fails to register and create an entry in dcom config but after the exception server finally runs ]

i am struck up in this issue from past few weeks:mad:

Below solution was helpful for XP:o
To check DCOM configuration on Windows Vista and Windows XP
1. Open a command window.
2. Type the following command: dcomcnfg(The Component Services window will appear.)
3. Right-click My Computer, click Properties.
4. Click the Default Properties tab.
5. Make sure that EnableDistributed COM on this computer is selected.
6. Make sure that Default Impersonation Level is set to Identify.
7. Click OK, and then close the Component Services window.

Pls do reply
Thanks in advance
chethan
 

My Computer

Try running the process with the privileges assigned to Trusted Installer....
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro X64 Insider Preview (Skip Ahead) latest build
    Manufacturer/Model
    The Beast Model V (homebrew)
    CPU
    Intel Core i7 965 EE @ 3.6 GHz
    Motherboard
    eVGA X58 Classified 3 (141-GT-E770-A1)
    Memory
    3 * Mushkin 998981 Redline Enhanced triple channel DDR3 4 GB CL7 DDR3 1600 MHz (PC3-12800)
    Graphics Card(s)
    eVGA GeForce GTX 970 SSC ACX 2.0 (04G-P4-3979-KB)
    Sound Card
    Realtek HD Audio (onboard)
    Monitor(s) Displays
    2 * Lenovo LT2323pwA Widescreeen
    Screen Resolution
    2 * 1920 x 1080
    Hard Drives
    SanDisk Ultra SDSSDHII-960G-G25 960 GB SATA III SSD (System)
    Crucial MX100 CT256MX100SSD1 256GB SATA III SSD (User Tree)
    2 * Seagate Barracuda 7200.12 ST31000528AS 1TB 7200 RPM SATA II Mech. HD
    Seagate ST1500DL001-9VT15L Barracuda 7200.12 1.5 TB S
    PSU
    Thermaltake Black Widow TX TR2 850W 80+ Bronze Semi-Mod ATX
    Case
    ThermalTake Level 10 GT (Black)
    Cooling
    Corsair H100 (CPU, dual 140 mm fans on radiator) + Air (2 *
    Keyboard
    Logitech G15 (gen 2)
    Mouse
    Logitech MX Master (shared)
    Internet Speed
    AT&T Lightspeed Gigabit duplex
  • Operating System
    Sabayon Linux (current, weekly updates, 5.1.x kernel)
    Manufacturer/Model
    Lenovo ThinkPad E545
    CPU
    AMD A6-5350M APU
    Motherboard
    Lenovo
    Memory
    8 GB
    Graphics card(s)
    Radeon HD (Embedded)
    Sound Card
    Conextant 20671 SmartAudio HD
    Monitor(s) Displays
    Lenovo 15" Matte
    Screen Resolution
    1680 * 1050
    Hard Drives
    INTEL Cherryvill 520 Series SSDSC2CW180A 180 GB SSD
    PSU
    Lenovo
    Case
    Lenovo
    Cooling
    Lenovo
    Mouse
    Logitech MX Master (shared) | Synaptics TouchPad
    Keyboard
    Lenovo
    Internet Speed
    AT&T LightSpeed Gigabit Duplex
Hi Johngalt,

Thanks for your reply.

I checked the entier user accounts and previliages but cudnt find "Trusted Installer"
could you pls give some information lik how to set these privileges.

Thanku
 

My Computer

Hi Johngalt,

One more update is I tried running the server exe directly in VISTA with Run as administrator property by right clicking on the exe and it works!!!!!!

It has created the component in DCOM as well.

But if i access the server remotely from the vista Client now i get a special error saying Error OLE Exception : Accessing the OLE register and fails to establish the connection with server.

Any idea wat can be the problem ??
 

My Computer

Back
Top