Click here to Skip to main content
15,885,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I use ms access as database to store data..When I use my software to save data on 32-bit PC,all data are saved successfully without any error..But when I use the same software on 64-bit PC,it throws below error"
System.Runtime.Interopservices.ComException(0x80040E07) Data type mismatch in criteria expression at ADODB.Connectionclass.execute(string.command text.object & RecordsAffected.Int32 options) at cmdSave_Click

I dont know why its creating problem on 64-bit...Please help me as soon as possible..I need to answer my clients asap..Thanx in advance..
Posted

1 solution

Hi Rachna0309

Open your application in VS or VB which ever you use, then click 'Project', click 'Properties' and then click 'Compile' then click 'Advanced Compile Options'
and make sure the target cpu is set to X86, If that still doesn't work I would suggest
following this link and downloading both the packadges and add it as a pre-requisite to your application install or install the corresponding packadge on the machine that you want to run the application on.

http://www.microsoft.com/en-in/download/details.aspx?id=13255[
title="New Window">^
]

Please let me know if this worked for you
 
Share this answer
 
v2

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