Как установить имя элемента управления ActiveX
У меня есть элемент управления ActiveX, и я подписал его с тестовым сертификатом, все это работает нормально, но проблема в том, что мой Internet Explorer показывает ужасное сообщение
Веб-сайт хочет запустить следующую надстройку: «Недоступно» из «Имя элемента управления недоступно». Если вы доверяете веб-сайту и надстройке и хотите разрешить его запуск, нажмите здесь ....
Почему имя элемента управления недоступно? Я сделал этот элемент управления ActiveX в C # и добавил атрибут ComVisible в мой AssemblyInfo.cs, вот код
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security.Permissions;
using System.Runtime.InteropServices;
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: System.Runtime.InteropServices.ComVisible(true)]
[assembly: AssemblyTitle("My ActiveX Control")]
[assembly: AssemblyDescription("My ActiveX Control Description")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("CompanyXYZ")]
[assembly: AssemblyProduct("My ActiveX Control")]
[assembly: AssemblyCopyright("2009")]
[assembly: AssemblyTrademark("CompanyXYZ")]
[assembly: AssemblyCulture("")]
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.1")]
Пожалуйста, помогите мне?