B
Brian Roisentul
Hello,
I'm developing a web service in c#, and I can't make it access to a
remote sql database.
I entered the correct username and password into the connection string
of the web service, but when I try to access to the db remotely I get
the following exception:
System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.Security.SecurityException: Request for
the permission of type 'System.Data.SqlClient.SqlClientPermission,
System.Data, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' failed. [...]
Any help will be great!
Thanks,
Brian
I'm developing a web service in c#, and I can't make it access to a
remote sql database.
I entered the correct username and password into the connection string
of the web service, but when I try to access to the db remotely I get
the following exception:
System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.Security.SecurityException: Request for
the permission of type 'System.Data.SqlClient.SqlClientPermission,
System.Data, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' failed. [...]
Any help will be great!
Thanks,
Brian