Problem Connecting Database using Windows Usercontrol

I have a project Developed in Windows(windows Control library) which read the data from the access database to a text box on button click.

I use the dll created from a windows application to my Web based project developed in Asp.net

I use Object tag in aspx page to call the dll to display the content of dll in my aspx page.

Applets gets loaded but when i click the button inside the applet to read the data from database it gives me an error message

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed


Does anyone have any idea about it.? Please Help ...
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories