Object Doesn't Support This Property or Method

S

Shon

I have both OWC 10 & 11 installed on my PC. OWC has been working fine
using calls to OWC 10 asp pages.

However, for some strange reason, I'm now getting the message "Object
Doesn't Support This Property or Method: 'Pivot.ActiveView'" whenever
I try any of my owc pages. Accessing these same pages from other PCs
work correctly.

I've uninstalled/reinstalled both versions of OWC along with Office
2003 and still get the same error message. I'm not sure what I've done
to break it on my PC, but I'm at a loss on what to do next.

Here is some of the code that is causing the problem.

<OBJECT CLASSID="clsid:0002E552-0000-0000-C000-000000000046"
id="Pivot" style="width:95%;height:400"></OBJECT>
<br>

<SCRIPT Language = 'VBScript'>

Function Window_OnLoad()
'Build the Pivot Table
Pivot.ActiveView.TitleBar.Visible = True
Pivot.ActiveView.TitleBar.Caption = "iWire Report"
Pivot.ActiveView.TitleBar.Font.Name = "Tahoma"
Pivot.AllowDetails = False
Pivot.AllowPropertyToolbox = True
Pivot.DisplayToolbar = true

Pivot.ConnectionString = "Provider=SQLOLEDB.1;Data
Source=SQLServer;Initial Catalog=iWire;user
id=User;password=password;Persist Security Info=True;Client Cache
Size=25;Auto Synch Period=10000;"

Pivot.CommandText = "sp_iWire_Report"

End Function
</script>
Thanks,

Shon
 
S

sbarrier

No, I haven't tried that, but it has worked from about 7 other machines as
is and is was working from my PC previously.

Thanks,

Shon

Alvin Bruney said:
have you tried fully qualifying the object as in document.all.Pivot?

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
Shon said:
I have both OWC 10 & 11 installed on my PC. OWC has been working fine
using calls to OWC 10 asp pages.

However, for some strange reason, I'm now getting the message "Object
Doesn't Support This Property or Method: 'Pivot.ActiveView'" whenever
I try any of my owc pages. Accessing these same pages from other PCs
work correctly.

I've uninstalled/reinstalled both versions of OWC along with Office
2003 and still get the same error message. I'm not sure what I've done
to break it on my PC, but I'm at a loss on what to do next.

Here is some of the code that is causing the problem.

<OBJECT CLASSID="clsid:0002E552-0000-0000-C000-000000000046"
id="Pivot" style="width:95%;height:400"></OBJECT>
<br>

<SCRIPT Language = 'VBScript'>

Function Window_OnLoad()
'Build the Pivot Table
Pivot.ActiveView.TitleBar.Visible = True
Pivot.ActiveView.TitleBar.Caption = "iWire Report"
Pivot.ActiveView.TitleBar.Font.Name = "Tahoma"
Pivot.AllowDetails = False
Pivot.AllowPropertyToolbox = True
Pivot.DisplayToolbar = true

Pivot.ConnectionString = "Provider=SQLOLEDB.1;Data
Source=SQLServer;Initial Catalog=iWire;user
id=User;password=password;Persist Security Info=True;Client Cache
Size=25;Auto Synch Period=10000;"

Pivot.CommandText = "sp_iWire_Report"

End Function
</script>
Thanks,

Shon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top