I have a ASP.NEt page hosted in an IIS web server. This page just creates a connection string and open a connection. I want to pass client identity for the DB connection, as my DB stored procs are using current_user for verious tasks (typical client-server arch).
In development environment:when i run this page from visual studio on my dev machine everything works fine, DB connection is opened with my windows identity. And the value of current_user in stored procs is also myself. In the connection string i can see myself being authenticatred.
Problem: On deployement server, the above authentication happens for the server machine account and thus login for it fails. I somehow want the connection to be made using client credentials, so that the value of current_user in the SP's is always the user who has openbed the page.
Please help me with this and in case of any further questions, do let me know. Thanks in advance.