I have a problem with our Windows 7 systems. When users login they run a simple application that connects to a database (using a SQLOLEDB connection string) and writes a couple of entries. This works fine for all users on our XP machines. The App was written
in VB6 and its essential we get it working or our Windows 7 deployment simply cannot go ahead.
Problem is, on the Windows 7 machines all users get the generic 'SQL Server does not exist or access denied' message when this application is run. It will only run successfully as an admin user.
I've tried everything I can think of, including disabling the firewall completely The users can connect to the same database using a UDL file so I know the connection details and connectivity are correct.
For info it uses the Active Data Access Objects 2.5 Library and the sql connection string uses the 'Provider=SQLOLEDB' parameter.
I've also tried update SQL Server Express 2005 to SP3 and it makes no difference. I then upgraded to SQL Server Express 2008 and still no difference. I installed the SQL management tools onto the machine and a non-admin user can sucessfully connect and browse
the database using SQL Server credentials.
So its not a driver or connectivity issue - but what else can I check to see why users get this error every time the app is run?
View Complete Post