Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. VBRUN : 80040154

VBRUN : 80040154

Scheduled Pinned Locked Moved ASP.NET
comquestioncsharpasp-net
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    coolestCoder
    wrote on last edited by
    #1

    Hi, I have a Web Application which referes to COM components for various reasons. These COM components are built in VB6 and works fine when executed from Windows application from my machine. This means, COM components are properly registered on my machine. When I gave reference to these from my Web App, respective Interop. DLL are created. The COM component is the described as - "Microsoft VBUpgrade Tool TypeLib Visual Basic runtime objects and procedures" in VS.NET 2008 reference properties. Question : I am getting following error when I try to create an object of VBRUN.PropertyBagClass Error Message : An exception of type System.Runtime.InteropServices.COMException was raised and caught. Message: Retrieving the COM class factory for component with CLSID {D5DE8D20-5176-4EF2-8581-7B534D2AC56E} failed due to the following error: 80040154. Stack Trace pointed to the line where object was being created I searched google and came to a conclusion that I need to give rights of COM component execution for ASPNET account. I tried DCOM Configuration but am not sure to whom give the access rights and of what ? It would be great if you guys give some sort of pointer to this ? Also wanted to make sure that my conclusion is right ? Thanks !


    "A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder


    coolestCoder

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups