Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Cannot create Command Object in Active Server Page

Reply
Thread Tools

Cannot create Command Object in Active Server Page

 
 
Cathy Thomas
Guest
Posts: n/a
 
      09-08-2003
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.
 
Reply With Quote
 
 
 
 
Aaron Bertrand - MVP
Guest
Posts: n/a
 
      09-08-2003
> 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.


 
Reply With Quote
 
 
 
 
Bob Barrows
Guest
Posts: n/a
 
      09-08-2003
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.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Active X cannot create this object gellison General Computer Support 0 08-09-2007 05:42 PM
Rolling upgrade of Active-active cluster for SQL server 2000 =?Utf-8?B?U3VzaGls?= MCSE 1 02-16-2006 05:57 AM
Object creation - Do we really need to create a parent for a derieved object - can't the base object just point to an already created base object jon wayne C++ 9 09-22-2005 02:06 AM
distutil: how do a post-install command like create a soft link? ..or where add command to setup.py?? Christian Seberino Python 0 10-21-2003 10:29 PM
ASP ERROR: error '8002801d' -> Library not registered. : my Active Server Pages are not so active. carlos seramos ASP General 2 08-01-2003 02:57 AM



Advertisments