Problem Accessing OCX Control Through javascript!

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Sep 2007
Posts: 1
Reputation: thescriptuser is an unknown quantity at this point 
Solved Threads: 0
thescriptuser thescriptuser is offline Offline
Newbie Poster

Problem Accessing OCX Control Through javascript!

 
0
  #1
Sep 22nd, 2007
Hi,
i create an ocx control in vb.6, it's working well but having some problems.
when i create ActiveXObject("Control.UserControl1") through javascript of my control in .aspx page
the error occurs 'Automation Server can't create object.'.

if i call this control and create object in simple html page which placed at other location instead of wwwroot then it works fine.

if i deploy my .net web project on webserver then i can't create object of my control.

how it possible.

help...

thanks in advance
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Problem Accessing OCX Control Through javascript!

 
0
  #2
Sep 22nd, 2007
Possibilities:

1. The file is not placed where you are looking for it. Check your reference.

2. The file permissions are not set for public access.

3. Chek yer speling. You might have a case conflict (upper vs lower).

4. The browser is set to not use that combination for security reasons.

5. A firewall is blocking it.

6. The ISP does not allow that combination.
Last edited by MidiMagic; Sep 22nd, 2007 at 9:48 pm.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC