microsoft.windowsmediaservices.dll
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
microsoft.windowsmediaservices.dll

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
Kevin
Guest





Posted: Fri Oct 01, 2004 7:47 am    Post subject: microsoft.windowsmediaservices.dll Reply with quote

Whenever I try to create a new WMSServer() in VS i get
error message:
COM object with CLSID {845FB959-4279-11D2-BF23-
00805FBE84A6} is either not valid or not registered.

I've already used regasm and regsvr32 to register the
microsoft.windowsmediaservices.dll
Using VS 2002 and Win XP Pro
Tried everything! Any info please help.

Back to top
smith
Guest





Posted: Tue Oct 05, 2004 5:00 am    Post subject: Re: microsoft.windowsmediaservices.dll Reply with quote

You're running Media Services on a 2003Server, not an XP box, right?

If so, have you tried running the code on the 2003Server computer under an
account with adequate permissions to manage the Media Services?

-smith

"Kevin" <treehugger126@hotmail.com> wrote in message
news:29b101c4a769$5afa6320$a601280a@phx.gbl...
Quote:
Whenever I try to create a new WMSServer() in VS i get
error message:
COM object with CLSID {845FB959-4279-11D2-BF23-
00805FBE84A6} is either not valid or not registered.

I've already used regasm and regsvr32 to register the
microsoft.windowsmediaservices.dll
Using VS 2002 and Win XP Pro
Tried everything! Any info please help.
Back to top
smith
Guest





Posted: Tue Oct 05, 2004 9:33 am    Post subject: Re: microsoft.windowsmediaservices.dll Reply with quote

take .Net out of it for a second.

create a text file named "darnedserver.vbs"

open the file in notepad and stick this in it (obviously changing the
address/name argument to your server's):

Dim RemoteServer
set RemoteServer = CreateObject("WMSServer.Server", "[server ip address or
name]")
MsgBox(CBool(RemoteServer Is Nothing))

save, close & doubleclick on the file.

Still getting the error? re-reg the typelib file (RegSvr32 "C:\Program
Files\Microsoft SDK\include\wmsservertypelib.dll")

Try the vbscript again.

I just added it to another machine and that was pretty much it. To use it
in VS I had to do that and set the project reference to "C:\Program
Files\Microsoft SDK\include\microsoft.windowsmediaservices.dll" to get the
namespace but once both files were registered it at least got the server
object.

hope that helps somewhat.

robert smith
kirkland, wa

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB