473,394 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

how to generate (and run) 32-bit App_code.dll

I'm trying to deploy 32-bit web app to 64 bit environment; the app
(web service) is deployed as precompiled app - App_Code.dll generated
etc.

The problem is I cannot find a way of generating 32-bit version of
App_Code.dll. While "normal" projects have a property Platform Target
resulting in a compiled assembly's manifest option set to .corflags
0x00000003 // ILONLY 32BITREQUIRED the web projects have no such
an option (neither aspnet_compiler does).

I tried to set the option manually (using corflags) AFTER publishing
the web app BUT this way I probably need to regenerate .compiled files
- any clue how to do this?

Does anyone know how to publish 32 bit web app? Or how to
regenerate .compiled files?
Sep 8 '08 #1
1 2510
roberto wrote:
I'm trying to deploy 32-bit web app to 64 bit environment; the app
(web service) is deployed as precompiled app - App_Code.dll generated
etc.

The problem is I cannot find a way of generating 32-bit version of
App_Code.dll. While "normal" projects have a property Platform Target
resulting in a compiled assembly's manifest option set to .corflags
0x00000003 // ILONLY 32BITREQUIRED the web projects have no such
an option (neither aspnet_compiler does).

I tried to set the option manually (using corflags) AFTER publishing
the web app BUT this way I probably need to regenerate .compiled files
- any clue how to do this?

Does anyone know how to publish 32 bit web app? Or how to
regenerate .compiled files?
In fact, you should not limit your DLL to any special Platform in 64 bit
system in Webapp.

Note that Donte Webapp is running into the IIS. In fact, the IIS
completely controls 32 or 64 bit code in running.

That mean , when IIS is running in 64bit mode. All the Webapp (the DLLs)
must be also 64 bit. No 32 bit DLL can be loaded into 64bit mode IIS.

When IIS is running in 32bit mode (IIS in 64bit OS can be set to run in
32 bit mode,
http://support.microsoft.com/default...;en-us;894435), then
all the DLLs must be 32bit.

For pure Dotnet2 webapp which are made by C#/VB.net, the DLL can be used
in both 32bit and 64 bit mode.

--
Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk
Sep 9 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Phil | last post by:
I am using MySQL 4.1.1-1. When I add a "named" foreign key constraint alter table sb_query_nm_sub_tp add constraint f1sbquerynmsubtp foreign key (query_nm) references sb_query_class...
8
by: Thomas Stegen | last post by:
I have written a code generator. To be more specific it is a code generator generator. As in a generator that generates code generators. If you run the generator on its own source code you get a...
18
by: Toby Newman | last post by:
I need to randomly choose one of four paths in my program. Using the tools I know, the best way I can think to do it is by doing something like the following: //==============================...
2
by: pefter | last post by:
I have a bunch of source files with lots of entangled function calls. I'm looking for some graphical tool to generate a 'call tree' to get an overview of the hierarchy of the function calls. ...
26
by: John Grandy | last post by:
Is it possible to generate a 20 byte integer from a GUID that is "unique enough" ( just like a GUID is not truly unique , but is "unique enough" ). We identify transactions with GUIDs , but a...
18
by: Randell D. | last post by:
Folks, This must get asked reasonably often however I've had tried viewing groups.google.com and the apache/php web pages and not found a specific answer. Basically, is Apache 2 officially...
2
by: totoro2468 | last post by:
Here is my code and output. Why is it writing to the array incorrectly, when I rewinded the file to the beginning? CODE: void ReadString (char *filename, int *lengthPtr) { FILE *ifp; char...
4
by: =?utf-8?B?5Lq66KiA6JC95pel5piv5aSp5rav77yM5pyb5p6B | last post by:
How to generate a continuous string, like this "aaaaaaaaaaaaaaaaaaaaaaa" the number of characters is dynamic. Is there a module or function implement this string ? such as: duplicate_string(char,...
2
by: Zenoba | last post by:
I have to generate numbers from 0 to 32. i did it using a for loop and it worked. i used printf to display the numbers. it was good n was displayed correctly. but i have to store the numbers in an...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.