Solved

Type 'WMSServer' is not defined

Posted on 2008-10-01
4
471 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
  • 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now