Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFuse 1.7 Classic Customization

Status
Not open for further replies.

chrisw669

Technical User
Feb 19, 2002
43
0
0
US
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=&quot;#FFFFFF&quot;>
<%
// Set credentials to represent the Credentials Java object, then initialize credentials
// with username, domain and password.
Set credentials = Server.CreateObject(&quot;com.citrix.nfuse.Credentials&quot;)
credentials.initialize &quot;chrisw&quot;, &quot;mds-atl&quot;, &quot;wstinol_669&quot;
// Set gateway to represent the Wire Gateway Java object, then initialize the gateway
// using the credentials object.
Set gateway = Server.CreateObject(&quot;com.citrix.nfuse.CitrixWireGateway&quot;)
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(&quot;&quot;)
// Set currentApp to the next available application.
Set currentApp = appEnumerator.nextAppFlat(&quot;&quot;)
// 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 &quot;<BR>&quot;
Wend
%>
</BODY>
</HTML>

What could be causing this?
Thanks for the help.
 
Sorry, Answered my own question...

Set credentials = Server.CreateObject
(&quot;com.citrix.nfuse.ClearTextCredentials&quot;)

instead of...

Set credentials = Server.CreateObject
(&quot;com.citrix.nfuse.Credentials&quot;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top