title: IE message Allow blocked content:- IE restricted this page from running scripts or ActiveX controls? Why?
body: <p>We have developed an ActiveX object that is called via JavaScript in browser..</p>
  
  <p>We have implemented IObjectSafety and also we have registered this dll using regasm mydll.dll /tlb /codebase</p>
  
  <p>When we open this page locally we get the message as:-</p>
  
  <p>IE restricted this page from running scripts or ActiveX controls? We then have to choose Allow blocked content for it to run..</p>
  
  <p>However, there is no such msg when the page in run from the server...</p>
  
  <p>Why is this message coming up locally? What is the solution to fix this from the code of the ActiveX object?</p>
  
  <p>We have signed the ActiveX dll using VS2010 snk file...
  We have implemented IObjectSafety for the activex dll...
  We have registered this dll using regasm mydll.dll /tlb /codebase
  If I had not implemented the above 2 steps then, would I also have had got the error when opening the page in IE locally as well as on server?</p>