473,394 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to run a 32 bit ASP-Access application in Windows Server 2008 64 bit

33
Hello,

I have developed an application in ASP and MS-Access 2010 as back end. It works fine in the localhost in Windows 7. But when I installed it in IIS7 in a Windows Server 2008 64 bit server, only the first html page is displaying. It gives the following error message on calling the ASP page.

ADODB.Connection error '800a0e7a'
Provider cannot be found. It may not be properly installed.
/transaction/deposit.asp, line 30

I have used the following connection string:
Expand|Select|Wrap|Line Numbers
  1. Connectstr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\inetpub\wwwroot\transaction\dep.accdb;Persist Security Info=False;"
  2.  
  3. cn.open connectstr
Is this an issue of 32bit - 64bit? Another .Net application is working in the same server. Other simple ASP files also works fine in it.

Can anyone help me in solving this issue? What should be done to run a 32 bit application in it? Will it affect the other .Net application which is already running?

Thanks in advance

Matsam
Jul 18 '13 #1
1 2621
zmbd
5,501 Expert Mod 4TB
First this is out the realm of my expertise; thus, all can offer is some basics. I’m sure that you’ve probably already tried these things; however, sometimes going back and checking that the plug is actually in the socket and that the cat hasn’t knocked it lose is the best place to start.
:-)

So, let's start with the basics:
(please actually go to the following link too as there is more information there:
Why do I get 80040200 / 80040514 / 800A0E7A errors?
{/...\}
Access

This is often caused by attempting to connect to an Access database using OLE-DB (e.g. Provider=Microsoft.Jet.OLEDB.4.0;) without having JET components installed. A major source of this problem is that Microsoft stopped shipping the JET files with MDAC, starting at 2.6 (see KB #271908), so many machines set up starting at that baseline or later do not have the necessary JET runtime files.

See Article #2342 for information on getting the most recent version of the JET provider.

Other problems with Access include fat-fingering the connection string, or mixing up Access and JET parameters, e.g:

Expand|Select|Wrap|Line Numbers
  1. Driver={Micrsoft Axess Diver (*.mdb)};DBQ=c:\file.mdb 
  2. (several misspelled words) 
  3.  
  4. Driver={Microsoft Access Driver (*.mdb)};Data Source=c:\file.mdb 
  5. (DBQ is the parameter for database location with the Access driver) 
  6.  
  7. Provider=Microsoft.Jet.OLEDB.4.0;DBQ=c:\file.mdb 
  8. (Data Source is the parameter for database location with the JET provider) 
See Article #2126 for sample Access connection strings to help model your own.
{...}
This seems a little old as the connection strings for the newer versions of Access use the ACE engine so the connection string should be something like (note: I am using this to connect to a text file; however the general concept should be the same, just change the extended properties):
Expand|Select|Wrap|Line Numbers
  1. zstrcn = "Provider=Microsoft.ACE.OLEDB.12.0;" & _
  2.         "Data Source=" & zstrdatadirectory & _
  3.         "; Extended Properties=""text;HDR=Yes;FMT=Delimited(,)"";"
Jul 22 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: =?Utf-8?B?T2xpdmllciBNQVRST1Q=?= | last post by:
I'm trying to run an ASP.NET 2.0 web site on Windows Server 2008 RC1. I encounter a server error : HTTP 500.19 - Configuration data is invalid IIS7 claims that the <appSettingssection in web.config...
2
by: Odd B Andersen | last post by:
Does DB2 support Windows Server 2008? In the Information Center for 9.5 I only find mentioned Windows Server 2003 and Windows Vista. -- Regards Odd Bjørn Andersen ErgoGroup AS
1
by: GatorDBA | last post by:
Hey Folks, Experiencing strange problem with SQL 2005 running on Windows Server 2008. When trying to connect via named pipes or tcp, it takes 25-45 seconds for the connection to be established....
1
by: =?Utf-8?B?bWFzYWtpeQ==?= | last post by:
Hello, I'm trying to develop 32-bit Windows Native C/C++ application using Visual Studio 2008, on 64-bit Windows Server 2008. Q1. Is it possible to develop 32-bit C/C++ application using VS 2008...
2
by: Michael Richard | last post by:
Hi, I need a help from you. I'm writing device driver for 64 bit Windows Server 2008. I have code for 32 bit Windows Server 2008, its working fine on 32 bit. I need a help to port from 32 bit...
1
by: JDeats | last post by:
It's been a few years since I worked with transaction based components, last time I was involved in an enterprise project requiring transactions my .NET .DLLs were dervived from ServicedComponent...
0
by: Fernan MC | last post by:
Hi, I am making a program using vb 2005 and using list and label 12 for the reports. I compiled the program and installed it in windows server 2008 but unfortunately the list and label will not...
1
by: =?Utf-8?B?QW50amU=?= | last post by:
I need product keys for Terminal Server Windows Server 2008 access (CALs) under MSDN - TSLM Service said they cannot provide product keys for the access.
0
by: Bhavesh Patel | last post by:
hi we have installed virtual sound driver in windows server 2008, but still not play our voice files in windows server 2008, we havn't physical audio device in our server. anybudy have idea for...
8
by: Mangala Amargol | last post by:
For example,runnig "ipconfig" command through perl script and printing it on web browser. my $cmd = "ipconfig"; my $output = `$cmd`; print $output; Above code works fine in Windows Server...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.