Dan
asked on
Type 'WMSServer' is not defined
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("WM SServer.Se rver")
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?
Dim wms as WMSServer
Dim serverType As Type = Type.GetTypeFromProgID("WM
wms = CType(Server.CreateObject(
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?
ASKER
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?
"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?
ASKER
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?
Do you have any idea why the file wouldn't exist on the 08 server?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
machine you're running IIS on. To do that, go to
Start -> Run and type in
regsvr32 WMSServerTypeLib.dll