ajafry
8/5/2004 9:55:00 PM
Hi,
Is it possible for an IIS hosted remote object to connect to a SQL
server database using a trusted connection(SSPI?).
When my remote objects try initiating a connection I get the following
exception:
-------Begin Exception text---------
[.Net SqlClient Data Provider - System.Data.SqlClient.SqlException]
Login failed for user '(null)'. Reason: Not associated with a
trusted SQL Server connection.
at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
-------End Exception text---------
How can I associate a remote object with a trusted account? What
context are the remote objects running under?
The virtual directory where my remote object is hosted only has
Anonymous access checked.
How can I get this to work? I do not want to pass a username/password
on every request to the remote object.
If setting clear text password will solve my problem how can I do that
while making a remote request?
Thanks for your help.
Ali