Running CRServer XI
I want to provide a browser front-end for users to logon to CRServer and run their reports, so I downloaded the sample ASP files.
CRServer is on one machine, I'm building asp files on another machine.
However, having problems with first script, the logonform.asp file - I have to put the cms server (which is server-name.cms as in the server list I guess?) in the code, but when I run the asp page, it doesnt display the servr name, and doesn't create the Session Manager.
Soooo, the servername is wrong, or it cant/wont connect - how do I find out what is wrong?
LOGONFORM.ASP
<HTML>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=charset=UTF-8">
<BODY>
<P><B>Logon Page</B></P>
<%
' The LogonFrom.asp file is responsible for generating a user interface.
' The user interface contains the following three input fields: User Name,
' Password, and Authentication Type. Once this information is entered it is
' passed to the Logon.asp file.
' The Central Management Server (CMS) variable stores information about
' the users BusinessObjects Enterprise system.
Dim CMS
' Retrieves the name of the users CMS.
CMS = Request.ServerVariables("server-name.cms")
Response.Write "CMS: " & CMS & "<BR><BR>"
' Loads the Logon.asp file and displays the users
Response.Write _
"<FORM Name=logonForm Action='logon.asp?CMS="& CMS &"' Target='_top' Method=POST>"
%>
User Name <BR>
<INPUT Type=text Size=30 Name="UserID" value="">
<P>Password <BR>
<INPUT Type=password Size=30 Name="Password" value="">
<P>Authentication Type <BR>
<SELECT Name="Aut">
<OPTION Value="secEnterprise">Enterprise
<OPTION Value="secWindowsNT">Windows NT
</SELECT>
<P><INPUT Name=sa Type=submit value='Logon'>
</FORM>
</BODY>
</HTML>
Displays -
Logon Page
CMS:
User Name
Password
Authentication Type
Enterprise
I want to provide a browser front-end for users to logon to CRServer and run their reports, so I downloaded the sample ASP files.
CRServer is on one machine, I'm building asp files on another machine.
However, having problems with first script, the logonform.asp file - I have to put the cms server (which is server-name.cms as in the server list I guess?) in the code, but when I run the asp page, it doesnt display the servr name, and doesn't create the Session Manager.
Soooo, the servername is wrong, or it cant/wont connect - how do I find out what is wrong?
LOGONFORM.ASP
<HTML>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=charset=UTF-8">
<BODY>
<P><B>Logon Page</B></P>
<%
' The LogonFrom.asp file is responsible for generating a user interface.
' The user interface contains the following three input fields: User Name,
' Password, and Authentication Type. Once this information is entered it is
' passed to the Logon.asp file.
' The Central Management Server (CMS) variable stores information about
' the users BusinessObjects Enterprise system.
Dim CMS
' Retrieves the name of the users CMS.
CMS = Request.ServerVariables("server-name.cms")
Response.Write "CMS: " & CMS & "<BR><BR>"
' Loads the Logon.asp file and displays the users
Response.Write _
"<FORM Name=logonForm Action='logon.asp?CMS="& CMS &"' Target='_top' Method=POST>"
%>
User Name <BR>
<INPUT Type=text Size=30 Name="UserID" value="">
<P>Password <BR>
<INPUT Type=password Size=30 Name="Password" value="">
<P>Authentication Type <BR>
<SELECT Name="Aut">
<OPTION Value="secEnterprise">Enterprise
<OPTION Value="secWindowsNT">Windows NT
</SELECT>
<P><INPUT Name=sa Type=submit value='Logon'>
</FORM>
</BODY>
</HTML>
Displays -
Logon Page
CMS:
User Name
Password
Authentication Type
Enterprise