V
Viorel Ghilas
Hi all
I have an ASP.NET application that uses impersonate account to connect to
DB, this works good. But in some cases I need to put some methods in
ThreadPool. The methods from ThreadPool should do some foreground operations
with DB. But .NET throws me the sql exception "Login failed for user
'(null)'. Reason: Not associated with a trusted SQL Server connection.". The
thread from pool in execution proccess has an ASPNET account different from
my impersonated account. How can I resolve this problem, do you have any
suggestions?
with best regards
Viorel
I have an ASP.NET application that uses impersonate account to connect to
DB, this works good. But in some cases I need to put some methods in
ThreadPool. The methods from ThreadPool should do some foreground operations
with DB. But .NET throws me the sql exception "Login failed for user
'(null)'. Reason: Not associated with a trusted SQL Server connection.". The
thread from pool in execution proccess has an ASPNET account different from
my impersonated account. How can I resolve this problem, do you have any
suggestions?
with best regards
Viorel