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

ThinWebClient Problem

Status
Not open for further replies.

E3xtc

MIS
Mar 11, 2003
66
0
0
NZ
Hi All,

Now this is probably a real straight forward issue...

What I am trying to get the thin web client running without a hell of a lot of success to be honest...but then again I have no experience in html or jscript etc.

So anyhow hopefully someone will be able to shed some light on this for me *please*.
I have put the necessary folder on the Server and set it up on IIS and can browse to the web page fine. However when it loads the first page, it says Done - with errors.

The error says:
****************
Line: 15
Char: 2
Error: 'dialogArguments' is undefined
Code: 0
URL: http:\\<server>
****************

Now this is obviously relating to the connection.htm file however I have no idea what is wrong with it - let me know if you want me to post the details of this file, I just didn't know if there was much point in adding it at this stage, as it might be something blatantly stupid I have done , or not done.

*I have made no changes to this file which is directly off the CD and I cannot see where I should be changing it, if I should be*

The result is that the page loads however with no cube details to choose from.

Thanks in advance for any help anyone can offer.

Thanks
Troy
 
What thin web client are you using considering there are thousands of "thin web clients"


THanks

Shoot Me! Shoot Me NOW!!!
- Daffy Duck
 
Sorry about this - it is just the one which comes with the SQL 2000 Resource Kit - ie AnalysisServicesThinWebClient

Any ideas?

Cheers
Troy
 
That clinet isn't a full featured Client is is more of a starting point showing developers the various capabilities and as a starting point. However given the info in the error message it looks like you need to configure the connection string.

Shoot Me! Shoot Me NOW!!!
- Daffy Duck
 
yeah I know - was interested just to get it up and running...funnily enough I had it up and running at another site, without any 'configuration' as such...so was surprised when I got this message...

This is the code here - and I can't see anywhere which looks as though I should be specifically changing/modifying:

********************************************
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<STYLE TYPE="text/css">
BODY {FONT-FAMILY: Arial; COLOR: black;FONT-SIZE: 10pt;}
.clsTitle {COLOR: dodgerblue; FONT-FAMILY: Arial; FONT-SIZE: 14pt;}
.clsSubtitle {COLOR: dodgerblue; FONT-FAMILY: Arial; FONT-SIZE: 12pt;}
</STYLE> <TITLE>Connection Information</TITLE>
<SCRIPT LANGUAGE="JSCRIPT">
function window_onload()
{
var cubeInfo, oOption;
var cubes = new Array();

cubes = dialogArguments[0].split(";;");
for (var i =0; i<cubes.length; i++)
{
cubeInfo = cubes.split("\\");
if (cubeInfo.length >=3) {
oOption = document.createElement("OPTION");
oOption.text = cubeInfo[0];
oOption.value = cubeInfo[1] + "\\" + cubeInfo[2] + "\\" + cubeInfo[3];
document.all.lstCubes.options.add(oOption);
}
}
document.all.txtServer.value = dialogArguments[1];
document.all.txtDatabase.value = dialogArguments[2];
document.all.txtCube.value = dialogArguments[3];

// If no cubes have been defined - set the initial display to the advanced mode.
if (document.all.lstCubes.options.length ==0) {
changeDisplay();
}
}
function changeDisplay() {
if (document.all.standardConnection.style.display=="block") {
document.all.standardConnection.style.display="none"
document.all.customConnection.style.display="block"
document.all.changeView.innerHTML="(basic...)"

} else {
document.all.standardConnection.style.display="block"
document.all.customConnection.style.display="none"
document.all.changeView.innerHTML="(advanced...)"
}
}
function savevalues() {
var retval = new Array;

if (document.all.standardConnection.style.display=="block") {
if (document.all.lstCubes.value) {
retval = document.all.lstCubes.value.split("\\");
} else {
retval[0] = "";
retval[1] = "";
retval[2] = "";
}
} else {
retval[0] = document.all.txtServer.value;
retval[1] = document.all.txtDatabase.value;
retval[2] = document.all.txtCube.value;
}
window.returnValue = retval;
event.returnValue = false;
window.close();
}

</SCRIPT>

</HEAD>

<BODY ONLOAD="window_onload();">
<FORM Name="ConnectionInfo">
<span id=yadda style="FONT-SIZE: 12pt">&nbsp;Where is the data you want to analyze?</span>
<span id=changeView style="FONT-SIZE: 8pt" onclick='changeDisplay();' onmouseover="this.style.color='#ff0000'" onmouseout="this.style.color='#000000'">&nbsp;&nbsp;(advanced...)</span>
<HR>
<DIV id=standardConnection style="DISPLAY: block">
<DIV>&nbsp;Available Data Sources</DIV>
&nbsp;<SELECT id=lstCubes size=2 style="HEIGHT: 110px; LEFT: 10px; TOP: 67px; WIDTH: 320px"></SELECT>
<P></P></DIV>
<DIV></DIV>

<DIV id=customConnection style="DISPLAY: none">
<DIV>&nbsp;Server</DIV>
&nbsp;<INPUT name=txtServer style="WIDTH: 320px">
<DIV>&nbsp;Database</DIV>
&nbsp;<INPUT name=txtDatabase style="WIDTH: 320px">
<DIV>&nbsp;Cube</DIV>
&nbsp;<INPUT name=txtCube style="WIDTH: 320px">
</DIV>

<P>
<DIV>&nbsp;
<INPUT id=submit style="HEIGHT: 24px; LEFT: 10px; TOP: 201px; WIDTH: 52px" type=submit onclick="return savevalues();" value=OK>&nbsp;&nbsp;
<INPUT style="LEFT: 51px; TOP: 201px" type=reset onclick="window.close();" value=Cancel>
</DIV>

</FORM>
</BODY>
</HTML>

******************************************

Any ideas that might push me in the right direction, as I am really swimming around in circles when I look at the above.

Thanks
Troy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top