itnifl
asked on
ActiveX component can't create object: 'MetaFrameCOM.MetaFrameFarm'
script.vbs(233, 2) Microsoft VBScript runtime error: ActiveX component can't create object: 'MetaFrameCOM.MetaFrameFar m'
Wich is this line: Set theFarm = CreateObject("MetaFrameCOM .MetaFrame Farm")
I tried installing this:
http://community.citrix.com/display/xa/XenApp+Management+SDK
But it didn't help.
Any suggestions?
Wich is this line: Set theFarm = CreateObject("MetaFrameCOM
I tried installing this:
http://community.citrix.com/display/xa/XenApp+Management+SDK
But it didn't help.
Any suggestions?
login to server and run this command as admin wscript -regserver. Also can you check more details in event log and if possible provide the script to identify the issue. If it related to license issue then check https://support.citrix.com/article/CTX122856/
ASKER
It works ona 5.0 farm, but not a 6.0 farm. Didn't find anything relevant in the eventlog. There is no license issue apparent.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have written a script that automates the reset of terminal server profiles. The script is written in VisualBasic, thus I would prefer to not have to rewrite it in powershell. But I will if that is the only option. It is however, completely irrelevant what I want to use the script for. My goal in this thread is to find a way to initiate a type MetaFrameCOM.MetaFrameFarm object in a VB script so that I can use it in different farm versions, not only 5.0.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Your answers are more then good enough.
Ultimately I would log off the user to reset his profile.
For the information I found that this is done this way in Xenapp 6 and above:
stop-xasession -InputObject (get-xasession -Account domain\useraccount)
I will have to create a separate powershell script for farms that are 6.0 and above.
Ultimately I would log off the user to reset his profile.
For the information I found that this is done this way in Xenapp 6 and above:
stop-xasession -InputObject (get-xasession -Account domain\useraccount)
I will have to create a separate powershell script for farms that are 6.0 and above.