Solved

Type 'WMSServer' is not defined

Posted on 2008-10-01
4
531 Views
Last Modified: 2012-06-27
We've recently upgraded from windows server 2003 to windows server 2008 using Windows Media Services 2008.  On the old media server which I believe was 9 we were running the following code fine:

Dim wms as WMSServer
Dim serverType As Type = Type.GetTypeFromProgID("WMSServer.Server")
wms = CType(Server.CreateObject(serverType), WMSServer)

Now we get the error that says type wmsserver is not defined.

Is there no backward compatibility?  If not what do we need to change for the server type to be recognized?
0
Comment
Question by:afacts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 16

Expert Comment

by:Gyanendra Singh
ID: 22624093
Make sure you've registered the COM object, which I assume is on the
machine you're running IIS on. To do that, go to

Start -> Run and type in

regsvr32 WMSServerTypeLib.dll
0
 

Author Comment

by:afacts
ID: 22625471
I tried to register it, and here's what I'm getting:

"the module "WMSServerTypeLib.dll failed to load".
"make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .dll files."
"the specified module could not be found"

Do I need to be in a specific directory when I do this?
0
 

Author Comment

by:afacts
ID: 22625979
BondinASP I did a search on our 08 server and wmsserver.dll doesn't exist there but it does on our old 2003 server.  Can we just move this file from the old server to the new and register it?  Can an 03 file run on the 08 server without causing problems?

Do you have any idea why the file wouldn't exist on the 08 server?  
0
 

Accepted Solution

by:
afacts earned 0 total points
ID: 22681504
It's working now ... the needed files were on the server but not added properly as references to the project.  Just dropping them in the bin wasn't working so I ended up installing VWD 2005 on the server and then adding the dll's as a reference through the IDE and things started working again!  hallelujah!
0

Featured Post

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question