Are you using Windows or SQL Server authentication in app? What is default database for the login? What database are you login to?
>
>Every so often when I start my app (VFP9) that uses SQL 2005, I get the message:
>
>Connection failed:
>SQL State: '08004'
>SQL Server Error: 4060
>Server rejected the connection; Access to selected database has been denied
>
>
>Then I have to restart my computer and 9 out of 10 times things start working. What causing this problem of database access being denied?
>
>TIA
--sb--