Windows 7 - Receiving "Data Access Error # 525" for DAO Data Control in VB

Asked By Arun D on 22-Nov-11 09:43 PM
Hi,

Receiving run time error "Data Access Error # 525" for DAO Data Control in windows 7 but it is working without any error on Windows XP. 

Whenever Refresh in Data control executes, i'm encountering the above issue.

Please help me to solve this issue.


Web Star replied to Arun D on 22-Nov-11 10:43 PM
It seems you window 7 machine having missing supoorted dll.
see this link
http://objectmix.com/ado-dao-rdo-rds/120990-525-data-access-error-german-version-windows.html
Suchit shah replied to Arun D on 23-Nov-11 12:10 AM
How do you created the mdb file? Say the version of the mdb file...
Probably you need to install the corresponding MDAC

To resolve this problem, register MSBind.dll again. To do this, you can use the Regsvr32.exe tool or you can add the reference to your Visual Basic 6.0 project so that the DLL is registered automatically. To add the reference to your project, follow these steps:
  1. In Visual Studio .NET or in Visual Studio 2005, open your Visual Basic project.
  2. On the Project menu, click Add References.
  3. Click Browse, and then locate the MSBind.DLL assembly in the system32 folder.
  4. Click MSBind.DLL, and then click Open.

    Note In Visual Studio 2005, you do not have to click Open.
  5. Click OK to apply the references to the project.
  6. On the Run menu, click Start.
Arun D replied to Suchit shah on 23-Nov-11 02:27 AM
I need to connect with the SQL server database not with Access Database