Solved

Visual Studio 2013 Ultimate C# winforms application

Posted on 2014-03-06
4
866 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
  • 2
  • 2
4 Comments
 
LVL 74

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 74

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now