Author: ddaurio | Posted on: 11/11/2008 1:27:29 PM | Views : 246

All I want to do is click a button and have it execute a stored procedure.  I get "Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."

I have googled all day and can't find a solution that works.  Can anyone help me?  Please!

 Code:

 Imports System.Configuration
Imports System.Data.SqlClient
Imports System.Data



Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim connStr Go to the complete details ...