Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Visual Studio 2013 Ultimate C# winforms application

Posted on 2014-03-06
4
Medium Priority
?
886 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

705 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