StaRKeY
starkey at wanadoo.nl
Sat Sep 18 04:05:04 CDT 2004
Hi Christopher, Have you also given an Applicationrole some thought? This has the advantage over an AppUser that you are still able recognise the true connected user in case you'd need this plus it's pretty practical since no users have to be given any rights but being able to connect to the specific SQL database. By giving the applicationrole all the nescessary rights you achive the same goal as by using a single user account but more flexible. I'm using it at this moment in an adp using ADO for all the data manipulation/views and it's working like a charme.. Nice touch is that the 'access datasheet look & feel' can be kept while all forms/sheets are unbound! Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Christopher Hawkins Verzonden: vrijdag 17 september 2004 20:06 Aan: accessd at databaseadvisors.com Onderwerp: [AccessD] Connecting to SQL from Access w/a single login? This is driving me nuts. I know I did this a few years ago, but right now I'm totally stumped. A client of mine wrote himself an Access app for use around his office. Eventually the back-end swelled up to 500MB and problems ensued, so they decided to go to SQL Server. He upsized the database himself and then called me in to help get the Access front-end working against SQL Server. Here's my current issue; I want all the Access clients to use the same SQL Server login rather than having a unique SQL Server login for each domain account. I went ahead and created an AppUser login and gave it the appropriate permissions to the application database. I have the AppUser login and password set in the ODBC DSN. But whenever a user tries to connect, an error message appears stating that his domain login was not recognized by the SQL Server. It's not even paying attention to the AppUser info. I'm surfing BOL right now, but haven't yet figured out what I missed. And I know I'm missing something. Any suggestions? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus <http://www.avast.com> : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0438-3, 17-09-2004 Getest op: 18-9-2004 11:05:04 avast! auteursrecht (c) 2000-2004 ALWIL Software.