Is my web server 32bit .net or 64bit .net?

If I want to call some .net library to find out what version of .net I'm running, any suggestions on which call to make?


Peter Kellner
http://73rdstreet.com and blogging at
http://PeterKellner.net
MVP, ASP.NET
0
pkellner
3/10/2008 8:48:33 PM
asp.net.config-deploy 12495 articles. 0 followers. Follow

4 Replies
865 Views

Similar Articles

[PageSpeed] 40

Hi,

Would this work for you: http://www.hanselman.com/blog/ProgrammaticallyDetermineWhatVersionOfASPNETYoureRunning.aspx




Don't forget to click "Mark as Answer" on the post that helped you.
0
amensi
3/10/2008 8:54:37 PM

this post does not tell me 32 or 64.


Peter Kellner
http://73rdstreet.com and blogging at
http://PeterKellner.net
MVP, ASP.NET
0
pkellner
3/10/2008 9:44:56 PM

I don't know of any assembly that will tell you that. All i can tell you is that the 64bit framework install in this folder : %SYSTEMROOT%\Microsoft.NET\Framework64\v2.0.50727

Also found this: http://msdn2.microsoft.com/en-us/library/ms684139(VS.85).aspx // http://msdn2.microsoft.com/en-us/library/ms724340(VS.85).aspx

Hope it helps




Don't forget to click "Mark as Answer" on the post that helped you.
0
amensi
3/10/2008 9:59:22 PM

Hi Peter,

Based on my understanding, you want to know the .net application is running in 32-bit mode or 64-bit mode. If I have misunderstood your concern, please let me know.

For this scenario, you can query the "SYSTEM_INFO" by P/Invoke. Actually Kevin Jones (vcsjones) has shared the code for this purpose in the following thread. Please check it at your convenientce.

32 bit or 64 bit OS?
http://forums.asp.net/t/1112442.aspx


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.
0
Benson
3/14/2008 8:17:52 AM
Reply:

Similar Artilces:

Net:Net:Net::LDAP::FAQ
------_=_NextPart_001_01C6429F.D89AA417 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, Net::LDAP Net::LDAPS Is there a possible to LDAP bind with an encrypted (SHA, SSHA, CRYPT, ....) password? I don't like to write the secret password to the perl file. Best regards Barbara Wilbert ------_=_NextPart_001_01C6429F.D89AA417-- Wilbert Barbara (CI/OSI) * wrote: > Hello, > > Net::LDAP > Net::LDAPS > > Is there a possible to LDAP bind with an encrypted (SHA, SSHA, CRYPT, > ......

Develop in .NET 3.5...Deploy on .NET 3.0...Assembly strong name issue in web.config
Hi. I develop locally using web developer express 2008. I have .NET 3.5 installed on the development machine.I am trying to deploy to a Windows Server 2003 machine running.NET 3.0.Not surprisingly, I get an error about the strong assembly names referenced all over my web.config when I try to access the site on the production server.I don't think any of my code truly relies on .NET 3.5--it should all be compatible with the 3.0 framework.Here's my error message:Parser Error Message: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77...

System.NET.Mail cannot communicate to relay server through my .net server relay config
Environment: My PC – I’m testing the code from ServerA in debug mode using VS 2005 ServerA – my .Net Code server in which the code I’m testing resides and is running .NET version 2.0.50727 ServerB – An exchange server on our network   Problem & Info: I get this error no matter if I specify the exchange servername or my .net servername.  I want to use ServerB as the relay server in my System.NET.Mail but when I try that or try just using ServerA’s plain SMTP.  I've used the exchange server fine in other applications from other servers for my code so not sure why it'...

[PATCH lib/Net/Config.pm, MANIFEST, t/lib/Mock/Socket.pm, lib/Net/Config.t] Add Tests for Net::Config
Here's a test suite for Net::Config. In the process of writing this, I've fixed an apparent bug that prevented single values from becoming array references when necessary. I think it's right, but perhaps Graham should weigh in on this. In the process, with some advice from perl-qa, I've added a mock object so the test could control the output of Socket::inet_ntoa() and Socket::inet_aton(). t/lib/Mock/ seemed like as good a place as any. I'm happy to rework this patch if it personally offends anyone whose opinion matters. :) -- c --- lib/Net/~Config.pm S...

After migration from .Net 1.1 to .Net 3.5 do I have to incorporate new web.config settings in old *.config file
Hi,I have successfully migrated web application from .Net 1.1 to .Net 3.5. Could you let me know whether I have to incorporate setting in new web.config (this new web.config file was generated automatically due to migration) into old *.config file?FYI: Old *.config file contains all application level settings required. So I will continue to use old.config file by removing new web.config file. Settings which are in new web.config file are:<configSections><sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup,...

Migration from .net 1.1 to .net 2.0 and deployed in server: error "Server Application Unavilable"
Hi, I have upgraded one .net 1.1 application to .net 2.0. though locally the application is running fine, when deployed in the server it is giving the following error : Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused thi...

Can we deploy a .net 1.1 app to a .net 2.0 server?
Hi, We have been hosting an app on a server that has ASP and ASP.net 1.1 support.  We are now moving to an ISP that has ASP, ASP.net 1.1 and ASP.Net 2.0 plans.  We will soon migrate the development environment to VS 2005.  However, today we use VS 2003.  My question is can we initially deply to a server that has .net 2.0 support?  Are the 2.0 libs fully backward compatible? jerry    You can deploy a 1.1 app to a server runnuing both 1.1 and 2.0 by setting the framework version for the application on the server.  You can deploy many (bu...

Visual Studio .NET cannot create or open the application. The likeliest problem is that required components are not installed on the local Web server. Run Visual Studio .NET setup and add the Web Deve
I installed Visual Studio .NET 2003 on Windows Vista Home Premuim, but I'm unable to select "Web Development" item from "Server Components" during the installation. I installed all the pre-requisits but I can not see Front Page Server Extention in the programs. I can see also the IIS. Appreciate if any one can guide me with the solution.   Thanks.   FPSE is not included with Vista, it's a separate download.  See www.iis.net for this. JeffPlease: Don't forget to click "Mark as Answer" on the post that helped you. Tha...

setup AP.NET membership database & web.config in .NET 3.5?
 A long time ago I setup an ASP.NET security database using aspnet_regsql.exe. I noticed this utility doesn't ship with .NET 3.5. Can anyone direct me to a writeup of how to create the security database and modify the web.config for membership? Thanks! Michael  Hello Michael, You still use the .net framework version 2 version of aspnet_regsql.exe in something like C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727As I understand it ver 3.5 is just adding new features onto the version 2 framework but mostly asp.net is just the same. Hope it helps JeremyRegardsJeremyIf ...

Bad web.config in AJAX.NET 1.0 under .NET 2.0 Express
My setup is MS.NET v2.0 with the C# and Web Express editions of 2005. I also installed the AJAX 1.0 release with the respective toolkit as indicated in the AJAX.NET site. However, when I create a new project I am presented with the usual bare bones default.aspx and the web.config. However the web.config shows a lot of warnings and errors.One of them was being that the "requiredPermission" (or something like that) attribute was not recognized. Somewhere on the net there is a post of a correction to the DotNetConfig.xsd schema file in VS.2005 so I used it and it got rid of THAT warning.&n...

How to call a .net web service from another .net web service?
Hi all,I have developed two asp .net web services using visual studio .net 2003.I wish to call one web service from another web service.I tried adding a web reference of the web service in another web service and was able to do so.but i m not able to access the web methods provided by the web servicecould you please suggest a way to go about itExpecting quick replyThanxCharmy try to make sure that you reference it in the web reference and call it properly this is sample  [WebMethod()] public double CalcDistance(int x1, int y1, int x2, int y2) { Calculator.Service1 calc = new...

To .NET or not .NET, that is the question
I'm running WinXP pro 32-bit, meaning I've got the version 1-dot-something of .NET that XP came with. I've been looking for various softwares, and more and more often come across .NET version 2 being prerequisite. No urgency for me re. my questions to this group - so far I have just decided to hit the red X on those download pages - but the desire for this newer version of .NET seems to be growing for me. Firstly, according to my (limited) research, newer .NET versions are inclusive of the previous ones, and the current version seems to be 3.5. So if I go for i...

net send in .net
Hi,  I am trying to execute net send comman in my vb.net code. But I am getting "win32 exception unhandled error". Please help me. My code is:Dim psi As New ProcessStartInfo() psi.UseShellExecute = False psi.FileName = "Net send" 'xxx.xxx.xx.xx  - IP address of a system in my network psi.Arguments = "xxx.xxx.xx.xx test" Process.Start(psi)  Thanks in advance! Shwetha Tryu changing   psi.FileName = "Net send" 'xxx.xxx.xx.xx  - IP address of a system in my network psi.Arguments = "xxx.xxx.xx.xx test&quo...

Net Farmers net
Has anyone been able to access any of the tests at http://suicide.netfarmers.net ? I can get the default page but none of the tests appear to be operating over the last several weeks. -- CK I just tested and works as usual!!!Every session TCP_error,because my Shields_guard is intact<<G>> -- Regard: Joh@nnes� 1216771 Ont.Inc. "Nothing is more damaging to a new truth than an old error" "CK" <ckphalon@lascenltd.com> wrote in message news:9i45gg$1qa9$1@news.grc.com... : Has anyone been able to access any of the tests at : http://suicide...

Web resources about - Is my web server 32bit .net or 64bit .net? - asp.net.config-deploy

Server farm - Wikipedia, the free encyclopedia
A server farm or server cluster is a collection of computer servers usually maintained by an enterprise to accomplish server needs far beyond ...

Turkey internet servers under sustained cyber attack: internet body
Turkish internet servers have suffered one of the most intense cyberattacks ever seen in the country over the past week, raising fears Ankara ...

Intel’s 2nd-gen Compute Stick is a faster, better iTunes media server
One year after introducing the original Compute Stick, a version of which was featured in our guide to building a $150 iTunes media server , ...

Facebook's LiveRail Exits the Ad Server Business
Facebook's publisher-facing ad-tech arm LiveRail is shutting down the ad server business that you might not have known it operated. Known best ...

Cock.li e-mail server seized by German authorities, admin announces
(credit: Vincent Canfield ) In a new video statement posted on Monday, the administrator of novelty e-mail provider cock.li announced that one ...

Intel: Deutsche Bank Models Altera Contribution to Server Biz
Shares of Intel ( INTC ) are down 35 cents, or 1%, at $34.63, after the company this morning announced the formal closing of its $17 billion ...

Amazon deal: Save $85 on this Sony portable wireless server
Smartphones' memory storage gets filled so quickly these days thanks to photos, videos and more, so get yourself a handy portable wireless server ...

Windows 10 automatically uploads encryption keys to Microsoft servers - Business Insider Deutschland
Securing your data is tough. Jan Kaláb/Flickr (CC) Microsoft backs up users' encryption keys to its servers, The Intercept's Micah Lee reports ...

8 quirky emails from Hillary Clinton's private server
The latest State Department release includes emails on limo ride flow charts, jury duty advice, and the "Texts from Hillary" viral photo

Cyber Expert: Hillary’s Server Was A Huge Security Risk
Cyber Expert: Hillary’s Server Was A Huge Security Risk

Resources last updated: 1/11/2016 2:20:02 AM