Hi, I have implemented c# applet programming which uses database connectivity. Except the database connectivity operation, remaining functionality is working fine is Asp.net page. But the database activity is showing the following error message: Request for the permission of type System.Data.SqlClientPermission, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. Hey someone, please reply me why this error is thrown. For information : C# applet can be implemented as the WindowsControl.dll hosted in the webserver. This dll is called in the aspx page using the <Object tag> in Html view of aspx page. It works similar to the Java Applet. In my application I can use it successfully as like as Java applet ie. Windows programming in the Aspx page. But only the Database connectivity is throwing the above mentioned error. ********************** Please reply me soon. This is very URGENT. Suman Sajjana, SE | Ecrux | Hyd.
|