Solved

Visual Studio 2013 Ultimate C# winforms application

Posted on 2014-03-06
4
881 Views
Last Modified: 2014-03-10
I have created and complied a C# application using Visual Studio 2013 Ultimate. When I try and run the app I get an error "is not a valid Win32 application"

The system I am trying to run it on has Windows Server 2003 Standard edition Version 5.2 SP2.
0
Comment
Question by:Idarac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39911067
What version of .NET is your application targeting? It appears that .NET 4.5--which I think is what VS 2013 projects default to--can not be installed on Server 2003. You might try downgrading the .NET version you are targeting. If you do, make sure you have that version of .NET installed on the server.

Just out of curiosity:  Why would you be designing a WinForms app to run on a server?
0
 
LVL 1

Author Comment

by:Idarac
ID: 39911095
OK thanx

Yes I am targeting 4.5. What version can I use ? 4.0?

I have created a small demo for a client and they have provided a spot for me to install it so that their group can connect and run it and see what it looks like.
0
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 39911103
By the link I posted previously, it appears that 4.0 should work. However, I know that 4.5 overwrote some of 4.0's files, so you may still encounter problems. If so, you might try going down to 3.5 or 3.0.
0
 
LVL 1

Author Closing Comment

by:Idarac
ID: 39918689
I went down to 3.5 and that solved it.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

617 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