c# - Use a Web Service to Run SQL queries for a Windows Forms Client -


i need use windows application running on remote clients connect web service. web service access sql database verify users, , roles, , perform other tasks. using asp.net membership manage users , roles. have asp.net membership, , web service working on development machine. have windows client service reference works when access methods not access database, when try access service method access database method the user not associated trusted sql server connection. various permissions errors depending on try fix this, gist. don't want windows client need db permissions. want send user name, , password web service, web service wraps membership.validateuser(username, password)

can tell me how set up?

you should consider setting sql server use sql , windows authentication (mixed mode). it's running in windows authentication mode only. can take @ this link started.

it sounds like, way have designed, have set account each user. in experience it's best create specific sql account necessary permissions, , have each client use account. specify in connection string.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -