Re: How to avoid connection popup?



"Hallgeir" <hallremovegeir@xxxxxxxxxxxxx> wrote in message
news:sjgle.1078$qE.232841@xxxxxxxxxxxxxxxxxx
>I have an access application with linked odbc tables to a "ms sql server
>2000" database.
> Everytime we start the access app and try to use it the connection dialog
> pops up an the users have to type in user name and password. When this is
> done the access app workes fine until the next time we start it.
> My questions is: Is there a way to read the necessary link information
> from a given linked tabel and then use this information to refresh the
> connection in a way so that the users don't have to see and relate to the
> connection popup? And can someone give example or hints on how to write
> code to perform such a task?
>
> Thanks!
> --
> mvh
> Hallgeir

The best way would be to use Wiindows integrated security - this is where
you have SQL logins which correspond to Windows user accounts. Since you
have already logged on to Windows, you do not need to log on again to SQL
Server. Ask the administrator to set this up for you.
If this is not possible, then there are other ways but these may pose a
security risk as you basically want to by-pass the login mechanism. If you
are not worried about this then you can save the password with the linked
table when you create the links.




.



Relevant Pages

  • Re: SQL Resets
    ... If it were SQL that was falling short, ... The default backlog for SQL Server is 5. ... System.InvalidOperationException: Internal connection fatal error. ... From time to time, under heavy loads, we are getting resets at ...
    (microsoft.public.sqlserver.connect)
  • Re: provider: Named Pipes Provider, error: 40 - Could not open a c
    ... I have tried connecting to Sql Management Studio and it worked pretty much ... An error has occurred while establishing a connection to the server. ... under the default settings SQL Server does not allow remote connections. ... I have a sql server install / database on the web server. ...
    (microsoft.public.sqlserver.connect)
  • RE: Logging in in background
    ... wold take all kinds of modifictions as I'd need to be checking that each SQL ... my database and all have connection strings associated with them. ... I suspect that there is also an issue on the SQL Server side as I keep ...
    (microsoft.public.access.modulesdaovba)
  • .Net framework error
    ... Unfortunately the information is very limited and usually the report just ... The application is a front end for a SQL Server 2005 Express database, ... connection string in the app config file. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: connect to named instance w/ non-default port
    ... SQL Native Client Configuration. ... An error has occurred while establishing a connection to the server. ... under the default settings SQL Server does not allow remote connections. ...
    (microsoft.public.sqlserver.connect)

Quantcast