Areeb Quazi

Areeb Quazi

  • NA
  • 109
  • 0

ActiveX not invoking from asp.net

Jan 30 2013 2:27 AM
Hi

I have created Class library and exposed it as com using interface
I am able to invoke it from HTML page using javascript page
<script language="javascript">
 var x = new ActiveXObject("AxControls.HelloWorld"); 
 alert(x.GetText());  
</script>
but when same java script I am using in asp.net page then getting error
"Automation server can't create object" asp.net application is on same machine
still code is not working. Please suggest how can I remove this

Thanks