Solved

32bit and 64 bit dll together

Posted on 2013-06-18
6
271 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 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

22 Experts available now in Live!

Get 1:1 Help Now