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
Solved

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

Posted on 2014-03-31
10
517 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 42

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
 
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

If you don't know how to downgrade, my instructions below should be helpful.
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

840 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