473,508 Members | 2,038 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cannot create Command Object in Active Server Page

Has anyone run into this problem? An ASP page creates a command object
that calls a stored procedure. This was working one day; next, it
stopped. I am not in control of the various patches that get applied
to this machine, so yes, it is possible that new MS code was applied
to it. The error is a 429, 'Cannot create ActiveX Component'. I can
get the code to work if I turn on the IE option 'Initialize and script
ActiveX controls not marked as safe.' For various reasons, I don't
wish to use this 'fix'.

I can call the stored procedure in a .vbs file (run as a
non-interactive job) and it works successfully.

Yes, I've tried technet. If anyone has information, I'd appreciate it.

Thanks.
Jul 19 '05 #1
2 2653
> stopped. I am not in control of the various patches that get applied
to this machine, so yes, it is possible that new MS code was applied
to it. The error is a 429, 'Cannot create ActiveX Component'. I can
get the code to work if I turn on the IE option 'Initialize and script
ActiveX controls not marked as safe.'


Sounds like you are trying to create the command object in client-side
script, not server-side.
Jul 19 '05 #2
All we can do is guess without seeing code. The IE "Initialize ... " option
should not affect server-side code, so it appears you are attempting to do
this in client-side code? Is that correct? If so, this is the wrong
newsgroup.

Bob Barrows

Cathy Thomas wrote:
Has anyone run into this problem? An ASP page creates a command object
that calls a stored procedure. This was working one day; next, it
stopped. I am not in control of the various patches that get applied
to this machine, so yes, it is possible that new MS code was applied
to it. The error is a 429, 'Cannot create ActiveX Component'. I can
get the code to work if I turn on the IE option 'Initialize and script
ActiveX controls not marked as safe.' For various reasons, I don't
wish to use this 'fix'.

I can call the stored procedure in a .vbs file (run as a
non-interactive job) and it works successfully.

Yes, I've tried technet. If anyone has information, I'd appreciate it.

Thanks.

Jul 19 '05 #3

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

Similar topics

6
10310
by: Christopher Brandsdal | last post by:
Hi! I get an error when I run my code Is there any other way to get te information from my form? Heres the error I get and the code beneath. Line 120 is market with ''''''''''''Line...
4
11573
by: Gerhard Pretorius | last post by:
ON Win 2003 IIS6, Since yesterday, (12 Aug 2003) for some strange reason, (after installing WindowsServer2003-KB823980-x86-ENU.exe) I cannot pass the Request object to to VB COM DLL. I have...
2
2133
by: Jay Chan | last post by:
We have just installed a SQL Server 2000 (SP 3A) onto a computer that has Windows-2003 Server on it. Now, we cannot get access to that database server from other computers. Seem like this may be an...
8
5451
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
22
5556
by: Smutny30 | last post by:
Hello, I am preparing a database that will store 10 n * GBs - 100 n * GBs of data. I calculated to have 1,2 GB of bufferpools. I run the DB2 v. 8.2.1 alone on 4 GB box. I obtain : ...
8
2228
by: ASP Yaboh | last post by:
I have an ArrayList of data gathered from a database. I want to create a web page from this data by creating a <table>, each cell in each row displays the appropriate data. One of those cells in...
4
3380
by: qualitynice | last post by:
HELP :-)... I'm creating an embedded activex object in an asp.net page using the HtmlGenericControl class. I'm doing this because when I tried to embed it directly in the aspx page, it stopped...
5
4858
by: Michael | last post by:
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The...
9
18177
by: Anyhoo | last post by:
Hello: We have an ActiveX DLL that we created in C++. We are calling it from vbscript at the top of an .asp page using the "CreateObject" command. The asp page interacts with the ActiveX DLL in...
0
7226
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7125
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7328
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7049
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7499
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.