Solved

32bit and 64 bit dll together

Posted on 2013-06-18
6
272 Views
Last Modified: 2013-09-20
Hi

i have 32 bit dll reference in my project and my project is targetting to 64 bit,  if i deploy this on IIS 7 on Windows server 2008 R2 , while i try to browse these  i am getting could not load assembly error.

so, could you please guide me how to solve this error, but here i don't want to target anyCpu.
0
Comment
Question by:praveen1981
  • 3
  • 2
6 Comments
 
LVL 21

Expert Comment

by:Craig Wagner
ID: 39257920
In the application pool there is a setting to enable 32-bit applications. Try setting that to true and see if it solves your problem.
0
 

Author Comment

by:praveen1981
ID: 39258349
Hi

If i set enable 32-bit applications to true,  it is allowing only 32 bit dlls, but not 64 bit dlls, but i have both dlls in my project, is it possible to run 32 bit and 64 bit process at same time

Please suggest
0
 
LVL 21

Expert Comment

by:Craig Wagner
ID: 39258405
Are you sure about that or are you speculating? Put another way, did you actually try it? I was pretty sure we had both running inside a single process in our application but I could be mistaken.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Expert Comment

by:jiangsheng
ID: 39260535
you can't load 32 bit code in a 64 bit process or load 64 bit code in 32 bit process.

You have to split your project into two applications that will be ran in different application pools, one x86 and one x64. Use any interprocess-communication (WCF, web services, socket, named pipe etc) to communicate between application pools.
0
 

Accepted Solution

by:
praveen1981 earned 0 total points
ID: 39277220
Hi

i set enable 32-bit applications to false , then it started working fine.
0
 

Author Closing Comment

by:praveen1981
ID: 39508586
working fine.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now