I am trying to test a sample script that i got off of citrix.com. You hard code username/passwd/domain and it is supposed to return a list of all published applications. Problem is, i can't get it to work...
Here's the error i get::
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Citrix/NFuse17/simple_1.asp, line 9
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at:
Here's the code::
<HTML>
<HEAD>
<TITLE>NFuse Classic Example</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<%
// Set credentials to represent the Credentials Java object, then initialize credentials
// with username, domain and password.
Set credentials = Server.CreateObject("com.citrix.nfuse.Credentials"
credentials.initialize "chrisw", "mds-atl", "wstinol_669"
// Set gateway to represent the Wire Gateway Java object, then initialize the gateway
// using the credentials object.
Set gateway = Server.CreateObject("com.citrix.nfuse.CitrixWireGateway"
gateway.initialize credentials
// Set appEnumerator to establish getAppEnumerator object from the gateway object.
Set appEnumerator = gateway.getAppEnumerator()
// Iterate through the hasMoreAppsFlat object of appEnumerator using a While loop.
// When no more applications are available in the flat App object, the loop will terminate.
While appEnumerator.hasMoreAppsFlat(""
// Set currentApp to the next available application.
Set currentApp = appEnumerator.nextAppFlat(""
// Write HTML to show the name of the current application, using the
// getFriendlyName() property of the appEnumerator object.
Response.Write currentApp.getFriendlyName()
// Write an HTML break to force a new line before writing the next app (if any):
Response.Write "<BR>"
Wend
%>
</BODY>
</HTML>
What could be causing this?
Thanks for the help.
Here's the error i get::
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/Citrix/NFuse17/simple_1.asp, line 9
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at:
Here's the code::
<HTML>
<HEAD>
<TITLE>NFuse Classic Example</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<%
// Set credentials to represent the Credentials Java object, then initialize credentials
// with username, domain and password.
Set credentials = Server.CreateObject("com.citrix.nfuse.Credentials"
credentials.initialize "chrisw", "mds-atl", "wstinol_669"
// Set gateway to represent the Wire Gateway Java object, then initialize the gateway
// using the credentials object.
Set gateway = Server.CreateObject("com.citrix.nfuse.CitrixWireGateway"
gateway.initialize credentials
// Set appEnumerator to establish getAppEnumerator object from the gateway object.
Set appEnumerator = gateway.getAppEnumerator()
// Iterate through the hasMoreAppsFlat object of appEnumerator using a While loop.
// When no more applications are available in the flat App object, the loop will terminate.
While appEnumerator.hasMoreAppsFlat(""
// Set currentApp to the next available application.
Set currentApp = appEnumerator.nextAppFlat(""
// Write HTML to show the name of the current application, using the
// getFriendlyName() property of the appEnumerator object.
Response.Write currentApp.getFriendlyName()
// Write an HTML break to force a new line before writing the next app (if any):
Response.Write "<BR>"
Wend
%>
</BODY>
</HTML>
What could be causing this?
Thanks for the help.