PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

ASP.NET 64 bit compilation

 
 
Amit Bansal
Guest
Posts: n/a
 
      6th Jul 2010
Hi Friends,

I have an ASP.NET 2.0 32 bit application. In the VS 2005 solution, there are
3 class library projects and 1 web site/web project. I changed the target
environment to x64 and complied the class library to 64 bit. I cross
verified with CORFLAGS and the dlls are PE32+. When I compile or publish the
web site/web project which references the 64 bit dlls, I get the following
error:

"Could not load file or assembly 'Name' or one of its dependencies. An
attempt was made to load a program with an incorrect format."

1. How can I compile the entire solution in 64 bit?
2. What if I deploy the 32 bit compilation on a 64 bit environment (Win 2k8
R2), will it run in 64 bit by default?
3. Can I change the ASP.NET mode in IIS to only run in 64 bit?
4. I am using the Publish option to pre-compile the entire web site before
deploying.

In a nut shell, I want to run my 32 bit app (managed code) in true 64 bit
environment (no WOW).

Kindly assist as its very urgent.

Regards
Amit


 
Reply With Quote
 
 
 
 
Alpa Ved
Guest
Posts: n/a
 
      12th Nov 2010
Hi Amit,

We are facing exactly the same issue that you mentioned in this post. Did you get a solution for this? Any help on this is highly appreciated, we need to resolve this at the earliest.

Thanks in advance!

Alpa Ved

> On Tuesday, July 06, 2010 6:41 PM Amit Bansal wrote:


> Hi Friends,
>
> I have an ASP.NET 2.0 32 bit application. In the VS 2005 solution, there are
> 3 class library projects and 1 web site/web project. I changed the target
> environment to x64 and complied the class library to 64 bit. I cross
> verified with CORFLAGS and the dlls are PE32+. When I compile or publish the
> web site/web project which references the 64 bit dlls, I get the following
> error:
>
> "Could not load file or assembly 'Name' or one of its dependencies. An
> attempt was made to load a program with an incorrect format."
>
> 1. How can I compile the entire solution in 64 bit?
> 2. What if I deploy the 32 bit compilation on a 64 bit environment (Win 2k8
> R2), will it run in 64 bit by default?
> 3. Can I change the ASP.NET mode in IIS to only run in 64 bit?
> 4. I am using the Publish option to pre-compile the entire web site before
> deploying.
>
> In a nut shell, I want to run my 32 bit app (managed code) in true 64 bit
> environment (no WOW).
>
> Kindly assist as its very urgent.
>
> Regards
> Amit



> Submitted via EggHeadCafe
> Fill out blank PDF form online and stream to browser with iTextSharp
> http://www.eggheadcafe.com/tutorials...textsharp.aspx

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XNA Compilation =?Utf-8?B?UmV1YmVu?= Microsoft C# .NET 1 17th Aug 2007 12:46 PM
Compilation in dot NET yahoo Microsoft VB .NET 3 24th Oct 2006 03:05 PM
How do you get a dll to see another dll in compilation? JimO Microsoft ASP .NET 6 26th May 2006 01:27 AM
Compilation? =?Utf-8?B?S2FtaWwgRHVyc3Vu?= Microsoft Access 2 18th Aug 2004 08:44 PM
Compilation Dave Microsoft C# .NET 2 29th Mar 2004 07:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:24 AM.