Solved

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

Posted on 2014-04-24
5
430 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 31

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 31

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 31

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video teaches viewers about errors in exception handling.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

739 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