build website as x86 application

D

duancg

Hi,

I created a "WebSite" using VS2005 on a x64 machine, the aspx/cs code
connect to an MS Access database to read/write data. Everything seems
fine in IDE, but when I deploy to the IIS on the same x64 machine and
visit the web page, it show the following error:

The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the
local machine.

I did some research and the error seems caused by missing the x64
version of Jet 4.0 driver. (or at least IIS doesn't know how to find
it).

I also saw people using the compile options in VS2005 to compile their
C# project as an x86 application to workaround the problem (through
project -> properties -> build -> target platform -> x86), but I can
not seem to find a similar dialog for my "WebSite" project.

I just want website to run on my IIS. Any help is appreciated!

duancg
 
D

duancg

Hi Milosz,

Thanks for your response! I tried that trick, but it seems only work
for a "Project", not a "Website". I am not sure, but I think they are
two different types of "solutions" created in VS, and they have
different menu options. For a "Website", there is no 'project' menu
(obviously :) ), and I couldn't find where to specify to run it as x86
application.

duancg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top