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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

InfoView Login Screen 2

Status
Not open for further replies.

glthornton

Programmer
Oct 19, 2005
108
US
Hi everyone,

I'm using CR XI with SQL. Since we have a central server and using the CR web reporting tool (InfoView). I was wondering if anyone knows of a way to hard code the System and the Authentication Type on the InfoView login screen? We're trying to make it easy for our users so that they do not have to remember what system to login into in addition to the authentication type.

I would greatly appreciate it if anyone has a way to do this.

Thank you,
GlThornton
 
hi
change te group to public
this might help since everyone will have access

fsreport
 
Thanks FS!

But if I do that, doesn't this eliminate any type of authentication to begin with? If that is the case, we cannot have that. As we assign the rights to specific reports based upon groups within Active Directory. We still want to maintain an NT authentication.

Thanks,
GlThornton
 
hi
if yoiur using crytal server you can hard code the login there


fsreport
 
NOTE: I don't work with Crystal Server (CS), but I've done LOTS of coding for BO XI, which uses the same SDK as CS.

Are there different versions of web code for CS? For example, BO XI has both a Java and a .NET version that can be installed with it. In the .NET version, there are a couple of settings in the Web.Config file for Infoview that can be set to take care of this. In particular, we use the following:

<add key="cmsDefault" value="<cms name>" />
<add key="cmsVisible" value="false" />
<!-- Default Authentication progID {secEnterprise, secLDAP, secWindowsNT, secWinAD} -->
<add key="authenticationDefault" value="secEnterprise" />
<add key="authenticationVisible" value="false" />

By setting the cmsVisible and authenticationVisible keys to false, the user can't change the CMS name or the authentication type because they aren't available to the user.

Depending on the InfoView code that you're using, you should have access to something like this to set those options.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
Thanks Hilfy!!

I'd like to double check with you as to what I have coded and the location of the which Web.Config file. I located the Web.Config file in:

C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Web Content\

I opened up the Web.Config file using Notepad and here is what the original code (small section) looked like:
Code:
<appSettings>
	<!-- This is a virtual path to crystalreportviewers directory, default to /cyrstalreportviewers115 -->
	<add key="path.dhtmlViewer" value="/crystalreportviewers115"/>

	<!-- This is the default page to handle viewing requests. -->
	<add key="viewer.defaultPage" value="viewrptjump.aspx"/>

	<add key="defaultPage" value="enterprise115/desktoplaunch/en/default.htm"/>

	<!-- The friendly name of current WCA, default %HOST%.wcs -->
	<add key="wca.Name" value="MAH-RPT.dotnet_wca"/>	
	<!-- This is the name of the CMS that you would like to connect to, default %HOST%. WCS_NAME_SERVER-->
	<add key="connection.cms" value="MAH-RPT:6400"/>

	<!-- WCS_CRI_TIMEOUT -->
	<add key="connection.criTimeout" value=""/>

	<!-- SOCKS URI is the URI style string representation of SOCKS server configuration. The SOCKS
	URI follows FTP and Telnet SOCKS URI convertion.
	socks://version;[username:password@]hostname:port[;version;[username:password@]hostname:port]... 
	example: socks://4;sockssvr1:1080;5;sockssvr2:1080;5;guest:password@sockssvr3:1080
	Note: This SOCKS set will override any registry setting for the given server name -->
	<add key="connection.socksUri" value=""/>
	
	<!-- CMC's custom URL path -->
	<add key = "CMC_CUSTOMURL_PATH" value="webadmin/"/>

And here is what a small section of the code looks like now after your suggested modifications:

Code:
<appSettings>
	<!-- This is a virtual path to crystalreportviewers directory, default to /cyrstalreportviewers115 -->
	<add key="path.dhtmlViewer" value="/crystalreportviewers115"/>

	<!-- This is the default page to handle viewing requests. -->
	<add key="viewer.defaultPage" value="viewrptjump.aspx"/>

	<add key="defaultPage" value="enterprise115/desktoplaunch/en/default.htm"/>

	<!-- The friendly name of current WCA, default %HOST%.wcs -->
	<add key="wca.Name" value="MAH-RPT.dotnet_wca"/>	

	<!-- This is the name of the CMS that you would like to connect to, default %HOST%. WCS_NAME_SERVER-->
	<add key="connection.cms" value="MAH-RPT:6400"/>
[COLOR=red]
        <!-- This is to set specific default settings for the server name.   04.11.2007  GHT  Mt. Ascutney Hosp-->
        <add key="cmsDefault" value="MAH-RPT:6400"/>
        <add key="cmsVisable" value="false"/>
        <!-- This is to set specific default settings for the authentication type.    04.11.2007  GHT  Mt. Ascutney Hosp-->
        <!-- The types of authentication are secEnterprise, secLDAP, secWindowsNT, secWinAD} -->
        <add key="authenticationDefault" value="secWindowsNT"/>
        <add key="authenticationVisable" value="false"/>
[/color]
	<!-- WCS_CRI_TIMEOUT -->
	<add key="connection.criTimeout" value=""/>

Does this look right to you? Also, once this is done it seems that I'd have to reboot the server or services in order for these changes to take affect. Is this correct?

Thank you,
glthornton
 
Hey Hilfy,

Your suggestion worked perfectly!!!

Thank you,
GlThornton
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top