Focal Point
[SOLVED] Object Expected Error

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2067069906

September 19, 2011, 03:07 PM
MO Admin
[SOLVED] Object Expected Error
Let me first start off by saying we just upgraded our test server to 7.6.11 and are in the process of testing it.

Most things seem to be working fine, but we have at least one report that when we open up the HTML launch page and it attempts to populate data into the selection fields, it fails and there is an error at the bottom.

Here is a copy of the error message:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Mon, 19 Sep 2011 18:55:06 UTC


Message: Object expected
Line: 65
Char: 1
Code: 0
URI: http://drtcsrpt02:8080/ibi_app...&IBIMR_random=67065&

Has anyone run into this before or have any suggestions?

Thanks

This message has been edited. Last edited by: Kerry,


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
September 19, 2011, 06:00 PM
Waz
What is on or near line 65 ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

September 20, 2011, 04:41 PM
MO Admin
Looks like it is the query for one of the selection fields:

  
<FONT style="FONT: bold small-caps 10pt/12pt sans-serif">
[b]Federal / State:[/b] </FONT></TD>

<SELECT id=combobox4 style="FONT-SIZE: 9pt; FONT-FAMILY: sans-serif" onfocus=refSic[); name=FED_NAME datasource="app/1120_list_options.fex" datatype="1" sourcetype="typeFex" IBIMR_domain="business/business.htm" IBIMR_folder="#businesskehz" ibiapp_app chainnumber="0" inchainindex="1" cacheruntimedata="1" parentid="combobox6" anchorpt="topleft" newchainnumber="0"></SELECT> 


There is also the same error on line 85:

 
<SELECT id=combobox3 style="FONT-SIZE: 9pt; FONT-FAMILY: sans-serif" tabIndex=12 size=1 name=IBIMR_defer datasource datatype="0" sourcetype="typeMaster" accept="0" operation="NONE" datafieldtype="CHAR" requiredfield="74873136" addalloption="0" defaultlocation="29,0,51,60">
<OPTION value=NO selected displaytext="No">No</OPTION>
<OPTION value=YES displaytext="Yes">Yes</OPTION></SELECT> </TD>
<TD colSpan=2>
<INPUT language=java_script id=button1 style="BORDER-RIGHT: #363 1px solid; BORDER-TOP: #696 1px solid; FILTER: progid:DXImageTransform.Microsoft.Gradient
      (GradientType=0,StartColorStr='#ffffffff',EndColorStr='#ffeeddaa'); FONT: bold small-caps 10pt/12pt sans-serif; BORDER-LEFT: #696 1px solid; COLOR: #050; BORDER-BOTTOM: #363 1px solid; BACKGROUND-COLOR: #fed" tabIndex=2 type=submit value="Run Report" name=ITEM1>
<INPUT language=java_script id=button1 style="BORDER-RIGHT: #363 1px solid; BORDER-TOP: #696 1px solid; FILTER: progid:DXImageTransform.Microsoft.Gradient
      (GradientType=0,StartColorStr='#ffffffff',EndColorStr='#ffeeddaa'); FONT: bold small-caps 10pt/12pt sans-serif; BORDER-LEFT: #696 1px solid; COLOR: #050; BORDER-BOTTOM: #363 1px solid; BACKGROUND-COLOR: #fed" tabIndex=3 type=reset value=Reset name=reset1> 



Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
September 20, 2011, 06:05 PM
Dan Satchell
My experience is that this type of error message refers to a JavaScript error in one of the JavaScript functions in the heading section at the top of the HTML code. Since I find it almost impossible to determine exactly where the error is occuring based on the error message, I must comment out (//) one function at a time to determine which function and line number is at fault. Use of the alert function to display variable values is often useful for troubleshooting the exact cause of the error.


WebFOCUS 7.7.05
September 21, 2011, 10:23 AM
MO Admin
I figured out the problem with this particular report.

I guess it wasn't talking nicely with the new Teradata 13.10 and I had to put SET SYNONYM=BASIC in the edasprof.prf


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML