• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 580
  • Last Modified:

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

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
etsellinc
Asked:
etsellinc
1 Solution
 
Jorge OcampoCommented:
Can you provide a bit more information on the application?
0
 
etsellincAuthor Commented:
The application is a VB.Net 32 bit build of a custom application.

It works fine on my machine.

Mark
0
 
etsellincAuthor Commented:
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
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
pcelbaCommented:
Does the EXE file properties dialog show "Unblock" button?

Did you install the right .NET Framework on the server?
0
 
phoffricCommented:
Just a WAG - do you need to add environment variables, or add new folders to your PATH?
0
 
etsellincAuthor Commented:
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
 
etsellincAuthor Commented:
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
 
etsellincAuthor Commented:
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
 
etsellincAuthor Commented:
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now