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. General Programming
  3. .NET (Core and Framework)
  4. Use RegAsm -> SuccessFul but failure in creating object of com wrapped dotnet dll

Use RegAsm -> SuccessFul but failure in creating object of com wrapped dotnet dll

Scheduled Pinned Locked Moved .NET (Core and Framework)
questioncsharpcomhelpworkspace
2 Posts 2 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.
  • N Offline
    N Offline
    nlarson11
    wrote on last edited by
    #1

    Hello -> my apologies if this has been asked before.... I have a com wrapped dotnet dll. I use regasm and it runs with a result of successful. I try to create an instance of it using an asp page and fails to create object. I made a dotnet setup project (msi) and after the setup I run the asp page and it successfully creates the instance. What is setup doing that regasm isn't? I am not providing any arguments to regasm besides the dll name and path. Am i missing something to tell regasm to work properly? Any help would be greatly appreciated. Thank you. Nathan

    'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous 'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous

    L 1 Reply Last reply
    0
    • N nlarson11

      Hello -> my apologies if this has been asked before.... I have a com wrapped dotnet dll. I use regasm and it runs with a result of successful. I try to create an instance of it using an asp page and fails to create object. I made a dotnet setup project (msi) and after the setup I run the asp page and it successfully creates the instance. What is setup doing that regasm isn't? I am not providing any arguments to regasm besides the dll name and path. Am i missing something to tell regasm to work properly? Any help would be greatly appreciated. Thank you. Nathan

      'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous 'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      nlarson11 wrote:

      What is setup doing that regasm isn't?

      Perhaps it's not creating a TypeLibrary?

      regasm.exe MyNetAssembly.dll /register /codebase /tlb

      I are Troll :suss:

      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