I'm build the web part using vb.net to connect to MSSQL server. But this error occured :
"Request for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. "

I don't have idea to solve it. Anyone can help me?

Thanks.