Really struggling with GetTypeFromProgID
-
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)
-
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)
"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[^]
-
"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[^]
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)
-
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)
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
-
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
"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)