473,379 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

javascript ActiveX help

I have the following code in a jsp page. I wrote a c#dll added it to a
windows cabinet archive then signed the archive. The dll is also signed.
When I try to run my program I get the following error that the object does
not support this property or method...If I use the nee ActiveXObject then I
get automation server cannot create object when I run from another client
pc..but if i run it from my local box then it works...The cab file is not
being downloaded into the browser and I have made sure all the setiings for
my intranet and trusted site for activex has been set to enable. Any ideas
why this would be failing with the two messages mentioned above?

thanks
<OBJECT
ID="RisPatQueryToolX" name="RisPatQueryToolX" width="0" height="0"
CLASSID="CLSID:8057DA46-B9F5-4806-BBBB-C209AA92665A"
CODEBASE=" this is the http location for the cab file which contains the
dll ......... /dqt/ToolX.cab">
</OBJECT>
<html>

<head>

<script type="text/javascript">
function doClick()
{

var str = RisPatQueryToolX.test();
alert("this is a jScript test");
alert(str);
}

</script>
<title>
Test Window
</title>
</head>
<body>
<h1>Test</h1>
<input type="submit" value="submit" onClick="doClick();"/>
</body>
</html>
Feb 10 '06 #1
2 1500
VK

Lans Redmond wrote:
I have the following code in a jsp page. I wrote a c#dll added it to a
windows cabinet archive then signed the archive. The dll is also signed.
When I try to run my program I get the following error that the object does
not support this property or method...If I use the nee ActiveXObject then I
get automation server cannot create object when I run from another client
pc..but if i run it from my local box then it works...The cab file is not
being downloaded into the browser and I have made sure all the setiings for
my intranet and trusted site for activex has been set to enable. Any ideas
why this would be failing with the two messages mentioned above?

thanks
<OBJECT
ID="RisPatQueryToolX" name="RisPatQueryToolX" width="0" height="0"
CLASSID="CLSID:8057DA46-B9F5-4806-BBBB-C209AA92665A"
CODEBASE=" this is the http location for the cab file which contains the
dll ......... /dqt/ToolX.cab">
</OBJECT>
<html>

<head>

<script type="text/javascript">
function doClick()
{

var str = RisPatQueryToolX.test();
alert("this is a jScript test");
alert(str);
}

</script>
<title>
Test Window
</title>
</head>
<body>
<h1>Test</h1>
<input type="submit" value="submit" onClick="doClick();"/>
</body>
</html>


What signing certificate did you use? Is self-issued then it has to be
installed on all machines.

Feb 10 '06 #2
Verisign
"VK" <sc**********@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...

Lans Redmond wrote:
I have the following code in a jsp page. I wrote a c#dll added it to a
windows cabinet archive then signed the archive. The dll is also signed.
When I try to run my program I get the following error that the object
does
not support this property or method...If I use the nee ActiveXObject then
I
get automation server cannot create object when I run from another client
pc..but if i run it from my local box then it works...The cab file is not
being downloaded into the browser and I have made sure all the setiings
for
my intranet and trusted site for activex has been set to enable. Any
ideas
why this would be failing with the two messages mentioned above?

thanks
<OBJECT
ID="RisPatQueryToolX" name="RisPatQueryToolX" width="0" height="0"
CLASSID="CLSID:8057DA46-B9F5-4806-BBBB-C209AA92665A"
CODEBASE=" this is the http location for the cab file which contains
the
dll ......... /dqt/ToolX.cab">
</OBJECT>
<html>

<head>

<script type="text/javascript">
function doClick()
{

var str = RisPatQueryToolX.test();
alert("this is a jScript test");
alert(str);
}

</script>
<title>
Test Window
</title>
</head>
<body>
<h1>Test</h1>
<input type="submit" value="submit" onClick="doClick();"/>
</body>
</html>


What signing certificate did you use? Is self-issued then it has to be
installed on all machines.

Feb 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) ...
5
by: mikeyjudkins | last post by:
Ive been banging my head on the wall for hours with this one, hopefully someone will know what Im doing wrong here :\ The Goal: I have an xml file that is generated on the fly via JSP which I...
6
by: Sergio Otoya | last post by:
Hi all, Is there any way of copying a file using javascript, not using the Filesystemobject (ActiveX). I need this to run in Windows and MACS. Any help would be greatly appreciated. Thanks...
4
by: Guillaume CABANAC | last post by:
Hi everybody, Does anybody know how to access a remote database (say Oracle) from JavaScript code (within a Firefox Extension) ? I know ADO via ActiveX in the IE world and think a similar...
8
by: chrisdude911 | last post by:
how do i add video into a javascript web page with my own custom buttons?
1
by: kret | last post by:
Hi, this is my first post so first of all I would like to say hello :) Now getting to my problem. In my job I have to create an ActiveX control in .NET 1.1 that can be lunched from IE....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.