S K

S K

  • NA
  • 9
  • 0

ActiveX Control

Jan 7 2008 8:13 AM

Hi All

I have created an Activex control in C#.net. In that ActiveX Control I have used one windows Usercontrol. I tried to access the database by clicking a button on that UserControl. But when I was tested it with a webpage I am getting the following error

 

System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

 

I have used Webservice for accessing the data. If any one have idea..pls help me to solve this issue. Thanks in advance

Sibin


Answers (3)