IIS 7 , 2008 R2 and SQL 2008

M

Marek G.

Hi all,
sorry for my bad English . I have questation about impersonatilion . I have
asp.net which remotely connect to SQL 2008 . I want use the credentional
from client which open asp.net page , which connect to sql server:) . But
after I try it , the login to the sql serveris anonymous , why ????
thanx
marek
 
A

Alexey Smirnov

Hi all,
sorry for my bad English . I have questation about impersonatilion . I have
asp.net which remotely connect to SQL 2008 . I want use the credentional
from client which open asp.net page , which connect to sql server:) . But
after I try it , the login to the sql serveris anonymous , why ????
thanx
marek

Hi Marek,

it sounds like you need to use impersonation.
Take a look the following link on MSDN

How To: Connect to SQL Server Using Windows Authentication in ASP.NET
2.0
http://msdn.microsoft.com/en-us/library/ms998292.aspx

Hope this helps
 
M

Marek

I have integrated logon to iis and asp.net server , and enable asp.net
impersonate :-( .... Have another idea ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top