Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to take VS 2005 Windows App Build for Windows 7.0 64 Bit ?

Posted on 2010-09-16
15
Medium Priority
?
637 Views
Last Modified: 2013-11-29
VS 2005 / VB.Net

Deployment Tool is working on Windows Xp and other 32 Bit OS.

Actually Application is working well on any 32 bit OS ( Windows 7.0, Windows XP, 2003 Server etc .. )

Application is not working on Windows 7.0 64 Bit Processor ? How to take build for 64 Bit

I also checked this URL : http://blogs.msdn.com/b/deeptanshuv/archive/2006/04/11/573795.aspx

0
Comment
Question by:chokka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 7
15 Comments
 
LVL 13

Expert Comment

by:Jesus Rodriguez
ID: 33694573
Go to Project Properties, Compile, Advance Compile Options and in Target CPU change from Any to X64
0
 

Author Comment

by:chokka
ID: 33702830


I am  using MS Access DB as local database and using OLEDB Drivers.

On building the deployment application, i am facing an errror message as follows ..
oledb32.dll should be excluded because its source file 'c:\Program Files\Common Files\System\OleDB\oledb32.dll' is under Windows System File Protection
0
 
LVL 13

Expert Comment

by:Jesus Rodriguez
ID: 33702978
You can Exclude OLEDB32 from your installation project.  Since oledb32.dll is already installed, your program will be able to find and use it on the other computers.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Expert Comment

by:Jesus Rodriguez
ID: 33702986
Look at this post for more references and will be usefull for you
http://www.experts-exchange.com/Programming/Languages/.NET/Q_20794869.html
0
 

Author Comment

by:chokka
ID: 33703590


On removing oledb32.dll, my application is not able to connect or interact with MS Access DB

At present, i am deploying by removing oledb32.dll.

Application works well in any 32bit Operating System.

On deploying on 64 bit Windows 7.0 OS, application is not working.

Unfortunately, this application has to be deployed on Windows 7.0 64 But OS ( Atleast 5 Laptops )

0
 
LVL 13

Expert Comment

by:Jesus Rodriguez
ID: 33703617
I think that is because the location of the OLEDB dll is different on x64 Which one is the error that give the application??
0
 

Author Comment

by:chokka
ID: 33703628
I guess so,

Now to find Oledbd32.dll in Windows 7.0

Or how to copy and paste Oledb32.dll

or

Do we need to have something like Oledb64.dll for 64 bit processor ?
0
 
LVL 13

Expert Comment

by:Jesus Rodriguez
ID: 33703685
0
 

Author Comment

by:chokka
ID: 33703710
I hope you might be having an idea about GAC


How to copy a dll from GAC and place it on Windows 7.0 ?

or how to put a dll on Windows 7.0 Assembly GAC folder..

I am just thinking of copying a Dll from here and place it over there ..
0
 
LVL 13

Expert Comment

by:Jesus Rodriguez
ID: 33703740
0
 

Author Comment

by:chokka
ID: 33703812
Thats really a very good website which i look for ..

But i feel hard to understand .. my apologize.

So,

1)
We’ll need to  execute the command below from a command line or Start/Run :
Step 1: - On Windows 7.0 Command line
C:\Windows\syswow64\rundll32.exe "C:\Program Files (x86)\Common Files\System\Ole DB\oledb32.dll"

Whether this will work ?
0
 
LVL 13

Accepted Solution

by:
Jesus Rodriguez earned 2000 total points
ID: 33704486
Chechk on one of the link what it says

All the versions of MicroStation and ProjectWise up to and including V8i are 32 bit applications.  So when configuring your data sources, you need to be sure that you are using the 32 bit versions of the ODBC and OLEDB drivers.  Since these are 32 bit applications they will only see ODBC connections created on the 32 bit side of the operating system.  To setup DSN for 32 bit applications you must use the 32 bit ODBC Data Source Administrator tool.  On a 64 bit OS this tool can be found at:
 C:\Windows\SysWOW64\odbcad32.exe  
(Yes it is confusing but, SysWOW64 is where the 32 bit version exists.)
If you truly have a 64 bit application that requires an ODBC connection, the ODBC Data Source Administrator tool under Control Panel -> Administrative Tools -> Data Sources (ODBC) will be the one to use.  This tool can also be found at:
 C:\Windows\System32\odbcad32.exe

This is if you need to set it up a conection on the client's computer
0
 

Author Comment

by:chokka
ID: 33704625




Actual Error is

Microsoft.Jet.OLEDB 4.0 is not registered on Windows 7.0 64 Bit Operating System
Error.jpg
0
 
LVL 13

Expert Comment

by:Jesus Rodriguez
ID: 33705376
Did you compile the Application trying to say that will be x86 CPU Targeting and install in the X64 computer. This must work find. Try to do this
Go to Project Properties, Compile, Advance Compile Options and in Target CPU change from Any to X86

and install in the computer with X64. DO NOT PUT ON THE COMPILE OPTIONS ANY

0
 

Author Comment

by:chokka
ID: 33705399
I did that .. Interestingly OLEDB 4.0 or 12.0 is not Supported by 64 Bit OS
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question