asp 64bit question

  • Thread starter Thread starter GaryDean
  • Start date Start date
G

GaryDean

I recently transferred a web project from my 32 bit computer running
server2003 to my 64bit Vista Ultimate computer. Of course all of my dlls,
etc are 32 bit but everything ran fine on the new computer. I supposed this
was due to the magic of WoW64. However I did find one dll that would not
run. The vendor told me that it was because I was running on a 64 bit
machine and that their dll was a 32 bit dll.

So, why did all the other dlls run fine and not this specific one.
(websupergoo ABCDpdf).
 
..NET assemblies are compiled down to bytecode, which means they are not 32
bit specific, even when compiled there. This may not be true as a blanket
statement, of course, but it works for most everything.

The vendor DLL is one of two types:

1. Native 32-bit DLL
2. .NET DLL run through ngen for 32bit

It is most likely #1. In the COM world, 32-bit versus 64-bit matters. In the
..NET world it should not.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

********************************************
| Think outside the box! |
********************************************
 
Is it a COM interop assembly?
I recently transferred a web project from my 32 bit computer running
server2003 to my 64bit Vista Ultimate computer. Of course all of my
dlls, etc are 32 bit but everything ran fine on the new computer. I
supposed this was due to the magic of WoW64. However I did find one
dll that would not run. The vendor told me that it was because I was
running on a 64 bit machine and that their dll was a 32 bit dll.

So, why did all the other dlls run fine and not this specific one.
(websupergoo ABCDpdf).



--
 
Thanks for Gregory and erwien's input.

I also think that the problem is related to whether the dll is a pure
managed one. Also, though .NET assembly(compiled with any platform target)
can auto adapted to 32bit and 64 bit platform, for ASP.NET it is a bit
particular. Because it rely on IIS server, while IIS server(or a single
virtual application dir) can only be configured to run under a single
mode(32 or 64 ) at a time. It is configured via "enable32BitAppOnWin64 "
flag, I think we also need to make sure how to the IIS virtual dir is
configured currently so as to confirm whether the ASP.NET is running in
pure 64 bit mode or 32 bit mode via WOW. Then, we can go further to
analyize the problem dll(which not work).

#IIS7 - Running 32-bit and 64-bit ASP.NET versions at the same time on
different worker processes
http://blogs.msdn.com/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-
bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx

Sincerely,

Steven Cheng
Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Gary,

Have you got any progress on this issue?

Sincerely,

Steven Cheng
Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

--------------------
 
Back
Top