Solved

64 bit service loaded from Program Files (x86), 32 bit or 64 bit?

Posted on 2014-04-24
5
406 Views
Last Modified: 2014-04-24
I have a service running on a 2003 64 bit server that loads from the Program Files (x86) folder. This folder is where 32 bit programs are usually loaded. In task manager the service shows up as XXXXXservice.exe with out the *32 following.

Is it running 32 or 64 bit and if it is running 32 bit if I uninstall and reinstall in Program Files will it run as 64 bit?
0
Comment
Question by:jimmylew52
  • 3
  • 2
5 Comments
 
LVL 30

Expert Comment

by:Zoppo
ID: 40020148
Hi jimmylew52,

if the EXE isn't marked as *32 it sure is a 64-bit process. It makes no difference in which folder the file is located on the harddisk, generally it's of course possible to put 32 bit programs in 'C:\Program Files\ and 64 bit programs in 'C:\Program Files (x86)'.

ZOPPO
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 40020240
Any idea why when I run

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -i -enable

I get this?

The error indicates that IIS is in 64 bit mode, while this application is a 32 b
it application and thus not compatible.

As best I can tell IIS is running in 64 bit mode and the application files will support both 32 and 64 bit modes.
0
 
LVL 30

Accepted Solution

by:
Zoppo earned 500 total points
ID: 40020252
I guess you use the wrong aspnet_regiis which is 32 bit in C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319 - try to start the same from C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319

Hope this helps,

ZOPPO
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 40020319
That would be the problem. Thank you
0
 
LVL 30

Expert Comment

by:Zoppo
ID: 40020333
You're welcome - I'm glad I could help ...

Have a nice day,

best regards,

ZOPPO
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

746 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

10 Experts available now in Live!

Get 1:1 Help Now