• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 717
  • 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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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