Link to home
Start Free TrialLog in
Avatar of etsellinc
etsellincFlag for United States of America

asked on

%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
Avatar of Jorge Ocampo
Jorge Ocampo
Flag of United States of America image

Can you provide a bit more information on the application?
Avatar of etsellinc

ASKER

The application is a VB.Net 32 bit build of a custom application.

It works fine on my machine.

Mark
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.
Avatar of Pavel Celba
Does the EXE file properties dialog show "Unblock" button?

Did you install the right .NET Framework on the server?
Avatar of phoffric
phoffric

Just a WAG - do you need to add environment variables, or add new folders to your PATH?
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
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.
ASKER CERTIFIED SOLUTION
Avatar of etsellinc
etsellinc
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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