Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I've written a small MS Access 2007 program having links with the tables of SQL Server 2005 Express Edition. The problem is it worked out in development environment. But it's giving error during production environment.

SQL State '08004'

Sql Server Error: '4060'

Server rejected the connection; Access to selected database has been denied.

How to fix this error?</pre>
Posted

1 solution

Like the error says, its an Access Denial.

Double check that the credentials your application is using has privilege to the database.
 
Share this answer
 

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