Solved

32bit and 64 bit dll together

Posted on 2013-06-18
6
273 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 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