Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
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 19-Mar-13 0:51am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 275
1 OriginalGriff 230
2 BillWoodruff 173
3 CPallini 155
4 Kamal Rocks 144
0 OriginalGriff 5,655
1 DamithSL 4,506
2 Maciej Los 3,997
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 21 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100