Click here to Skip to main content
15,884,177 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have an application that uses Domain Authentication for access, Domain Roles allow/disallow access to parts of the application. The application also connects to a database. In production it does this through a trusted connection, the App Pool is set to run as domain account specifically used for the db connection.

Is there a way when I debug in Visual Studio to do the equivalent of setting the "app pool" to a different domain account?

Security restrictions prevent me from any of the following work arounds:

1. Give the DatabaseDomain account access to the application
2. Give my domaina account (which VS runs as) access to the database
3. Using a SQL Account for debugging purposes

I've Googled this (and searched CodeProject) and can't find the solution.

Any help is appreciated.

Andrew
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900