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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.