etsellinc
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
%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
Can you provide a bit more information on the application?
ASKER
The application is a VB.Net 32 bit build of a custom application.
It works fine on my machine.
Mark
It works fine on my machine.
Mark
ASKER
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.
The problem server is Windows 2008 Enterprise Edition. I get the same response whether I run the application as Administrator or as me.
Does the EXE file properties dialog show "Unblock" button?
Did you install the right .NET Framework on the server?
Did you install the right .NET Framework on the server?
Just a WAG - do you need to add environment variables, or add new folders to your PATH?
ASKER
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
I do not believe that a double click on the EXE directly should require any environmental variables.
Thanks,
Mark
ASKER
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
Thanks for any assistance provided.
Mark