When we run an aspx page with client side scripting on IIS, we get an ActiveX control error?
Posted
by Ananya
on Stack Overflow
See other posts from Stack Overflow
or by Ananya
Published on 2010-06-11T06:17:49Z
Indexed on
2010/06/11
6:22 UTC
Read the original article
Hit count: 213
ASP.NET
we have implemented the code for installing the messenger theme pack using the client side scripting in a web page. We are creating an object of the messenger using the classid .Using this object we call the installcontent() method and try to install the messenger theme pack hosted at following path: http://www.messengerexpressions.com/assets/worldCup/cabs/en-gb.cab
Our code initially checks whether the messenger is installed on the user machine or not. Then it checks for the user login ,once the messenger is installed on the machine. And if the user is signed-in , the messenger theme pack is installed. The code currently when hosted on IIS checks the “Sign-In of the user” but when it tries to install the theme pack an error is thrown “An ActiveX control on this page is unsafe.Your current security settings prohibit running unsafe control on this page.As a result,this page may not be display as intended.”
Please let us know if any setting is required on IIS for running this piece of codeor anything that we are missing out.
© Stack Overflow or respective owner