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. COM
  4. Really struggling with GetTypeFromProgID

Really struggling with GetTypeFromProgID

Scheduled Pinned Locked Moved COM
helpsysadmintutorial
5 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.
  • D Offline
    D Offline
    DaveC426913
    wrote on last edited by
    #1

    Trying to get a VB app to run Windows Media Services on a remote machine. This code tServerType = Type.GetTypeFromProgID("WMSServer.Server", , True) generates this error System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string at System.RuntimeType.GetTypeFromProgIDImpl(String progID, String server, Boolean throwOnError) at System.Type.GetTypeFromProgID(String progID, String server, Boolean throwOnError) I really need help with how to configure my local and my remote machine to talk to each other. HELP!! ________________________________________________________________________ Dave Y10K bug! Let's not get caught with our pants down **AGAIN**! (DC 02002)

    J 1 Reply Last reply
    0
    • D DaveC426913

      Trying to get a VB app to run Windows Media Services on a remote machine. This code tServerType = Type.GetTypeFromProgID("WMSServer.Server", , True) generates this error System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string at System.RuntimeType.GetTypeFromProgIDImpl(String progID, String server, Boolean throwOnError) at System.Type.GetTypeFromProgID(String progID, String server, Boolean throwOnError) I really need help with how to configure my local and my remote machine to talk to each other. HELP!! ________________________________________________________________________ Dave Y10K bug! Let's not get caught with our pants down **AGAIN**! (DC 02002)

      J Offline
      J Offline
      Jorgen Sigvardsson
      wrote on last edited by
      #2

      "WMSServer.Server" is an invalid ProgID. Have you registered the component/proxy locally? (I have no idea how Windows Media Services work, but you mention "remote machine", so I assume you're using DCOM. Then you need to either have the components or the proxy registered on your client machine) Good music: In my rosary[^]

      D 1 Reply Last reply
      0
      • J Jorgen Sigvardsson

        "WMSServer.Server" is an invalid ProgID. Have you registered the component/proxy locally? (I have no idea how Windows Media Services work, but you mention "remote machine", so I assume you're using DCOM. Then you need to either have the components or the proxy registered on your client machine) Good music: In my rosary[^]

        D Offline
        D Offline
        DaveC426913
        wrote on last edited by
        #3

        I'm pretty green with this stuff. I am using DCOM, yes. I am developing on the client machine right now, so I would expect that, yes, they are registered. "WMSServer.Server" is an invalid ProgID. Should it be the GUID? ________________________________________________________________________ Dave Y10K bug! Let's not get caught with our pants down **AGAIN**! (DC 02002)

        J 1 Reply Last reply
        0
        • D DaveC426913

          I'm pretty green with this stuff. I am using DCOM, yes. I am developing on the client machine right now, so I would expect that, yes, they are registered. "WMSServer.Server" is an invalid ProgID. Should it be the GUID? ________________________________________________________________________ Dave Y10K bug! Let's not get caught with our pants down **AGAIN**! (DC 02002)

          J Offline
          J Offline
          Jorgen Sigvardsson
          wrote on last edited by
          #4

          DaveC426913 wrote: "WMSServer.Server" is an invalid ProgID. Should it be the GUID? Nah. ProgIDs and CLSIDs (Class ID which is a GUID), are mostly interchangeable. GUIDs are unique, but ProgIDs aren't [edit]necessarily, but are most of the time. (I have yet to encounter two identical ProgIDs for different components!)[/edit] What the error says is that the component isn't registered on your computer. Not as implementation nor as proxy. You need to investigate further on that. -- modified at 1:53 Tuesday 30th August, 2005

          D 1 Reply Last reply
          0
          • J Jorgen Sigvardsson

            DaveC426913 wrote: "WMSServer.Server" is an invalid ProgID. Should it be the GUID? Nah. ProgIDs and CLSIDs (Class ID which is a GUID), are mostly interchangeable. GUIDs are unique, but ProgIDs aren't [edit]necessarily, but are most of the time. (I have yet to encounter two identical ProgIDs for different components!)[/edit] What the error says is that the component isn't registered on your computer. Not as implementation nor as proxy. You need to investigate further on that. -- modified at 1:53 Tuesday 30th August, 2005

            D Offline
            D Offline
            DaveC426913
            wrote on last edited by
            #5

            "What the error says is that the component isn't registered on your computer. Not as implementation nor as proxy. You need to investigate further on that." Would that be on the server wherer the service is, or on the client where the app is running? It's got to be registered somehow - it is already in use when I started developing on these boxes. ________________________________________________________________________ Dave Y10K bug! Let's not get caught with our pants down **AGAIN**! (DC 02002)

            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