Solved

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

Posted on 2014-03-31
10
513 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 41

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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 guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Viewers will learn how to use the Hootsuite Dashboard.

776 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