Solved

%AppName% is not a valid Win32 application - Windows 2008 Server

Posted on 2014-03-31
10
505 Views
Last Modified: 2014-05-10
I move the application and supporting files by pasting them on to the server. No installation software was run. When I try to execute the application I get this error:
%AppName% is not a valid Win32 application

I have seen this before and solved the problem by installing. Although pasting of a newer version occasionally returns the same error.

Mark
0
Comment
Question by:etsellinc
10 Comments
 
LVL 2

Expert Comment

by:Jorge Ocampo
ID: 39966902
Can you provide a bit more information on the application?
0
 

Author Comment

by:etsellinc
ID: 39966958
The application is a VB.Net 32 bit build of a custom application.

It works fine on my machine.

Mark
0
 

Author Comment

by:etsellinc
ID: 39967146
Update: The application works fine on Windows Server 2003 and Windows Server R-2008 Standard Edition.

The problem server is Windows 2008 Enterprise Edition. I get the same response whether I run the application as Administrator or as me.
0
 
LVL 41

Expert Comment

by:pcelba
ID: 40029932
Does the EXE file properties dialog show "Unblock" button?

Did you install the right .NET Framework on the server?
0
[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

 
LVL 32

Expert Comment

by:phoffric
ID: 40030084
Just a WAG - do you need to add environment variables, or add new folders to your PATH?
0
 

Author Comment

by:etsellinc
ID: 40030104
On the properties of the application there is no "Unblock" button. I've seen this before and that is not the problem.

I do not believe that a double click on the EXE directly should require any environmental variables.

Thanks,
Mark
0
 

Author Comment

by:etsellinc
ID: 40030138
It seems that we had a problem with .NET framework 3.5. Looks like I may have it working now. The framework 3.5 was installed in 2010. Don't know if that has anything to do with the problem.
0
 

Accepted Solution

by:
etsellinc earned 0 total points
ID: 40042302
Finally got the program to work. Had a setting incorrectly set. Removed the "Click Once" feature and the application compiled properly.

Thanks for any assistance provided.

Mark
0
 

Author Closing Comment

by:etsellinc
ID: 40055650
Finally got the program to work. Had a setting incorrectly set. Removed the "Click Once" feature and the application compiled properly.

Thanks for any assistance provided.

Mark
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

911 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

22 Experts available now in Live!

Get 1:1 Help Now