• Hi Sinn

    I have no idea about C# but when I did this in vb.net I had to play with security issues:

    Dim oPerm As New Data.SqlClient.SqlClientPermission(System.Security.Permissions.PermissionState.Unrestricted)

    oPerm.Assert()

    May be worth you checking this out?

    Cheers

    Steve